Skip to content

v0.7.0 — Anthropic + Google GenAI integrations

Choose a tag to compare

@bahattincinic bahattincinic released this 01 Jun 12:57
· 14 commits to main since this release

Adds tracing integrations for two more providers, alongside the existing LangChain, OpenAI, and OpenTelemetry support:

  • Anthropic — pip install "promptrails[anthropic]". trace_anthropic(client, tracer) traces every messages.create call (model, input/output tokens, output).
  • Google GenAI — pip install "promptrails[google]". trace_google(client, tracer) traces every models.generate_content call on the unified google-genai SDK.

Each is a dedicated wrapper because the providers use different method paths and response shapes than OpenAI. Also fixes the openai integration docstring that incorrectly claimed Anthropic support.

See docs/integrations.md.