Skip to main content

Tutorials

Hands-on tutorials that walk you through real-world scenarios with complete, runnable examples.

Instrumentation

  • Instrument OpenAI Directly -- Four approaches to instrumenting LLM calls: auto-instrumentation, decorator, context manager, and manual recording.
  • Track a RAG Pipeline -- End-to-end observability for retrieval-augmented generation pipelines.

Cost & Analytics

  • Cost Optimization -- Reduce LLM spending using observability data and cost management features.
  • Session Analytics -- Analyze multi-turn conversations and session-level metrics.

Prompt & Migration