Skip to content

docs: add AI provider examples for all LLM analytics integrations#478

Merged
richardsolomou merged 4 commits intomasterfrom
docs/add-ai-provider-examples
Apr 7, 2026
Merged

docs: add AI provider examples for all LLM analytics integrations#478
richardsolomou merged 4 commits intomasterfrom
docs/add-ai-provider-examples

Conversation

@richardsolomou
Copy link
Copy Markdown
Member

Problem

We have documentation for 38 LLM analytics integrations but only had 7 working examples in the repo. Users and the example runner in llm-analytics-apps couldn't test most integrations.

Changes

Add 26 new example directories covering every provider documented in our LLM analytics onboarding docs:

OpenAI-compatible providers (16): Groq, DeepSeek, Mistral, xAI, Together AI, Ollama, Cohere, Hugging Face, Perplexity, Cerebras, Fireworks AI, OpenRouter, Helicone, Vercel AI Gateway, Azure OpenAI, Portkey

Custom integrations (10): Instructor, LangGraph, AWS Bedrock, CrewAI, Mirascope, LlamaIndex, DSPy, Semantic Kernel, smolagents, AutoGen

Each example follows the same structure as existing examples (pyproject.toml, uv.toml, .env.example, README.md, and the main .py file).

How did you test this code?

Verified all examples are discovered by the llm-analytics-apps example runner (./run-examples.sh --list shows 91 examples).

Add 26 new example directories covering every provider documented in
our LLM analytics onboarding docs. This includes OpenAI-compatible
providers (Groq, DeepSeek, Mistral, xAI, Together AI, Ollama, Cohere,
Hugging Face, Perplexity, Cerebras, Fireworks AI, OpenRouter, Helicone,
Vercel AI Gateway, Azure OpenAI, Portkey) and custom integrations
(Instructor, LangGraph, AWS Bedrock, CrewAI, Mirascope, LlamaIndex,
DSPy, Semantic Kernel, smolagents, AutoGen).
@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Apr 2, 2026

posthog-python Compliance Report

Date: 2026-04-07 08:05:38 UTC
Duration: 194ms

✅ All Tests Passed!

0/0 tests passed


Mistral's API doesn't support max_completion_tokens, causing 422 errors.
@socket-security
Copy link
Copy Markdown

socket-security bot commented Apr 3, 2026

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Addedopenai@​2.29.095100100100100
Addedopenai@​2.30.095100100100100
Addedautogen-ext@​0.7.597100100100100
Addedrequests@​2.33.099100100100100
Addedpydantic@​2.11.10100100100100100
Addedautogen-agentchat@​0.7.5100100100100100

View full report

Mirascope doesn't pass extra kwargs through to the OpenAI client.
Tracking still works via the wrapped client.
@richardsolomou richardsolomou marked this pull request as ready for review April 3, 2026 13:45
@richardsolomou richardsolomou requested a review from a team April 3, 2026 13:45
@richardsolomou richardsolomou enabled auto-merge (squash) April 7, 2026 08:07
@richardsolomou richardsolomou merged commit 7223c52 into master Apr 7, 2026
26 checks passed
@richardsolomou richardsolomou deleted the docs/add-ai-provider-examples branch April 7, 2026 08:07
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.

2 participants