Skip to main content

replace_markers

Function replace_markers 

Source
pub fn replace_markers(text: &str) -> String
Expand description

Replace model and host turn markers with [marker]: a handoff that carries </s> or <|im_start|> invites whatever reads it to treat the text as a turn boundary.