Skip to main content

Module models

Module models 

Source
Expand description

Data models for vector points, search results, and collection configuration.

Structs§

CollectionConfig
Configuration for vector collection
SearchResult
Result from similarity search
VectorPoint
Vector point to be indexed

Enums§

DistanceMetric
Distance metric used for vector similarity comparisons.

Constants§

DATASET_IDS_KEY
Metadata key holding the array of dataset-ID strings a point belongs to. This is the union accumulated across every dataset the content-addressed point has been indexed under (see VectorPoint::merge_dataset_membership).
DATASET_ID_KEY
Scalar metadata key written by the cognify indexer for the single dataset currently being indexed. Retained for back-compat; the authoritative membership is the union in DATASET_IDS_KEY.