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 web search
Ishaan Jaff5ae11007b684
diff --git a/docs/my-website/docs/completion/web_search.md b/docs/my-website/docs/completion/web_search.mdindex 7d0ec101754..f8ec0098b6e 100644--- a/docs/my-website/docs/completion/web_search.md+++ b/docs/my-website/docs/completion/web_search.md@@ -3,19 +3,20 @@ import TabItem from '@theme/TabItem';# Using Web Search-How to use web search capabilities with the `/chat/completions` endpoint+Use web search with litellm---Works for:-- OpenAI GPT-4 with web search+| Feature | Details |+|---------|---------|+| Supported Endpoints | - `/chat/completions` <br/> - `/responses` |+| Supported Providers | `openai` |+| LiteLLM Version | `v1.63.15-nightly` or higher |## Quick Start<Tabs><TabItem value="sdk" label="SDK">-```python+```python showLineNumbersfrom litellm import completionresponse = completion(@@ -50,7 +51,7 @@ litellm --config /path/to/config.yaml3. Test it!-```bash+```bash showLineNumberscurl -X POST 'http://0.0.0.0:4000/chat/completions' \-H 'Content-Type: application/json' \-H 'Authorization: Bearer sk-1234' \@@ -75,7 +76,7 @@ curl -X POST 'http://0.0.0.0:4000/chat/completions' \Use `litellm.supports_web_search(model="openai/gpt-4-turbo-preview")` -> returns `True` if model can perform web searches-```python+```python showLineNumbersassert litellm.supports_web_search(model="openai/gpt-4-turbo-preview") == True```</TabItem>@@ -111,7 +112,7 @@ curl -X 'GET' \Expected Response-```json+```json showLineNumbers{"data": [{