A tool for evaluating LLM responses using another LLM as a judge.
python main.py --model gpt-4 --judge gpt-4o-mini --reasoning --num-times 10 --scale 5 --temperature 0.5--model: Model to evaluate (default: gpt-4)--judge: Model to use as judge (default: gpt-4o-mini)--num-times: Number of judgments (default: 10)--scale: Maximum score (default: 5)--reasoning: Include reasoning in judgment (default: False)--temperature: Temperature for API calls (default: 0.5)
- Python 3.7+
- OpenAI API key
- Put your OpenAI API key in a file called
.envin the root directory, something like this:OPENAI_API_KEY=sk-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
- If you don't have an OpenAI API key, you can get one here.
- Put your OpenAI API key in a file called