pip install google-cloud-aiplatform
gcloud auth application-default login
See Google Cloud Docsapplication_default_credentials.json
model
flag:
Environment Variable | Description | Where to Find |
---|---|---|
VERTEXAI_PROJECT | The Google Cloud project ID. | Google Cloud Console |
VERTEXAI_LOCATION | The location of your Vertex AI resources. | Google Cloud Console |