-
Notifications
You must be signed in to change notification settings - Fork 3.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
.Net: StepwisePlanner Chat support (#2504)
### Motivation and Context This pull request introduces a series of improvements and updates to the StepwisePlanner, StepwisePlannerTests, and WebSearchEngineSkill. The changes include better handling of action invocation, function retrieval, logging, chat history management, execution helpers, and the addition of an offset parameter to the WebSearchEngineSkill. Additionally, the StepwisePlannerTests have been enhanced with more test cases and refined expected minimum steps, while the ChatRequestSettings class has been improved with a method to create a new settings object from another settings object. Resolves #2367 Fixes #2466 Fixes #2553 ### Description 1. Improved the StepwisePlanner class with better action invocation, function retrieval, logging, chat history management, and execution helpers. 2. Enhanced the StepwisePlannerTests with more test cases and refined expected minimum steps. 3. Added an offset parameter to the WebSearchEngineSkill class for improved search functionality. 4. Improved the ChatRequestSettings class with a method to create a new settings object from another settings object. 5. Updated the Example51_StepwisePlanner.cs file with new questions, improved result handling, and additional output for better analysis. 6. Enhanced the ParseResultTests with new test cases for the ParseResult class. 7. Updated the WebSearchEngineSkill to include parameter descriptions for the SearchAsync method. 8. Added project references and minor changes to the SemanticKernel.MetaPackage project. ### 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 😄 Co-authored-by: Andrew Hesky @andhesky
- Loading branch information
1 parent
7313258
commit f6fb9f9
Showing
20 changed files
with
892 additions
and
367 deletions.
There are no files selected for viewing
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
Oops, something went wrong.