Skip to main content

Module memory_core

Module memory_core 

Source

Re-exports§

pub use embedder::OnnxEmbedder;
pub use embedder::Embedder;
pub use embedder::PlaceholderEmbedder;
pub use scoring::ABSTENTION_MIN_TEXT;
pub use scoring::GRAPH_MIN_EDGE_WEIGHT;
pub use scoring::GRAPH_NEIGHBOR_FACTOR;
pub use scoring::RRF_WEIGHT_FTS;
pub use scoring::RRF_WEIGHT_VEC;
pub use scoring::ScoringParams;
pub use scoring::feedback_factor;
pub use scoring::jaccard_pre;
pub use scoring::jaccard_similarity;
pub use scoring::priority_factor;
pub use scoring::time_decay_et;
pub use scoring::type_weight_et;
pub use scoring::word_overlap_pre;

Modules§

embedder
reranker
scoring
storage

Structs§

BackupInfo
Backup info returned by BackupManager::create_backup.
CheckpointInput
GraphNode
ListResult
Result of a paginated list query.
MemoryInput
MemoryUpdate
Pipeline
Orchestrates the memory pipeline by coordinating ingestors, processors, and storage.
PlaceholderPipeline
A placeholder implementation of the memory pipeline for development and testing.
Relationship
A directed relationship between two memories.
SearchOptions
SearchResult
Search result item returned by memory queries.
SemanticResult
Semantic search result item with similarity score.
WelcomeOptions

Enums§

EventType
Strongly-typed event type for memories.
MemoryKind

Constants§

REL_PARALLEL_CONTEXT
REL_PRECEDED_BY
Temporal adjacency: the source memory was stored immediately before the target within the same session.
REL_RELATED
Semantic similarity detected at store time (auto-relate).
REL_RELATES_TO
Entity co-occurrence: two memories share an entity tag.
REL_SHARES_THEME
REL_SIMILAR_TO
Alternate semantic-similarity labels used in graph scoring.
TTL_EPHEMERAL
TTL_LONG_TERM
TTL_SHORT_TERM

Traits§

AdvancedSearcher
BackupManager
Manages database backup, rotation, and restore.
CheckpointManager
Deleter
Trait for deleting stored memories.
ExpirationSweeper
FeedbackRecorder
GraphTraverser
Ingestor
Trait for ingesting raw content into the memory system.
LessonQuerier
Lister
Trait for paginated listing of memories.
MaintenanceManager
Maintenance operations for memory store housekeeping.
PhraseSearcher
Processor
Trait for processing ingested content (e.g., summarization, embedding).
ProfileManager
Recents
RelationshipQuerier
Trait for querying relationships of a memory.
ReminderManager
Retriever
Trait for retrieving stored memory data.
Searcher
Trait for searching stored memory data.
SemanticSearcher
SimilarFinder
StatsProvider
Extended statistics beyond basic counts.
Storage
Trait for storing processed memory data.
Tagger
Trait for querying memories by tag.
Updater
Trait for updating stored memory content and tags.
VersionChainQuerier
WelcomeProvider
Session startup briefing provider.

Functions§

is_valid_event_type
Checks if a string represents a known event type. Thin wrapper that delegates to EventType.
parse_duration