AI LLM as Judge Policy

Configure the AI LLM as Judge policy

Evaluate responses by assigning a correctness score for AI-assisted learning and assessment.

Prerequisites

  • You have a working OpenAI API key.

  • An existing AI Model.

Environment variables

  • OPENAI_API_KEY: Your OpenAI API key

Set up the policy

Attach the policy

Help us make these docs great!

Kong Developer docs are open source. If you find these useful and want to make them better, contribute today!