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, Microsoft.SemanticKernel.ChatMessageContent chatMessageContent);
new Microsoft.SemanticKernel.AutoFunctionInvocationContext : Microsoft.SemanticKernel.Kernel * Microsoft.SemanticKernel.KernelFunction * Microsoft.SemanticKernel.FunctionResult * Microsoft.SemanticKernel.ChatCompletion.ChatHistory * Microsoft.SemanticKernel.ChatMessageContent -> Microsoft.SemanticKernel.AutoFunctionInvocationContext
Public Sub New (kernel As Kernel, function As KernelFunction, result As FunctionResult, chatHistory As ChatHistory, chatMessageContent As ChatMessageContent)
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.
- chatMessageContent
- ChatMessageContent
The chat message content associated with automatic function invocation.