-
Notifications
You must be signed in to change notification settings - Fork 6
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
Update to RC1 of Semantic Kernel #32
Open
lemillermicrosoft
wants to merge
7
commits into
main
Choose a base branch
from
rc1
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Conversation
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 commit updates the Microsoft.SemanticKernel packages from 1.0.0-beta7 to 1.0.0-beta8, including the Core, Plugins.Web, and Reliability.Basic packages.
This commit updates the versions of several packages, including 'Microsoft.Extensions.Logging.Console' and 'Microsoft.SemanticKernel' packages. It also modifies the dependencies in 'SKonsole.csproj', replacing 'Microsoft.SemanticKernel.Planners.Core' and 'Microsoft.SemanticKernel.Reliability.Basic' with 'Microsoft.SemanticKernel.Planners.Handlebars' and 'Microsoft.SemanticKernel.Planners.OpenAI'. These changes are likely to improve the functionality and reliability of the project.
This commit includes significant changes to the GitPlugin, SuperFileIOPlugin, and PRPlugin classes, as well as updates to the associated configuration files. The main focus of these changes is to update the code to work with the new Kernel updates. In GitPlugin and SuperFileIOPlugin, the IKernel interface has been replaced with the Kernel class. The ITextCompletion service has been replaced with the ITextGenerationService. The SKFunction attribute and SKContext class have been replaced with the KernelFunction attribute and KernelArguments class respectively. In PRPlugin, the SKFunction attribute has been replaced with the KernelFunction attribute. The way functions are accessed has been changed from `context.Functions.GetFunction` to `kernel.Plugins`. The `RunAsync` method has also been replaced with `InvokeAsync`. The `config.json` files for the plugins have also been updated. The `completion` and `input` sections have been replaced with `execution_settings`. These changes ensure that the plugins are compatible with the latest version of the Kernel and can utilize its new features and improvements.
This commit includes a significant overhaul of the interaction between the kernel and plugins. The `ImportFunctions` method has been replaced with `ImportPluginFromObject` and `RunAsync` with `InvokeAsync` for better clarity and consistency. The handling of kernel responses has also been updated to use `KernelArguments` instead of direct string values. Additionally, the `SequentialPlanner` has been replaced with `HandlebarsPlanner` in the `PlannerCommand` class. Some unused imports were also removed. The StepwisePlannerCommand and StepwisePlugin classes have been significantly refactored, with changes including renaming of classes and methods, changing the way parameters are set, and modifying the way functions are called. The `IKernel` interface has been replaced with the `Kernel` class in several places, and the `SKFunction` attribute with the `KernelFunction` attribute. The KernelProvider class has been refactored, changing the return type of the Get method from `IKernel` to `Kernel`. The configuration for OpenAI and AzureOpenAI chat completion has been updated, and the retry logic has been removed from the kernel builder. In the StepwisePlannerCommand class, additional context variables have been added to capture the steps taken and the final answer. These changes aim to improve the code's readability and maintainability.
This commit addresses an issue in the PRCommand class where the logger was incorrectly trying to retrieve a string value from the kernel response. The type has been corrected to KernelArguments, ensuring that the logger correctly retrieves the InputParameterName from the kernel response. This change improves the accuracy and reliability of the logging process.
This commit updates the instructions for generating commit messages. The changes include specifying that the emoji should be the actual character, not its shortcode, and clarifying the format of the output. The instructions now explicitly state that the output should not include quotes or escaped newline characters.
This commit introduces a new function to the WriterPlugin class in the SKonsole application. The function, `_funnyPoemFunction`, has been added to a new instance of `KernelPlugin` which is then added to the kernel's plugin list. This change enhances the functionality of the WriterPlugin by providing additional capabilities.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.