Skip to main content

Module context_compiler

Module context_compiler 

Source
Expand description

Context compiler — hard-budget context assembly as a query primitive.

Composes exact BPE counting, temporal decay, weighted RRF fusion, and MMR diversity into a single entry point returning a packed block ≤ budget B.

Structs§

CompiledContext
CompiledFact
ContextCandidate
ContextCompiler
Greedy MMR selection with exact BPE running sum; stops when budget exhausted.
ContextSpec

Enums§

ContextTemplate

Type Aliases§

DocId