Note
Access to this page requires authorization. You can try signing in or .
Access to this page requires authorization. You can try .
VectorEmbedding interface
- Package:
- @azure/cosmos
Represents a vector embedding. A vector embedding is used to define a vector field in the documents.
Properties
| dataType | The data type of the vector. |
| dimensions | The number of dimensions in the vector. |
| distanceFunction | The distance function to use for distance calculation in between vectors. |
| path | The path to the vector field in the document. |
Property Details
dataType
The data type of the vector.
dataType: VectorEmbeddingDataType
Property Value
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: VectorEmbeddingDistanceFunction
Property Value
path
The path to the vector field in the document.
path: string
Property Value
string
