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">
|
<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": [
|
||||||
"tools": [
|
{"role": "user", "content": "Hello, Claude!"}
|
||||||
|
],
|
||||||
|
"tools": [
|
||||||
{
|
{
|
||||||
"googleSearchResults": {}
|
"googleSearchRetrieval": {}
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}'
|
}'
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue