Code snippets and examples for working with Opik, Comet's LLM evaluation and observability platform.
opik-examples/
├── code-snippets/ # Short, self-contained scripts for specific tasks
└── examples/ # Multi-file, end-to-end examples with full context
| Snippet | Description |
|---|---|
| trace_deletion | Bulk-delete traces older than N months across one or more projects |
| Example | Description |
|---|---|
| otel_with_offline_eval_example | Use OpenTelemetry tracing alongside Opik's offline evaluation workflow |
| programmatic_leaderboard_dashboard_creation | Create an Experiment Leaderboard dashboard entirely via the REST API |