forked from phoenix/litellm-mirror
docs(vertex.md): fix example with GOOGLE_APPLICATION_CREDENTIALS
This commit is contained in:
parent
1e7839377c
commit
0bdb17eca8
1 changed files with 3 additions and 0 deletions
|
@ -2129,6 +2129,9 @@ Here's the code for storing your service account credentials as `GOOGLE_APPLICAT
|
||||||
|
|
||||||
|
|
||||||
```python
|
```python
|
||||||
|
import os
|
||||||
|
import tempfile
|
||||||
|
|
||||||
def load_vertex_ai_credentials():
|
def load_vertex_ai_credentials():
|
||||||
# Define the path to the vertex_key.json file
|
# Define the path to the vertex_key.json file
|
||||||
print("loading vertex ai credentials")
|
print("loading vertex ai credentials")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue