Partager via


FunctionResultExtensions.GetChatHistory(FunctionResult) Method

Definition

Get ChatHistory from context.

public static Microsoft.SemanticKernel.ChatCompletion.ChatHistory? GetChatHistory (this Microsoft.SemanticKernel.FunctionResult result);
static member GetChatHistory : Microsoft.SemanticKernel.FunctionResult -> Microsoft.SemanticKernel.ChatCompletion.ChatHistory
<Extension()>
Public Function GetChatHistory (result As FunctionResult) As ChatHistory

Parameters

result
FunctionResult

Function result.

Returns

The chat history

Applies to