Share via


FlowStatusProvider.SaveChatHistoryAsync(String, String, ChatHistory) Method

Definition

Save the chat history for current execution session.

public System.Threading.Tasks.Task SaveChatHistoryAsync (string sessionId, string stepId, Microsoft.SemanticKernel.ChatCompletion.ChatHistory history);
abstract member SaveChatHistoryAsync : string * string * Microsoft.SemanticKernel.ChatCompletion.ChatHistory -> System.Threading.Tasks.Task
override this.SaveChatHistoryAsync : string * string * Microsoft.SemanticKernel.ChatCompletion.ChatHistory -> System.Threading.Tasks.Task
Public Function SaveChatHistoryAsync (sessionId As String, stepId As String, history As ChatHistory) As Task

Parameters

sessionId
String

The session id

stepId
String

The step id

history
ChatHistory

The chat history

Returns

Implements

Applies to