Skip to main content

build_sections

Function build_sections 

Source
pub fn build_sections(
    options: &SystemPromptOptions,
    docs: &Locations,
) -> Result<IndexMap<String, String>, String>
Expand description

The prompt’s sections in order, with docs in the documentation section. preamble is plain text. Every other section is wrapped in a tag of its name.