Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions pages/docs/configuration/pre_configured_ai/google.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,12 @@ GOOGLE_SERVICE_KEY_FILE=eyJ0eXBlIjogInNlcnZpY2VfYWNjb3VudCIsICJwcm9qZWN0X2lkIjog

This is particularly useful for features that require Vertex AI authentication, such as OCR capabilities.

By default, the Vertex AI will use `project_id` in the service account JSON key as the Google Cloud project. To override this behavior, you can set `GOOGLE_CLOUD_PROJECT` environment variable.

```bash filename=".env"
GOOGLE_CLOUD_PROJECT=your-google-project
```

Since fetching the models list isn't yet supported, you should set the models you want to use in the .env file.

For your convenience, these are the latest models as of 5/18/24 that can be used with the Generative Language API:
Expand Down