doc Grounding vertex ai

This commit is contained in:
Ishaan Jaff 2024-08-09 08:31:38 -07:00
parent baaa444c8f
commit a1c3167853

View file

@ -361,15 +361,17 @@ print(resp)
<TabItem value="proxy" label="PROXY">
```bash
curl http://0.0.0.0:4000/v1/chat/completions \
curl http://localhost:4000/v1/chat/completions \
-H "Content-Type: application/json" \
-H "Authorization: Bearer sk-1234" \
-d '{
"model": "gemini-pro",
"messages": [{"role": "user", "content": "Who won the world cup?"}],
"tools": [
"messages": [
{"role": "user", "content": "Hello, Claude!"}
],
"tools": [
{
"googleSearchResults": {}
"googleSearchRetrieval": {}
}
]
}'