본문으로 건너뛰기

Function: batchEmbeddings()

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

Type parameters

T

Parameters

values: T[]

embedFunc: EmbedFunc<T>

chunkSize: number

options?

options.logProgress?: boolean

Returns

Promise<number[][]>

Source

packages/llamaindex/src/embeddings/types.ts:103