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/core/src/embeddings/types.ts:71