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]
Python ai-gatewayanthropicazure-openaibedrockgatewaylangchainlitellmllmllm-gatewayllmopsmcp-gatewayopenaiopenai-proxyrustrust-aivertex-ai
docs: document vector store usage with chat completions api
Krrish Dholakiabb0caee89618
diff --git a/docs/my-website/docs/pass_through/vertex_ai_search_datastores.md b/docs/my-website/docs/pass_through/vertex_ai_search_datastores.mdindex 5f5ef713e32..20501d71f97 100644--- a/docs/my-website/docs/pass_through/vertex_ai_search_datastores.md+++ b/docs/my-website/docs/pass_through/vertex_ai_search_datastores.md@@ -120,3 +120,20 @@ for result in response.json().get("results", []):print(f"{data['title']}: {data['link']}")```+### Use with Chat Completion++```bash+curl http://localhost:4000/v1/chat/completions \+ -H "Content-Type: application/json" \+ -H "Authorization: Bearer $LITELLM_API_KEY" \+ -d '{+ "model": "claude-3-5-sonnet",+ "messages": [{"role": "user", "content": "What is litellm?"}],+ "tools": [+ {+ "type": "file_search",+ "vector_store_ids": ["my-datastore"]+ }+ ]+ }'+```\ No newline at end of file