Skip to main content

correction_messages

Function correction_messages 

Source
pub fn correction_messages(flagged_text: &str) -> Vec<Message>
Expand description

Build the message list for a single corrective LLM pass over a flagged response: a system instruction to rewrite away sycophancy while preserving correct, substantive content, plus the flagged text as the user turn.