Skip to main content

attributed_message

Function attributed_message 

Source
pub fn attributed_message(speaker: &str, text: &str) -> TurnMessage
Expand description

Build an attributed user-role turn message rendered as "<speaker>: text", so the model sees who said what in a multi-party thread.