Skip to content

@chinmaymk/aikit v0.0.40


@chinmaymk/aikit / EmbedFunction

Type Alias: EmbedFunction()<T> ​

EmbedFunction<T> = (texts, options?) => Promise<EmbeddingResponse>

Defined in: types.ts:744

Type utility for embedding functions

Type Parameters ​

T ​

T = Record<string, unknown>

Parameters ​

texts ​

string[]

options? ​

Partial<T>

Returns ​

Promise<EmbeddingResponse>

Released under the MIT License.