1
Create a Python file
accuracy_with_given_answer.py
2
Set up your virtual environment
3
Install dependencies
4
Export your OpenAI API key
5
Run Agent
Example showing how to evaluate a precomputed answer directly with AccuracyEval.run_with_output(), without running an Agent.
Create a Python file
Set up your virtual environment
Install dependencies
Export your OpenAI API key
Run Agent