Skip to main content
Opik is an open-source platform designed for evaluating, testing, and monitoring large language model (LLM) applications. Developed by Comet, it aims to facilitate more intuitive collaboration, testing, and monitoring of LLM-based applications. This guide walks you through how to configure LLM Controls to collect tracing data about your flow executions and automatically send the data to Opik.

Prerequisites

  • A project in LLM Controls with a runnable flow
  • An Open-Source Opik server or an Opik Cloud account - You can learn more about the differences here
  • If you are using Opik Cloud, you will also need your Opik API key

Set your Opik configuration as environment variables

Call the CLI opik configure to save your Opik configuration in the same environment where you run LLM Controls. For self-hosted Opik, you can also configure it using the Opik CLI by running the following command: See the Opik documentation for more ways to configure Opik SDKs.

Start LLM Controls and run a flow

  1. Start LLM Controls in the same terminal or environment where you set the environment variables:
  2. In LLM Controls, open an existing project, and then run a flow.
  3. Navigate to your Opik project dashboard and view the collected tracing data.

Disable the Opik integration

To disable the Opik integration, remove the environment variables you set in the previous steps and restart LLM Controls.