autorag.store¶
Vector-store façade for the RAG pipeline.
Defines the VectorStore interface that
Retriever calls into. Concrete backends
(in-memory, Chroma, etc.) implement the four primitives; the topic-side
Chroma collection used by the /viz page lives separately in
autorag.chroma_store.
- class autorag.store.VectorStore[source]¶
Bases:
objectAbstract embedding-vector store.
Subclasses provide a backend-specific implementation of each method. The interface is intentionally thin: the orchestration layer (
AutoRAG) handles batching, persistence cadence, and tenant separation.
- class autorag.store.InMemoryStore[source]¶
Bases:
VectorStoreSimple, non-persistent reference implementation.
Stores chunks in a Python list. Useful for tests and small demos; not suitable for production retrieval workloads.