VectorIndexDict¶
Dictionary Type¶
VectorIndexDict
¶
Bases: TypedDict
Dictionary form of VectorIndex.
Attributes¶
distance_function
instance-attribute
¶
The distance function used to calculate similarity between vectors.
Valid values: COSINE, EUCLIDEAN, DOT_PRODUCT.
projection
instance-attribute
¶
projection: Required[Projection | ProjectionDict]
Specifies attributes that are copied (projected) from the table into the vector index.
search_schema
instance-attribute
¶
search_schema: Sequence[SearchSchemaElement | SearchSchemaElementDict] | None
The search schema that defines partition key and inline filter attributes for the vector index.
vector_attribute
instance-attribute
¶
vector_attribute: Required[VectorAttributeDefinition | VectorAttributeDefinitionDict]
The vector attribute configuration for the index.