HandlebarsPlannerOptions.CreatePlanPromptHandler Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Delegate that returns an override for the CreatePlan prompt.
public Func<string>? CreatePlanPromptHandler { get; set; }
member this.CreatePlanPromptHandler : Func<string> with get, set
Public Property CreatePlanPromptHandler As Func(Of String)
Property Value
Remarks
Handler will be used as a callback. The callback should return a valid Handlebars template string in a ```handlebars codeblock. If this is set, the planner will use this prompt instead of the default prompt. Devs can select any partial defined in Planners.Handlebars.CreatePlanPromptPartials namespace when constructing their own prompt. No partials are included by default; make sure to select partials such as "{{> UserGoal }}" or {{> AdditionalContext}} if needed.