FunctionResultExtensions.GetChatHistory(FunctionResult) 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 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