Create your data
You can define your data as a simple dictionary with the following keys:
question: The question you want to askcontext: The context relevant to the questionresponse: The response to the question
Run Evaluations
Create an instance of the
EvalLLM class and pass your OpenAI API key to the constructor.You can find your OpenAI API key here.
Evaluate your data
Now that we have our data, we can evaluate it using UpTrain. We use the
evaluate method to do this. This method takes the following arguments:data: The data you want to evaluate uponevals: The evaluations you want to perform on your data

