AI solutionsShared across all subject areas

Context Window Management

Decides what goes into the context window and what is left out, under a hard token limit.

Description

Selects, compresses, orders and truncates the material passed to a model. The unglamorous engineering that determines output quality more than model choice usually does.

When it fits

Any retrieval-augmented or long-conversation system, which is to say most production deployments.

When it does not fit

Short single-turn tasks where everything relevant fits comfortably.

Governance requirement

Where material is omitted from context, that omission must be recorded. An answer produced without the relevant evidence is not wrong because the model failed; it is wrong because the evidence was not there, and the trace should say so.

Characteristic failure

Silent truncation. Content dropped to fit the limit, with the model answering from what remained and no indication anything was missing.

Example

An investigation with forty prior resolutions available and room for eight, where which eight are chosen determines the answer — and the trace records the other thirty-two were excluded.

AI solution components4
  • Relevance-Based Selector
  • Context Compression
  • Position Optimiser
  • Omission Recorder
AI opportunity solutions

Deliberately empty

Two different absences share this shape. Foundational solutions get built whatever the domain, so no domain links them; the rest are solutions this domain genuinely does not reach for. v_ai_solutions_unlinked separates the two.