Install UpTrain
Create your data
question
: The question you want to askcontext
: The context relevant to the questionresponse
: The response to the question
Enter your OPENAI API Key
Create an EvalLLM Evaluator
Evaluate data using UpTrain
evaluate
method to do this. This method takes the following arguments:data
: The data you want to log and evaluatechecks
: The evaluations you want to perform on your data
Print the results