genkit
genkit copied to clipboard
Vertex AI connection parameters
There are different ways to take parameters from the environment. ProjectId:
- Passed as a parameter in the code
- Defined as an environment variable
- Defined as an environment variable as a part of Firebase Config
- Set by gcloud auth application-default login
Location:
- Passed as a parameter in the code
- Defined as an environment variable
- Default 'us-central1' region
Credentials:
- Created from a Service Account environment variable
- Set by gcloud auth application-default login
In PR #1934 it was said that we need only the project to be taken from the env variable. Added in in the PR #2014.