次の方法で共有


FunctionChoiceBehavior.GetFunctions Method

Definition

Returns functions AI connector should provide to the AI model.

protected System.Collections.Generic.IReadOnlyList<Microsoft.SemanticKernel.KernelFunction>? GetFunctions (System.Collections.Generic.IList<string>? functionFQNs, Microsoft.SemanticKernel.Kernel? kernel, bool autoInvoke);
member this.GetFunctions : System.Collections.Generic.IList<string> * Microsoft.SemanticKernel.Kernel * bool -> System.Collections.Generic.IReadOnlyList<Microsoft.SemanticKernel.KernelFunction>
Protected Function GetFunctions (functionFQNs As IList(Of String), kernel As Kernel, autoInvoke As Boolean) As IReadOnlyList(Of KernelFunction)

Parameters

functionFQNs
IList<String>

Functions provided as fully qualified names.

kernel
Kernel

The Kernel to be used for function calling.

autoInvoke
Boolean

Indicates whether the functions should be automatically invoked by the AI connector.

Returns

The configuration.

Applies to