Skip to main content

Module vector_store

Module vector_store 

Source
Expand description

Abstract vector-store trait and associated types.

The VectorStore trait decouples the rest of zeph-memory from any specific vector database. Two implementations ship in this crate:

Structs§

FieldCondition
A single payload field condition in a VectorFilter.
ScoredVectorPoint
A vector point returned by VectorStore::search with an attached similarity score.
VectorFilter
Filter applied to VectorStore::search and VectorStore::scroll_all.
VectorPoint
A vector point to be stored in or retrieved from a VectorStore.

Enums§

FieldValue
Value type in a FieldCondition.
VectorStoreError
Error type for VectorStore operations.

Traits§

VectorStore
Abstraction over a vector database backend.

Type Aliases§

ScrollResult
Result of VectorStore::scroll_all: maps point ID → key → value payload strings.