Skip to main content

prompt_template_from

Function prompt_template_from 

Source
pub fn prompt_template_from(md: &str) -> PromptTemplate
Expand description

Parse caller-supplied prompt-scaffolding Markdown (same ## <field> shape as the built-in metrics/prompt.md) into a PromptTemplate — the hook a [templates] prompt = "…" config override flows through.