PlannerOptions.GetAvailableFunctionsAsync 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.
Callback to get the available functions for planning (optional). Use if you want to override the default function lookup behavior. If set, this function takes precedence over Microsoft.SemanticKernel.Memory. Setting ExcludedPlugins, ExcludedFunctions will be used to filter the results.
public Func<Microsoft.SemanticKernel.Planning.PlannerOptions,string?,System.Threading.CancellationToken,System.Threading.Tasks.Task<System.Collections.Generic.IEnumerable<Microsoft.SemanticKernel.KernelFunctionMetadata>>>? GetAvailableFunctionsAsync { get; set; }
member this.GetAvailableFunctionsAsync : Func<Microsoft.SemanticKernel.Planning.PlannerOptions, string, System.Threading.CancellationToken, System.Threading.Tasks.Task<seq<Microsoft.SemanticKernel.KernelFunctionMetadata>>> with get, set
Public Property GetAvailableFunctionsAsync As Func(Of PlannerOptions, String, CancellationToken, Task(Of IEnumerable(Of KernelFunctionMetadata)))