Share via


NoneFunctionChoiceBehavior Class

Definition

Represents FunctionChoiceBehavior that provides either all of the Kernel's plugins' functions to AI model to call or specified ones but instructs it not to call any of them. The model may use the provided function in the response it generates. E.g. the model may describe which functions it would call and with what parameter values. This response is useful if the user should first validate what functions the model will use.

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

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