Skip to main content

Module in_memory_store

Module in_memory_store 

Source
Expand description

Purely in-memory VectorStore implementation for unit tests.

All data lives in a RwLock<HashMap> and is discarded when the store is dropped. Cosine similarity is computed with zeph_common::math::cosine_similarity. Not suitable for production — use crate::qdrant_ops::QdrantOps instead.

Structs§

InMemoryVectorStore
In-process vector store backed by a RwLock<HashMap>.