Bryan-Roe / semantic-kernel

Integrate cutting-edge LLM technology quickly and easily into your apps
https://bryan-roe.github.io/semantic-kernel/
Apache License 2.0
0 stars 3 forks source link

<!-- Generated by sourcery-ai[bot]: start review_guide --> #548

Closed Bryan-Roe closed 3 weeks ago

Bryan-Roe commented 3 months ago

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

Files 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
Updated method signatures to include an optional 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
Refactored method signatures to include an optional 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
Updated test cases to include the new model parameter in RunAsync 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
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.

Originally posted by @sourcery-ai in https://github.com/Bryan-Roe/semantic-kernel/pull/518#issuecomment-2266725777

github-actions[bot] commented 1 month ago

Stale issue message