Overview
Installation
You can install the opik
package using your favorite package manager.
Opik Configuration
You can configure the Opik client using environment variables.
Or you can pass the configuration to the Opik client constructor.
Usage
You can find the full Typescript reference documentation here.
Vercel AI SDK Integration
Opik provides seamless integration with the Vercel AI SDK through OpenTelemetry instrumentation.
Installation
Install the required dependencies:
Usage
This integration automatically captures:
- Input prompts and messages
- Model responses
- Token usage statistics
- Tool calls and their results
- Timing information
- Error states
All this telemetry data is automatically sent to your Opik project for analysis and monitoring.