.Net: Python: ChatHistory Reduction
- [x] Python implementation of IChatHistoryReducer
- [x] .Net implementation of IChatHistoryReducer
- [x] Concept samples
- [x] Learn site documentation
- [x] Ensure system prompt doesn't get truncated
is this related to #6771 #6772 #6773 #6770?
I've already got this underway for the agent framework based on #7969. Is this something separate?
We currently have this Blog post https://devblogs.microsoft.com/semantic-kernel/managing-chat-history-for-large-language-models-llms/ which describes how to manage chat history and includes samples for .Net only. The purpose of this task is to extend this to Python also. On the .Net the Agent support for managing chat history is internal at present and the samples don't require any SK changes so we don't have an official API. We may want to take advantage of the pattern in M.E.AI to support this officially in .Net i.e. create middleware implementations which support different chat history management strategies.
Thank you. Very helpful.
@markwallace-microsoft why do we need to re-open?
@moonbox3 Dmytro has to add learn site documentation and also fix system message handling. I can remove you from the issue as there is nothing for you to do. This is one of the issues with shared issues!