render_template_prompt

Function render_template_prompt 

Source
pub fn render_template_prompt(
    template_str: &str,
    query_paths: &Vec<ChangeValue>,
    partials: &HashMap<String, PromptLibraryRecord>,
) -> Result<String>
Expand description

Render a template string, placing in partials (names that map to prompts in the prompt library) and values from the query paths as records of changes that are made to the event log