ChatHistoryExtensions.ToDescendingAsync(ChatHistory) Method

Definition

Asynchronous enumeration of chat-history in descending order.

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

Parameters

history
ChatHistory

The chat-history

Returns

Applies to