Share via


AutoFunctionChoiceBehavior Class

Definition

Represents a FunctionChoiceBehavior that provides either all of the Kernel's plugins' functions to AI model to call or specified ones. This behavior allows the model to decide whether to call the functions and, if so, which ones to call.

public sealed class AutoFunctionChoiceBehavior : Microsoft.SemanticKernel.FunctionChoiceBehavior
type AutoFunctionChoiceBehavior = class
    inherit FunctionChoiceBehavior
Public NotInheritable Class AutoFunctionChoiceBehavior
Inherits FunctionChoiceBehavior
Inheritance
AutoFunctionChoiceBehavior

Fields

FunctionNameSeparator

The separator used to separate plugin name and function name.

(Inherited from FunctionChoiceBehavior)

Properties

Functions

Fully qualified names of the functions to provide to AI model. If null, all Kernel's plugins' functions are provided to the model. If empty, no functions are provided to the model, which is equivalent to disabling function calling.

Options

The behavior options.

Methods

GetConfiguration(FunctionChoiceBehaviorConfigurationContext)

Returns the configuration used by AI connectors to determine function choice and invocation behavior.

GetFunctions(IList<String>, Kernel, Boolean)

Returns functions AI connector should provide to the AI model.

(Inherited from FunctionChoiceBehavior)

Applies to