You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/models.md
+7-7Lines changed: 7 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -47,7 +47,7 @@ connection and authentication to the underlying service.
47
47
To use OpenAI models, you need to either install [`pydantic-ai`](install.md), or install [`pydantic-ai-slim`](install.md#slim-install) with the `openai` optional group:
48
48
49
49
```bash
50
-
pip/uv-add 'pydantic-ai-slim[openai]'
50
+
pip/uv-add "pydantic-ai-slim[openai]"
51
51
```
52
52
53
53
### Configuration
@@ -135,7 +135,7 @@ agent = Agent(model)
135
135
To use [`AnthropicModel`][pydantic_ai.models.anthropic.AnthropicModel] models, you need to either install [`pydantic-ai`](install.md), or install [`pydantic-ai-slim`](install.md#slim-install) with the `anthropic` optional group:
136
136
137
137
```bash
138
-
pip/uv-add 'pydantic-ai-slim[anthropic]'
138
+
pip/uv-add "pydantic-ai-slim[anthropic]"
139
139
```
140
140
141
141
### Configuration
@@ -298,7 +298,7 @@ To use the `google-vertex` provider with [`GeminiModel`][pydantic_ai.models.gemi
298
298
[`pydantic-ai`](install.md), or install [`pydantic-ai-slim`](install.md#slim-install) with the `vertexai` optional group:
299
299
300
300
```bash
301
-
pip/uv-add 'pydantic-ai-slim[vertexai]'
301
+
pip/uv-add "pydantic-ai-slim[vertexai]"
302
302
```
303
303
304
304
### Configuration
@@ -420,7 +420,7 @@ agent = Agent(model)
420
420
To use [`GroqModel`][pydantic_ai.models.groq.GroqModel], you need to either install [`pydantic-ai`](install.md), or install [`pydantic-ai-slim`](install.md#slim-install) with the `groq` optional group:
421
421
422
422
```bash
423
-
pip/uv-add 'pydantic-ai-slim[groq]'
423
+
pip/uv-add "pydantic-ai-slim[groq]"
424
424
```
425
425
426
426
### Configuration
@@ -500,7 +500,7 @@ agent = Agent(model)
500
500
To use [`MistralModel`][pydantic_ai.models.mistral.MistralModel], you need to either install [`pydantic-ai`](install.md), or install [`pydantic-ai-slim`](install.md#slim-install) with the `mistral` optional group:
501
501
502
502
```bash
503
-
pip/uv-add 'pydantic-ai-slim[mistral]'
503
+
pip/uv-add "pydantic-ai-slim[mistral]"
504
504
```
505
505
506
506
### Configuration
@@ -579,7 +579,7 @@ agent = Agent(model)
579
579
To use [`CohereModel`][pydantic_ai.models.cohere.CohereModel], you need to either install [`pydantic-ai`](install.md), or install [`pydantic-ai-slim`](install.md#slim-install) with the `cohere` optional group:
580
580
581
581
```bash
582
-
pip/uv-add 'pydantic-ai-slim[cohere]'
582
+
pip/uv-add "pydantic-ai-slim[cohere]"
583
583
```
584
584
585
585
### Configuration
@@ -636,7 +636,7 @@ agent = Agent(model)
636
636
To use [`BedrockConverseModel`][pydantic_ai.models.bedrock.BedrockConverseModel], you need to either install [`pydantic-ai`](install.md), or install [`pydantic-ai-slim`](install.md#slim-install) with the `bedrock` optional group:
0 commit comments