AutoFunctionInvocationContext Constructor
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.
Initializes a new instance of the AutoFunctionInvocationContext class.
public AutoFunctionInvocationContext (Microsoft.SemanticKernel.Kernel kernel, Microsoft.SemanticKernel.KernelFunction function, Microsoft.SemanticKernel.FunctionResult result, Microsoft.SemanticKernel.ChatCompletion.ChatHistory chatHistory);
new Microsoft.SemanticKernel.AutoFunctionInvocationContext : Microsoft.SemanticKernel.Kernel * Microsoft.SemanticKernel.KernelFunction * Microsoft.SemanticKernel.FunctionResult * Microsoft.SemanticKernel.ChatCompletion.ChatHistory -> Microsoft.SemanticKernel.AutoFunctionInvocationContext
Public Sub New (kernel As Kernel, function As KernelFunction, result As FunctionResult, chatHistory As ChatHistory)
Parameters
- kernel
- Kernel
The Kernel containing services, plugins, and other state for use throughout the operation.
- function
- KernelFunction
The KernelFunction with which this filter is associated.
- result
- FunctionResult
The result of the function's invocation.
- chatHistory
- ChatHistory
The chat history associated with automatic function invocation.