VectorEmbedding interface
Represents a vector embedding. A vector embedding is used to define a vector field in the documents.
Properties
data |
Indicates the data type of vector. |
dimensions | The number of dimensions in the vector. |
distance |
The distance function to use for distance calculation in between vectors. |
path | The path to the vector field in the document. |
Property Details
dataType
Indicates the data type of vector.
dataType: string
Property Value
string
dimensions
The number of dimensions in the vector.
dimensions: number
Property Value
number
distanceFunction
The distance function to use for distance calculation in between vectors.
distanceFunction: string
Property Value
string
path
The path to the vector field in the document.
path: string
Property Value
string