KernelArgumentsExtensions.GetChatHistory(KernelArguments) Method
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.
Get ChatHistory from context.
public static Microsoft.SemanticKernel.ChatCompletion.ChatHistory? GetChatHistory (this Microsoft.SemanticKernel.KernelArguments arguments);
static member GetChatHistory : Microsoft.SemanticKernel.KernelArguments -> Microsoft.SemanticKernel.ChatCompletion.ChatHistory
<Extension()>
Public Function GetChatHistory (arguments As KernelArguments) As ChatHistory
Parameters
- arguments
- KernelArguments
Context arguments.
Returns
The chat history