Upload logs
Learn how to upload logs to Latitude and start evaluating your production systems.
Upload logs to Latitude
Most users use Latitude’s SDK to run their prompts via Latitude’s AI Gateway. However, if you’re using a different method to run your prompts, you can still upload logs to Latitude and evalute them in order to assess the quality of your outputs.
Upload logs from Latitude’s Dashboard
Navigate to your prompt’s logs section and click on the Upload logs button. The following screen will appear:
You can upload a list of logs in a single csv file. The CSV file should be a single column csv where each row is a log, i.e a user-assitant interaction. Here’s an example of a valid CSV file:
Logs follow OpenAI’s format. If you’re using a different method to run your prompts, you’ll need to format your logs accordingly.
Once you’ve uploaded your logs, they will quickly appear in your prompt’s logs section.
Evaluating uploaded logs
To evaluate your uploaded logs, make sure to first create and connect an evaluation to your prompt. Also, make sure the evaluation is configured to evaluate live logs.
Once you’ve correctly configured your evaluation, just upload your logs as described above and they will be automatically evaluated in real time.
Upload logs from the SDK
You can push logs to Latitude with Latitude’s SDK. Check out Latitude’ SDK log
method.