Skip to content

docs(langsmith): update voice tracing guides for the langsmith.integrations SDK#4636

Draft
Caroline di Vittorio (carolinedivittorio) wants to merge 1 commit into
mainfrom
voice-tracing-sdk
Draft

docs(langsmith): update voice tracing guides for the langsmith.integrations SDK#4636
Caroline di Vittorio (carolinedivittorio) wants to merge 1 commit into
mainfrom
voice-tracing-sdk

Conversation

@carolinedivittorio

@carolinedivittorio Caroline di Vittorio (carolinedivittorio) commented Jun 26, 2026

Copy link
Copy Markdown
Contributor

Why

The voice tracing guides told customers to copy a span-processor .py file from the voice-demo repo and wire OpenTelemetry exporter env vars by hand. These integrations are now packaged under langsmith.integrations (langchain-ai/langsmith-sdk#3107), so the guides should show what a customer installs and imports.

Each guide follows the same shape: install, set environment variables, set up tracing, record the conversation audio. The integrations self-configure their LangSmith export from LANGSMITH_*, so the manual OTEL_EXPORTER_OTLP_* variables and the download-the-processor steps are gone.

What changed

  • Pipecat (trace-with-pipecat): langsmith[pipecat] + configure_pipecat(); audio via Pipecat's AudioBufferProcessor.
  • LiveKit (trace-with-livekit): langsmith[livekit] + configure_livekit().
  • OpenAI Realtime (trace-openai-realtime): one langsmith[openai-realtime] install, then a section for each way to build the agent:
    • Raw connectionwrap_realtime (full control).
    • OpenAI Agents SDKwrap_realtime_session (the SDK owns the turn/tool loop).
      Both import from langsmith.integrations.openai_realtime.
  • Gemini Live (trace-gemini-live): langsmith[google-adk-live] + LangSmithLivePlugin (from langsmith.integrations.google_adk_live) on Runner.run_live.
  • Google ADK (trace-with-google-adk): unchanged batch guide, plus a note linking to Gemini Live for the live model.

All voice-demo links removed in favor of the packaged-SDK end state.

Review notes

  • Tracks the package/extra names in langsmith-sdk#3107: langsmith[openai-realtime] (→ langsmith.integrations.openai_realtime) and langsmith[google-adk-live] (→ langsmith.integrations.google_adk_live).
  • make lint_prose passes on all changed files. make broken-links could not run locally (mint CLI not installed); internal link targets verified by hand.

Authored with the help of an AI agent.

@github-actions github-actions Bot added internal langsmith For docs changes to LangSmith labels Jun 26, 2026
@carolinedivittorio Caroline di Vittorio (carolinedivittorio) force-pushed the voice-tracing-sdk branch 9 times, most recently from 6ba6b31 to 3d909b8 Compare June 29, 2026 18:28
…ations SDK

Rewrite the voice tracing guides for the packaged LangSmith integrations, so the
snippets reflect what a customer installs and imports rather than a copied
span-processor file.

- Pipecat: langsmith[pipecat] + configure_pipecat(); AudioBufferProcessor +
  attach_audio_buffer for recording.
- LiveKit: langsmith[livekit] + configure_livekit().
- OpenAI Realtime: langsmith[openai] + wrap_realtime() connection proxy.
- Gemini Live: langsmith[google-adk] + LangSmithLivePlugin on Runner.run_live,
  replacing the hand-rolled RunTree/event_span quickstart.
- Google ADK: keep the configure_google_adk batch guide; link to Gemini Live for
  the live voice model.

Clarify that the within-trace turn span is a grouping run, not a thread-level
LangSmith turn (a separate trace per turn), and reconcile the voice fundamentals
guidance. Drop the manual OTLP env vars and download-the-processor steps.
@github-actions

Copy link
Copy Markdown
Contributor

Mintlify preview branch generated: preview-voicet-1782781101-fbe4599

Site preview: https://langchain-5e9cc07a-preview-voicet-1782781101-fbe4599.mintlify.app

Important

Preview links may take a few minutes to start working while the deployment finishes.

Changed documentation pages (preview deep links):

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

internal langsmith For docs changes to LangSmith

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants