-
Notifications
You must be signed in to change notification settings - Fork 1.5k
docs: Add Azure, Bedrock and Vertex examples to use Anthropic models #3705
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
Docs Preview
|
docs/models/anthropic.md
Outdated
|
|
||
| ### Microsoft Azure | ||
|
|
||
| Azure offers Claude models through their "Models as a Service" using an OpenAI-compatible API. Use [`OpenAIModel`][pydantic_ai.models.openai.OpenAIModel] with an Azure-configured client: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actually we should be able to use AnthropicModel with AsyncAnthropicFoundry now: https://platform.claude.com/docs/en/build-with-claude/claude-in-microsoft-foundry#api-key-authentication
So let's update these docs to be like the other 3, and then also update this:
| AsyncAnthropicClient: TypeAlias = AsyncAnthropic | AsyncAnthropicBedrock | AsyncAnthropicVertex |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ahh cool, changed it now
Co-authored-by: Douwe Maan <[email protected]>
| --- | ||
| title: Pydantic Evals | ||
| --- | ||
|
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.

anthropic.cloud.integrations.mp4