vectordb / Exports / EmbeddingFunction
Interface: EmbeddingFunction<T>
An embedding function that automatically creates vector representation for a given column.
Type parameters
| Name |
|---|
T |
Implemented by
Table of contents
Properties
Properties
embed
• embed: (data: T[]) => Promise<number[][]>
Type declaration
▸ (data): Promise<number[][]>
Creates a vector representation for the given values.
Parameters
| Name | Type |
|---|---|
data | T[] |
Returns
Promise<number[][]>
Defined in
embedding/embedding_function.ts:27
sourceColumn
• sourceColumn: string
The name of the column that will be used as input for the Embedding Function.