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: cleanup docs

Krrish Dholakia17ad8a041754
diff --git a/docs/my-website/docs/providers/vertex.md b/docs/my-website/docs/providers/vertex.md
index 2865a82ce12..ab13a511371 100644
--- a/docs/my-website/docs/providers/vertex.md
+++ b/docs/my-website/docs/providers/vertex.md
@@ -1793,6 +1793,12 @@ response = completion(
"file_data": f"data:application/pdf;base64,{encoded_file}", # 👈 PDF
}
},
+ {
+ "type": "audio_input",
+ "audio_input {
+ "audio_input": f"data:audio/mp3;base64,{encoded_file}", # 👈 AUDIO File ('file' message works as too)
+ }
+ },
],
}
],
@@ -1871,9 +1877,15 @@ curl http://0.0.0.0:4000/v1/chat/completions \
"type": "file",
"file": {
"file_data": f"data:application/pdf;base64,{encoded_file}", # 👈 PDF
+ },
+ },
+ {
+ "type": "audio_input",
+ "audio_input {
+ "audio_input": f"data:audio/mp3;base64,{encoded_file}", # 👈 AUDIO File ('file' message works as too)
}
},
- ]
+ ]
}
],
"max_tokens": 300