Skip to content

Interface: GoogleEmbedParams

@providerprotocol/ai


@providerprotocol/ai / google / GoogleEmbedParams

Defined in: src/providers/google/embed.ts:44

Google embedding parameters. Passed through unchanged to the API.

optional autoTruncate: boolean

Defined in: src/providers/google/embed.ts:52

Whether to automatically truncate inputs exceeding token limits (default: true)


optional outputDimensionality: number

Defined in: src/providers/google/embed.ts:50

Output dimensionality


optional taskType: GoogleTaskType

Defined in: src/providers/google/embed.ts:46

Task type for optimization


optional title: string

Defined in: src/providers/google/embed.ts:48

Document title (for RETRIEVAL_DOCUMENT taskType)