Expand description
Cascading retrieval pipeline (WG-131).
Implements a 4-tier retrieval cascade:
- BM25 keyword index (CPU-local, no API calls)
- HDC hyperdimensional encoding (CPU-local, no API calls)
- ConceptGraph ontology expansion (CPU-local, no API calls)
- API embedding fallback (external API call)
The cascade eliminates 50-70% of embedding API calls by satisfying queries from CPU-local tiers before falling back to the API.
Structsยง
- Cascade
Config - Configuration for the cascading retrieval pipeline.
- Cascade
Result - Final result from the cascading retrieval pipeline.
- Cascade
Retriever - Cascading retrieval orchestrator.
- Tier
Result - Result from a single tier in the cascade.