Expand description
Request-boundary lowering for Prompt Precision local-model calls.
Structs§
- Prepared
Prompt - The compiled+rendered result of one profile against one request.
plan_id/profile_idareNonefor the no-conditioning legacy path. - Prompt
Conditioning - An owned, cold-boundary profile. It is compiled into caller-buffered plan data before inference starts; no profile changes the original request.
- Prompt
Conditioning Budget - Prompt
Evidence - Prompt
Requirement
Functions§
- prepare_
conditioned_ prompt - Route-agnostic preparation: compile the same profile document for any
inference route (HTTP, desktop chat, Ollama, remote MCP).
promptis the raw user request — used as the objective when the profile omits one — andgraph_contextsupplies the fallback allowed-scope hash. - prepare_
prompt - Compile and render the semantic profile into the precise prompt consumed by
local inference. The returned receipt makes the applied plan inspectable.
Thin adapter over
prepare_conditioned_prompt— identical semantics to the shared route-agnostic entry point.