mirror of
https://github.com/lancedb/lancedb.git
synced 2025-12-25 14:29:56 +00:00
1.2 KiB
1.2 KiB
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.