0
Fork 0
mirror of https://github.com/TanStack/ai.git synced 2026-11-16 19:38:41 +00:00
ai/docs/reference/functions/createEmbedOptions.md
github-actions[bot] 5701bf5184
docs: regenerate API documentation (#1141)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-08-18 19:53:35 +02:00

635 B

id title
createEmbedOptions createEmbedOptions

Function: createEmbedOptions()

function createEmbedOptions<TAdapter>(options): EmbedOptions<TAdapter>;

Defined in: packages/ai/src/activities/embed/index.ts:306

Create typed options for the embed() function without executing.

Type Parameters

TAdapter

TAdapter extends EmbeddingAdapter<string, any, any, any>

Parameters

options

EmbedOptions<TAdapter>

Returns

EmbedOptions<TAdapter>