Get started with UpTrain in a few simple steps
Install UpTrain
Import required libraries
Create your data
question
: The question you want to askcontext
: The context relevant to the questionresponse
: The response to the questionRun Evaluations
EvalLLM
class and pass your OpenAI API key to the constructor.Evaluate your data
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 dataGet your results