pub fn render(
template: &str,
context: &BTreeMap<String, Value>,
) -> Result<String, PromptError>Expand description
Render a template string using {{var}} placeholders. Handles optional whitespace: {{ var }}
and {{var}} are equivalent.