Interface: GoogleEmbedParams
@providerprotocol/ai / google / GoogleEmbedParams
Interface: GoogleEmbedParams
Section titled “Interface: GoogleEmbedParams”Defined in: src/providers/google/embed.ts:44
Google embedding parameters. Passed through unchanged to the API.
Properties
Section titled “Properties”autoTruncate?
Section titled “autoTruncate?”
optionalautoTruncate:boolean
Defined in: src/providers/google/embed.ts:52
Whether to automatically truncate inputs exceeding token limits (default: true)
outputDimensionality?
Section titled “outputDimensionality?”
optionaloutputDimensionality:number
Defined in: src/providers/google/embed.ts:50
Output dimensionality
taskType?
Section titled “taskType?”
optionaltaskType:GoogleTaskType
Defined in: src/providers/google/embed.ts:46
Task type for optimization
title?
Section titled “title?”
optionaltitle:string
Defined in: src/providers/google/embed.ts:48
Document title (for RETRIEVAL_DOCUMENT taskType)