Skip to content

Add Pydantic AI integration example - #35

Open
sjsjsjjs534 wants to merge 1 commit into
comet-ml:mainfrom
sjsjsjjs534:pydantic-ai-integration
Open

Add Pydantic AI integration example#35
sjsjsjjs534 wants to merge 1 commit into
comet-ml:mainfrom
sjsjsjjs534:pydantic-ai-integration

Conversation

@sjsjsjjs534

Copy link
Copy Markdown

Summary

  • Add a runnable Pydantic AI + Opik integration example using Logfire/OpenTelemetry instrumentation
  • Include a dry-run fallback when Opik or provider credentials are missing
  • Update the integrations index and root README table

Test Plan

  • UV_CACHE_DIR=/private/tmp/uv-cache-opik-examples uv run pydantic-ai-opik --dry-run
  • UV_CACHE_DIR=/private/tmp/uv-cache-opik-examples uv run ruff check .
  • UV_CACHE_DIR=/private/tmp/uv-cache-opik-examples uv run ruff format --check .
  • UV_CACHE_DIR=/private/tmp/uv-cache-opik-examples bash run.sh

Closes #22

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Integration] Add Pydantic AI integration example/guide

1 participant