weaver logoWeaver

Vertex AI

Detailed guide to configuration options for Vertex AI models in Weaver

Vertex AI Setup

Vertex uses unique base urls and api keys. To use Vertex, please add the vertex provider (auto-completed) then enter a base url and api key in the following format:

Base URL

  • Replace both instances of LOCATION and PROJECT_ID with your values
https://LOCATION-aiplatform.googleapis.com/v1/projects/PROJECT_ID/locations/LOCATION/

Example

https://us-central1-aiplatform.googleapis.com/v1/projects/gen-lang-client-12345678/locations/us-central1/

API Key

  • Copy and paste your entire JSON.

Example

{
  "type": "service_account",
  "project_id": "REDACTED",
  "private_key_id": "REDACTED",
  "private_key": "REDACTED",
  "client_email": "REDACTED",
  "client_id": "REDACTED",
  "auth_uri": "https://accounts.google.com/o/oauth2/auth",
  "token_uri": "https://oauth2.googleapis.com/token",
  "auth_provider_x509_cert_url": "https://www.googleapis.com/oauth2/v1/certs",
  "client_x509_cert_url": "REDACTED",
  "universe_domain": "googleapis.com"
}

Vertex AI Provider Options

Weaver supports several provider-specific configuration options for Vertex AI models. These can be set in the Provider Options (JSON) field in the chat configuration settings.

Available Provider Options

Vertex AI hosts mant models including Gemini and Claude. Please refer to Google and Anthropic provider options as they can also be used for Vertex AI.

Model Compatibility

Check the Vertex AI documentation for the most up-to-date compatibility information. AI SDK

On this page