FlowStatusProvider.GetChatHistoryAsync(String, String) 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 the chat history for current execution session.
public System.Threading.Tasks.Task<Microsoft.SemanticKernel.ChatCompletion.ChatHistory?> GetChatHistoryAsync (string sessionId, string stepId);
abstract member GetChatHistoryAsync : string * string -> System.Threading.Tasks.Task<Microsoft.SemanticKernel.ChatCompletion.ChatHistory>
override this.GetChatHistoryAsync : string * string -> System.Threading.Tasks.Task<Microsoft.SemanticKernel.ChatCompletion.ChatHistory>
Public Function GetChatHistoryAsync (sessionId As String, stepId As String) As Task(Of ChatHistory)
Parameters
- sessionId
- String
The session id
- stepId
- String
The step id