Expand description
Smart retrieval with two-tier context optimization
This module implements intelligent retrieval that minimizes recomputation cost by enforcing strict token budgets and importance filtering.
Key optimizations:
- Tier 1 (hot cache) → O(1) return, 100% compute savings
- Tier 3 (cold storage) → Importance-filtered, token-budgeted SQLite retrieval
Structs§
- Retrieval
Result - Result of smart retrieval operation
- Smart
Retrieval - Smart retrieval orchestrator
- Smart
Retrieval Config - Configuration for smart retrieval
Enums§
- Retrieval
Strategy - Strategy used for retrieval