This pull request introduces a new feature to the semantic-kernel repository, specifically focusing on enhancing the skillsets functionality. The changes primarily involve updating the method signatures to include an optional ITextCompletion parameter, which allows for more flexible and configurable text completion services. Additionally, several methods and classes have been refactored to remove deprecated functionalities and improve code clarity.
Refactored method signatures to include an optional ITextCompletion parameter, removed deprecated methods, and updated internal logic to handle the new parameter.
Updated RunAsync method calls to include the new model parameter.
Tips
- Trigger a new Sourcery review by commenting `@sourcery-ai review` on the pull request.
- Continue your discussion with Sourcery by replying directly to review comments.
- You can change your review settings at any time by accessing your [dashboard](https://app.sourcery.ai):
- Enable or disable the Sourcery-generated pull request summary or reviewer's guide;
- Change the review language;
- You can always [contact us](mailto:support@sourcery.ai) if you have any questions or feedback.
Reviewer's Guide by Sourcery
This pull request introduces a new feature to the semantic-kernel repository, specifically focusing on enhancing the skillsets functionality. The changes primarily involve updating the method signatures to include an optional
ITextCompletion
parameter, which allows for more flexible and configurable text completion services. Additionally, several methods and classes have been refactored to remove deprecated functionalities and improve code clarity.File-Level Changes
dotnet/src/SemanticKernel.UnitTests/Planning/PlanTests.cs
dotnet/src/SemanticKernel.UnitTests/Planning/PlanSerializationTests.cs
dotnet/src/SemanticKernel.UnitTests/TemplateEngine/Blocks/CodeBlockTests.cs
dotnet/src/Extensions/Extensions.UnitTests/Planning/SequentialPlanner/SequentialPlannerTests.cs
dotnet/src/Extensions/Extensions.UnitTests/Planning/SequentialPlanner/SequentialPlanParserTests.cs
ITextCompletion
parameter and modified mock setups to accommodate the new parameter.dotnet/src/SemanticKernel/SkillDefinition/SKFunction.cs
dotnet/src/SemanticKernel/Planning/Plan.cs
dotnet/src/SemanticKernel/Kernel.cs
dotnet/src/SemanticKernel.Abstractions/SkillDefinition/ISKFunction.cs
dotnet/src/SemanticKernel/Planning/KernelPlanExtensions.cs
dotnet/src/SemanticKernel.Abstractions/IKernel.cs
dotnet/src/SemanticKernel/SkillDefinition/SKFunctionExtensions.cs
ITextCompletion
parameter, removed deprecated methods, and updated internal logic to handle the new parameter.dotnet/src/SemanticKernel.UnitTests/KernelTests.cs
dotnet/src/SemanticKernel.UnitTests/Security/TrustServiceTests.cs
dotnet/src/IntegrationTests/Security/TrustServiceTests.cs
dotnet/src/SemanticKernel.UnitTests/SkillDefinition/SKFunctionTests1.cs
dotnet/src/IntegrationTests/Planning/PlanTests.cs
dotnet/src/IntegrationTests/WebSkill/WebSkillTests.cs
model
parameter inRunAsync
method calls.samples/dotnet/kernel-syntax-examples/Example22_OpenApiSkill_AzureKeyVault.cs
samples/dotnet/kernel-syntax-examples/Example23_OpenApiSkill_Github.cs
samples/dotnet/kernel-syntax-examples/Example24_OpenApiSkill_Jira.cs
samples/dotnet/kernel-syntax-examples/Example03_Variables.cs
samples/dotnet/kernel-syntax-examples/Example12_SequentialPlanner.cs
samples/dotnet/kernel-syntax-examples/Example21_ChatGPTPlugins.cs
samples/dotnet/kernel-syntax-examples/Example35_GrpcSkills.cs
RunAsync
method calls to include the newmodel
parameter.Tips
- Trigger a new Sourcery review by commenting `@sourcery-ai review` on the pull request. - Continue your discussion with Sourcery by replying directly to review comments. - You can change your review settings at any time by accessing your [dashboard](https://app.sourcery.ai): - Enable or disable the Sourcery-generated pull request summary or reviewer's guide; - Change the review language; - You can always [contact us](mailto:support@sourcery.ai) if you have any questions or feedback.Originally posted by @sourcery-ai in https://github.com/Bryan-Roe/semantic-kernel/pull/518#issuecomment-2266725777