Skip to main content

Module memory_db

Module memory_db 

Source
Expand description

Memory database module - SQLite-based storage for conversations, summaries, embeddings, and local files

Re-exports§

pub use migration::MigrationManager;
pub use conversation_store::ConversationStore;
pub use embedding_store::EmbeddingStore;
pub use embedding_store::EmbeddingStats;
pub use local_files_store::LocalFilesStore;
pub use local_files_store::LocalFile;
pub use local_files_store::LocalFileTree;
pub use all_files_store::AllFilesStore;
pub use all_files_store::AllFile;
pub use all_files_store::AllFileTree;
pub use api_keys_store::ApiKeysStore;
pub use api_keys_store::ApiKeyType;
pub use api_keys_store::ApiKeyRecord;
pub use api_keys_store::Encryption;
pub use users_store::UsersStore;
pub use users_store::User;
pub use session_file_contexts_store::SessionFileContextsStore;
pub use session_file_contexts_store::SessionFileContext;
pub use session_file_contexts_store::AttachmentRef;
pub use session_summaries_store::SessionSummariesStore;
pub use schema::*;

Modules§

all_files_store
All Files store - unlimited storage for all file formats with folder support
api_keys_store
API Keys Store — Machine-specific encryption with SQLite storage
conversation_store
Conversation storage and retrieval operations with batch support and safe parsing
embedding_store
Embedding storage and retrieval operations with ANN indexing support
local_files_store
Local files store - manages persistent file metadata in database
migration
Database migration system
schema
Database schema definitions for the memory system
session_file_contexts_store
Session file contexts store.
session_summaries_store
Storage for the single cumulative pre-clear summary per session.
users_store
Users Store - User authentication and management

Structs§

MemoryDatabase
Main database manager that coordinates all stores
Transaction
Transaction manager for atomic operations across stores