Skip to main content

prepare_prompt

Function prepare_prompt 

Source
pub fn prepare_prompt(
    request: &PoetLlmRequest,
) -> Result<PreparedPrompt, String>
Expand description

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.