Skip to main content

zeph_memory/
lib.rs

1// SPDX-FileCopyrightText: 2026 Andrei G <bug-ops>
2// SPDX-License-Identifier: MIT OR Apache-2.0
3
4//! SQLite-backed conversation persistence with Qdrant vector search.
5
6pub mod document;
7pub mod embedding_registry;
8pub mod embedding_store;
9pub mod error;
10#[cfg(feature = "mock")]
11pub mod in_memory_store;
12pub mod qdrant_ops;
13pub mod response_cache;
14pub mod semantic;
15pub mod snapshot;
16pub mod sqlite;
17pub mod sqlite_vector_store;
18pub mod token_counter;
19pub mod types;
20pub mod vector_store;
21
22#[cfg(feature = "pdf")]
23pub use document::PdfLoader;
24pub use document::{
25    Chunk, Document, DocumentError, DocumentLoader, DocumentMetadata, IngestionPipeline,
26    SplitterConfig, TextLoader, TextSplitter,
27};
28pub use embedding_registry::{
29    EmbedFuture, Embeddable, EmbeddingRegistry, EmbeddingRegistryError, SyncStats,
30};
31pub use embedding_store::ensure_qdrant_collection;
32pub use error::MemoryError;
33pub use qdrant_ops::QdrantOps;
34pub use response_cache::ResponseCache;
35pub use snapshot::{ImportStats, MemorySnapshot, export_snapshot, import_snapshot};
36pub use token_counter::TokenCounter;
37pub use types::{ConversationId, MessageId};
38pub use vector_store::{
39    FieldCondition, FieldValue, ScoredVectorPoint, VectorFilter, VectorPoint, VectorStore,
40    VectorStoreError,
41};