HandlebarsPlannerOptions.GetAdditionalPromptContext 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 to get additional context for the prompt.
public Func<System.Threading.Tasks.Task<string>>? GetAdditionalPromptContext { get; set; }
member this.GetAdditionalPromptContext : Func<System.Threading.Tasks.Task<string>> with get, set
Public Property GetAdditionalPromptContext As Func(Of Task(Of String))
Property Value
Remarks
Additional context can be any domain knowledge or specific content that might help the model better fulfill the goal. This context should just hold static information that's the same for every request. It should not include variables; use KernelArguments when invoking the planner instead.