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