Share via


KernelArgumentsExtensions.GetChatHistory(KernelArguments) Method

Definition

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

Applies to