Skip to content

google / Exports / GoogleProviderOptions

Interface: GoogleProviderOptions

Google AI Provider options

Hierarchy

Table of contents

Properties

Properties

apiKey

apiKey: string

Google AI API key

Defined in

types.ts:21


responseMimeType

Optional responseMimeType: "text/plain" | "application/json"

Response MIME type

  • 'text/plain': Plain text response (default)
  • 'application/json': JSON response format

Defined in

types.ts:28


responseSchema

Optional responseSchema: Record<string, ProviderOptionValue>

Response schema for JSON output (only used when responseMimeType is 'application/json')

Defined in

types.ts:33

Released under the MIT License.