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 CLIopik 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
- Start LLM Controls in the same terminal or environment where you set the environment variables:
- In LLM Controls, open an existing project, and then run a flow.
- Navigate to your Opik project dashboard and view the collected tracing data.