@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>