Alternative for Semantic Kernel IChatHistoryReducer? #1192
-
|
Is there (or are there plans for) an equivalent to the |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 11 replies
-
|
IChatReducer and friends The latter middleware applies at the IChatClient level and so can be plugged into a ChatClientAgent. We may want to introduce equivalent middleware using the same interface at the AIAgent level. |
Beta Was this translation helpful? Give feedback.
IChatReducer and friends
https://learn.microsoft.com/en-us/dotnet/api/microsoft.extensions.ai.ichatreducer?view=net-9.0-pp
https://learn.microsoft.com/en-us/dotnet/api/microsoft.extensions.ai.reducingchatclientbuilderextensions.usechatreducer?view=net-9.0-pp
The latter middleware applies at the IChatClient level and so can be plugged into a ChatClientAgent. We may want to introduce equivalent middleware using the same interface at the AIAgent level.
cc: @rogerbarreto, @crickman, @MackinnonBuck, @westey-m