InMemoryChatHistoryProviderOptions.ChatReducer Property
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.
Gets or sets an optional IChatReducer instance used to process, reduce, or optimize chat messages. This can be used to implement strategies like message summarization, truncation, or cleanup.
public Microsoft.Extensions.AI.IChatReducer? ChatReducer { get; set; }
member this.ChatReducer : Microsoft.Extensions.AI.IChatReducer with get, set
Public Property ChatReducer As IChatReducer