genkit icon indicating copy to clipboard operation
genkit copied to clipboard

Vertex AI connection parameters

Open Irillit opened this issue 1 year ago • 1 comments

There are different ways to take parameters from the environment. ProjectId:

  1. Passed as a parameter in the code
  2. Defined as an environment variable
  3. Defined as an environment variable as a part of Firebase Config
  4. Set by gcloud auth application-default login

Location:

  1. Passed as a parameter in the code
  2. Defined as an environment variable
  3. Default 'us-central1' region

Credentials:

  1. Created from a Service Account environment variable
  2. Set by gcloud auth application-default login

Irillit avatar Feb 11 '25 08:02 Irillit

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.

Irillit avatar Feb 25 '25 10:02 Irillit