Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Python: ChatHistory Reduction #10102

Open
markwallace-microsoft opened this issue Jan 7, 2025 · 4 comments · May be fixed by #10190
Open

Python: ChatHistory Reduction #10102

markwallace-microsoft opened this issue Jan 7, 2025 · 4 comments · May be fixed by #10190
Assignees
Labels
Build Features planned for next Build conference python Pull requests for the Python Semantic Kernel SK-H2-Planning Issues tagged with this label are listed in SK H2 Planning loop

Comments

@markwallace-microsoft
Copy link
Member

Minimum is to create Python samples equivalent to what we have in .NET

@markwallace-microsoft markwallace-microsoft added .NET Issue or Pull requests regarding .NET code python Pull requests for the Python Semantic Kernel triage Build Features planned for next Build conference and removed .NET Issue or Pull requests regarding .NET code triage labels Jan 7, 2025
@github-actions github-actions bot changed the title ChatHistory Reduction .Net: ChatHistory Reduction Jan 7, 2025
@github-actions github-actions bot changed the title .Net: ChatHistory Reduction Python: ChatHistory Reduction Jan 7, 2025
@markwallace-microsoft markwallace-microsoft moved this to Backlog: Planned in Semantic Kernel Jan 7, 2025
@eavanvalkenburg
Copy link
Member

is this related to #6771 #6772 #6773 #6770?

@markwallace-microsoft markwallace-microsoft added the SK-H2-Planning Issues tagged with this label are listed in SK H2 Planning loop label Jan 13, 2025
@moonbox3
Copy link
Contributor

moonbox3 commented Jan 14, 2025

I've already got this underway for the agent framework based on #7969. Is this something separate?

@markwallace-microsoft
Copy link
Member Author

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.

@moonbox3
Copy link
Contributor

Thank you. Very helpful.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Build Features planned for next Build conference python Pull requests for the Python Semantic Kernel SK-H2-Planning Issues tagged with this label are listed in SK H2 Planning loop
Projects
Status: Backlog: Planned
Development

Successfully merging a pull request may close this issue.

4 participants