次の方法で共有


PlannerOptions.GetAvailableFunctionsAsync Property

Definition

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)))

Property Value

Applies to