Skip to content

The fastest, litest AI Gateway. Rust core with Python SDK. Call 100+ LLM APIs in OpenAI (or native) format with cost tracking, guardrails, load balancing, and logging [Bedrock, Azure, OpenAI, Anthropic, OpenAI, VertexAI, vLLM, Nvidia NIM]

Fixed code snippet import typo in Structured Output docs

Beltrán Aceves5e583e0bf229
diff --git a/docs/my-website/docs/completion/json_mode.md b/docs/my-website/docs/completion/json_mode.md
index 6c325cd8d48..64cc22019d8 100644
--- a/docs/my-website/docs/completion/json_mode.md
+++ b/docs/my-website/docs/completion/json_mode.md
@@ -81,6 +81,7 @@ Works for:
```python
import os
from litellm import completion
+from pydantic import BaseModel
# add to env var
os.environ["OPENAI_API_KEY"] = ""