Skip to main content
Helicone helps you understand how your application is performing with its monitoring tools. We will walk you through the use of Helicone for monitoring and log your UpTrain evaluations in Helicone Dashboards

How to integrate?

Prerequisites

1

Define Your OpenAI and Helicone Key

You can get your Helicone API key here and OpenAI API key here
2

Define OpenAI client

3

Let's define our dataset

4

Define your prompt

5

Define funtion to generate responses

6

Define UpTrain Function to run Evaluations

We have used the following 5 metrics from UpTrain’s library:
  1. Response Conciseness: Evaluates how concise the generated response is or if it has any additional irrelevant information for the question asked.
  2. Factual Accuracy: Evaluates whether the response generated is factually correct and grounded by the provided context.
  3. Context Utilization: Evaluates how complete the generated response is for the question specified given the information provided in the context. Also known as Reponse Completeness wrt context
  4. Response Relevance: Evaluates how relevant the generated response was to the question specified.
Each score has a value between 0 and 1.You can look at the complete list of UpTrain’s supported metrics here
7

Run the evaluations and log the data to Helicone t

Visualize Results in Helicone Dashboards

You can log into Helicone Dashoards to observe your LLM applications over cost, tokens, latency
You can also look at individual records

Tutorial

Open this tutorial in GitHub

Have Questions?

Join our community for any questions or requests