RequiredFunctionChoiceBehavior Class
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.
Represents FunctionChoiceBehavior that provides either all of the Kernel's plugins' functions to AI model to call or specified ones. This behavior forces the model to always call one or more functions.
public sealed class RequiredFunctionChoiceBehavior : Microsoft.SemanticKernel.FunctionChoiceBehavior
type RequiredFunctionChoiceBehavior = class
inherit FunctionChoiceBehavior
Public NotInheritable Class RequiredFunctionChoiceBehavior
Inherits FunctionChoiceBehavior
- Inheritance
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) |