Skip to main content
Version: 0.0.4

agrag.common.data_models.vector_record

Vector storage record shapes shared by VectorStore and GraphStore.

Classes:

  • Distance – A distance metric a vector index compares embeddings with.
  • VectorHit – One search result: a matched id, its score, and its stored payload.
  • VectorRecord – One vector and its payload, ready to write to a collection or index.

Attributes:

  • PENDING_VECTOR_FLAG – Payload flag marking a vector as written by an in-flight Cutover Job.