ToolCallBehavior 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 a behavior for OpenAI tool calls.
public abstract class ToolCallBehavior
type ToolCallBehavior = class
Public MustInherit Class ToolCallBehavior
- Inheritance
-
ToolCallBehavior
Properties
AutoInvokeKernelFunctions |
Gets an instance that will both provide all of the Kernel's plugins' function information to the model and attempt to automatically handle any function call requests. |
EnableKernelFunctions |
Gets an instance that will provide all of the Kernel's plugins' function information. Function call requests from the model will be propagated back to the caller. |
ToolCallResultSerializerOptions |
Obsolete.
Options to control tool call result serialization behavior. |
Methods
EnableFunctions(IEnumerable<OpenAIFunction>, Boolean) |
Gets an instance that will provide the specified list of functions to the model. |
RequireFunction(OpenAIFunction, Boolean) |
Gets an instance that will request the model to use the specified function. |