How will this help?
They offer API endpoints for models like Llama-2, Mistral-7B, CodeLlama, and more. You can use these endpoints to evaluate the performance of these models using UpTrain. Before we start you will need an Together AI API key. You can get it hereHow to integrate?
First, let’s import the necessary packages and define Together AI API KeyRemember to add “together/” at the beginning of the model name to let UpTrain know that you are using a Together AI model.
- Context Relevance: Since the context has information on the most popular sport globally, UpTrain has rated the context to be relevant to the question.
- Factual Accuracy: Since the facts mentioned in the response are grounded to the context, UpTrain has rated the response as factually accurate.