forked from phoenix/litellm-mirror
doc Grounding vertex ai
This commit is contained in:
parent
baaa444c8f
commit
a1c3167853
1 changed files with 6 additions and 4 deletions
|
@ -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": {}
|
||||
}
|
||||
]
|
||||
}'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue