FlowStatusProvider.SaveChatHistoryAsync(String, String, ChatHistory) 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.
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