AiSdkEmbedderOptions
Properties
Section titled “Properties”model: EmbeddingModel;Any Vercel AI SDK embedding model.
providerOptions?
Section titled “providerOptions?”optional providerOptions?: SharedV3ProviderOptions;Provider-specific options passed through to the AI SDK embed() /
embedMany() calls. Use this to set task types, dimensionality
overrides, or any other provider-specific parameter.
Example (Gemini task type for query embedding):
{ google: { taskType: 'RETRIEVAL_QUERY' } }