Skip to main content

context_prefix

Function context_prefix 

Source
pub fn context_prefix(headers: &[String]) -> String
Expand description

The text prepended to a chunk’s body to form its contextualized text, e.g. [ctx:Guide > Install] . The prefix is counted against the token budget.