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: Introduce agent chat reset functionality. Add unit tests and a sample. #8279

Merged
merged 1 commit into from
Aug 20, 2024

Conversation

moonbox3
Copy link
Contributor

Motivation and Context

There have been requests from customers to be able to reset an agent channel during the middle of an agent convo/interaction.

Description

This PR introduces functionality to be able to reset the various types of SK agent channels.

Contribution Checklist

@moonbox3 moonbox3 requested a review from a team as a code owner August 19, 2024 20:32
@markwallace-microsoft markwallace-microsoft added the python Pull requests for the Python Semantic Kernel label Aug 19, 2024
@github-actions github-actions bot changed the title Introduce agent chat reset functionality. Add unit tests and a sample. Python: Introduce agent chat reset functionality. Add unit tests and a sample. Aug 19, 2024
@markwallace-microsoft
Copy link
Member

Python Unit Test Overview

Tests Skipped Failures Errors Time
2370 1 💤 0 ❌ 0 🔥 54.597s ⏱️

@moonbox3 moonbox3 self-assigned this Aug 19, 2024
@moonbox3 moonbox3 added sk team issue A tag to denote issues that where created by the Semantic Kernel team (i.e., not the community) experimental Associated with an experimental feature agents labels Aug 19, 2024
@moonbox3 moonbox3 added this pull request to the merge queue Aug 20, 2024
Merged via the queue into microsoft:main with commit fcb391b Aug 20, 2024
29 checks passed
@moonbox3 moonbox3 deleted the agent_chat_reset branch August 20, 2024 06:00
LudoCorporateShark pushed a commit to LudoCorporateShark/semantic-kernel that referenced this pull request Aug 25, 2024
…a sample. (microsoft#8279)

### Motivation and Context

There have been requests from customers to be able to reset an agent
channel during the middle of an agent convo/interaction.

<!-- Thank you for your contribution to the semantic-kernel repo!
Please help reviewers and future users, providing the following
information:
  1. Why is this change required?
  2. What problem does it solve?
  3. What scenario does it contribute to?
  4. If it fixes an open issue, please link to the issue here.
-->

### Description

This PR introduces functionality to be able to reset the various types
of SK agent channels.
- Adds a sample showing how the reset affects the agent interactions.
- Adds unit tests to exercise the new code.
- Closes microsoft#8275 

<!-- Describe your changes, the overall approach, the underlying design.
These notes will help understanding how your code works. Thanks! -->

### Contribution Checklist

<!-- Before submitting this PR, please make sure: -->

- [X] The code builds clean without any errors or warnings
- [X] The PR follows the [SK Contribution
Guidelines](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md)
and the [pre-submission formatting
script](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md#development-scripts)
raises no violations
- [X] All unit tests pass, and I have added new tests where possible
- [X] I didn't break anyone 😄
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
agents experimental Associated with an experimental feature python Pull requests for the Python Semantic Kernel sk team issue A tag to denote issues that where created by the Semantic Kernel team (i.e., not the community)
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

Python Agents - Support chat reset
4 participants