ChatHistoryExtensions Class
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.
Extension methods for chat history.
public static class ChatHistoryExtensions
type ChatHistoryExtensions = class
Public Module ChatHistoryExtensions
- Inheritance
-
ChatHistoryExtensions
Methods
| ReduceAsync(ChatHistory, IChatHistoryReducer, CancellationToken) |
Returns the reduced history using the provided reducer without mutating the source history. |
| ReduceAsync(IReadOnlyList<ChatMessageContent>, IChatHistoryReducer, CancellationToken) |
Returns the reduced history using the provided reducer without mutating the source history. |
| ReduceInPlaceAsync(ChatHistory, IChatHistoryReducer, CancellationToken) |
Process history reduction and mutate the provided history in place. |