Skip to main content

Configure providers

Add provider credentials and provider-specific settings for standalone Otari Gateway deployments.

Each provider entry in the config file supports:

Field

Description

api_key

Provider API key

api_base

Custom API base URL (optional)

client_args

Extra client options: custom_headers, timeout (optional)

Vertex AI

Vertex AI requires additional fields instead of a simple API key:

providers:
vertexai:
credentials: "/app/service_account.json"
project: "my-gcp-project"
location: "us-central1"

The credentials field points to a Google Cloud service account JSON file.

Source: mozilla-ai/otari/docs/configuration.md

Did this answer your question?