Elffuss BraidHub

kikocis/lancedb public

e6c3bef0cf81 · 1.2 KiBSourceRawPermalink

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
NameType
dataT[]
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.

Defined in

embedding/embedding_function.ts:22