-
Notifications
You must be signed in to change notification settings - Fork 3.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
.Net: Moved IChatHistoryReducer from Agents to SK packages (#10285)
### Motivation and Context <!-- 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. --> Resolves: #10203 This PR: - Moves `IChatHistoryReducer` from `Agents.Core` to `Microsoft.SemanticKernel.Abstractions` package. - Moves implementations `ChatHistorySummarizationReducer` and `ChatHistoryTruncationReducer` from `Agents.Core` to `Microsoft.SemanticKernel.Core` package. The functionality is marked as experimental. ### 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 😄
- Loading branch information
1 parent
5098ba3
commit b592a4a
Showing
26 changed files
with
240 additions
and
491 deletions.
There are no files selected for viewing
2 changes: 1 addition & 1 deletion
2
dotnet/samples/Concepts/Agents/ChatCompletion_HistoryReducer.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
20 changes: 0 additions & 20 deletions
20
dotnet/samples/Concepts/ChatCompletion/ChatHistoryReducers/IChatHistoryReducer.cs
This file was deleted.
Oops, something went wrong.
140 changes: 0 additions & 140 deletions
140
dotnet/samples/Concepts/ChatCompletion/ChatHistoryReducers/SummarizingChatHistoryReducer.cs
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.