Examples and utilities for working with Opik, Comet's LLM evaluation and observability platform.
opik-examples/
├── integrations/ # Adding Opik to a specific framework or library
├── guides/ # How-to examples for Opik workflows and patterns
├── use-cases/ # End-to-end applications and domain workflows
├── scripts/ # Utility automations and API helpers
└── _template/ # Starter template for new examples
Examples for teams using a specific framework who want to add Opik.
| Description | |
|---|---|
| integrations/otel/offline_evaluation | OTel tracing alongside Opik's offline evaluation workflow |
| integrations/otel/distributed_tracing | Stitch out-of-process tool call spans into a single trace |
Task-oriented examples for specific Opik workflows and patterns.
More coming soon — see guides/ or contribute one.
End-to-end applications and domain-specific workflows.
| Description | |
|---|---|
| use-cases/call_summarizer | Streamlit app that summarises customer calls using an LLM, traced with Opik |
| use-cases/governance_observability | Instrument agents with governance metadata, derive composite metrics, and extract scores for oversight reporting |
Standalone scripts for automating and managing Opik resources.
| Description | |
|---|---|
| scripts/trace_management | Inspect and delete traces by date range, tags, or TTL policies |
| scripts/automate_annotation_queue | Route traces into annotation queues via batch or real-time assignment |
| scripts/usage_stats | Fetch trace and span counts per project and visualise trends |
| scripts/leaderboard_dashboard | Create an Experiment Leaderboard dashboard via the REST API |
See CONTRIBUTING.md for the contribution guide and example template.