Skip to content

Latest commit

 

History

History
9 lines (7 loc) · 392 Bytes

template.md

File metadata and controls

9 lines (7 loc) · 392 Bytes

Template

We can define the prompt as a template, and the template can be changed according to variables, so that a instruction file can be used to generate a dynamic prompt. BotSharp uses liquid templates to support various complex dynamic prompt engineering.

ITemplateRender

bool Render(Agent agent, Dictionary<string, object> dict)