Module prompt_ir
Module prompt_ir
Module prompt_ir
Generated from cargo doc --no-deps -p nemo-relay -p nemo-relay-adaptive -p nemo-relay-ffi.
Prompt Intermediate Representation (IR) types for the Adaptive Cache Governor (ACG) system.
The Prompt IR decomposes LLM conversations into addressable blocks with structural metadata for cache analysis and prompt rewriting. This is deliberately different from the message-oriented AnnotatedLlmRequest in core - the IR flattens the hierarchy into a sequence of blocks, each carrying provenance, sensitivity, and stability metadata.