Partager via


ChatHistoryExtensions.ToDescending(ChatHistory) Method

Definition

Enumeration of chat-history in descending order.

public static System.Collections.Generic.IEnumerable<Microsoft.SemanticKernel.ChatMessageContent> ToDescending (this Microsoft.SemanticKernel.ChatCompletion.ChatHistory history);
static member ToDescending : Microsoft.SemanticKernel.ChatCompletion.ChatHistory -> seq<Microsoft.SemanticKernel.ChatMessageContent>
<Extension()>
Public Iterator Function ToDescending (history As ChatHistory) As IEnumerable(Of ChatMessageContent)

Parameters

history
ChatHistory

The chat-history

Returns

Applies to