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]

docs(document_understanding.md): Fix https://github.com/BerriAI/litellm/issues/9704

Krrish Dholakiaabea69352a10
diff --git a/docs/my-website/docs/completion/document_understanding.md b/docs/my-website/docs/completion/document_understanding.md
index c101aa1aef5..f1a78a659f1 100644
--- a/docs/my-website/docs/completion/document_understanding.md
+++ b/docs/my-website/docs/completion/document_understanding.md
@@ -80,11 +80,13 @@ curl -X POST 'http://0.0.0.0:4000/chat/completions' \
-d '{
"model": "bedrock-model",
"messages": [
- {"role": "user", "content": {"type": "text", "text": "What's this file about?"}},
- {
- "type": "image_url",
- "image_url": "https://www.w3.org/WAI/ER/tests/xhtml/testfiles/resources/pdf/dummy.pdf",
- }
+ {"role": "user", "content": [
+ {"type": "text", "text": "What's this file about?"},
+ {
+ "type": "image_url",
+ "image_url": "https://www.w3.org/WAI/ER/tests/xhtml/testfiles/resources/pdf/dummy.pdf",
+ }
+ ]},
]
}'
```