Skip to main content

Function: batchEmbeddings()

batchEmbeddings<T>(values, embedFunc, chunkSize, options?): Promise<number[][]>

Type Parameters

T

Parameters

values: T[]

embedFunc: EmbedFunc<T>

chunkSize: number

options?: BaseEmbeddingOptions

Returns

Promise<number[][]>

Defined in

packages/core/dist/embeddings/index.d.ts:53