Skip to content

.NET Compaction - Define implementation of IChatReducer that operates by using a CompactionStrategy #4602

Description

@crickman

Exposing any CompactionStrategy as IChatReducer allows the compaction framework to operation within systems bound to the IChatReducer (MEAI) contract.

Create an extension method based on CompactionStrategy that returns an IChatReducer by using an internal adapter class. Put this method in a file named ChatStrategyExtensions.cs.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

.NETUsage: [Issues, PRs], Target: .Net

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions