Skip to main content

Module memory

Module memory 

Source
Expand description

Memory search and retrieval for RustyClaw.

Provides semantic-like search over MEMORY.md and memory/*.md files. Current implementation uses keyword/BM25-style matching with temporal decay for recency weighting. Embeddings can be added later for true semantic search.

Structs§

MemoryChunk
A chunk of text from a memory file with metadata.
MemoryIndex
Memory search index.
SearchResult
A search result with relevance score.

Functions§

read_memory_file
Read specific lines from a memory file.