Skip to content

Commit 693a4d4

Browse files
committed
x
1 parent 0d97434 commit 693a4d4

7 files changed

Lines changed: 577 additions & 8 deletions

File tree

docs/design/logo-horizontal.svg

Lines changed: 10 additions & 7 deletions
Loading

rust/src/retrieval/cache/mod.rs

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,17 @@
33

44
//! Caching for retrieval operations.
55
//!
6-
//! Caches search paths and node scores for repeated queries.
6+
//! Three-tier reasoning cache:
7+
//! - **L1**: Exact query match — instant cache hit for repeated queries
8+
//! - **L2**: Path pattern cache — reuse navigation decisions across queries
9+
//! - **L3**: Strategy score cache — share keyword/BM25 scores across queries
10+
//!
11+
//! Legacy `PathCache` remains for backward compatibility.
712
813
mod path_cache;
14+
mod reasoning_cache;
915

1016
pub use path_cache::PathCache;
17+
pub use reasoning_cache::{
18+
CachedCandidate, ReasoningCache, ReasoningCacheConfig, ReasoningCacheStats,
19+
};

0 commit comments

Comments
 (0)