Options for initializing the AI service using getAI(). This allows specifying which backend to use (Vertex AI Gemini API or Gemini Developer API) and configuring its specific options (like location for Vertex AI).
Signature:
export interface AIOptions
Properties
Property | Type | Description |
---|---|---|
backend | Backend | The backend configuration to use for the AI service instance. |
AIOptions.backend
The backend configuration to use for the AI service instance.
Signature:
backend: Backend;