Skip to content

comet-ml/opik-examples

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

opik-examples

Examples and utilities for working with Opik, Comet's LLM evaluation and observability platform.

Structure

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

Integrations

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

Guides

Task-oriented examples for specific Opik workflows and patterns.

More coming soon — see guides/ or contribute one.

Use Cases

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

Scripts

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

Contributing

See CONTRIBUTING.md for the contribution guide and example template.

About

Useful code snippets + demo examples for Opik

Resources

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages