Skip to content
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

.Net: Rename method and class names to use Plugin instead of Skill #2945

Closed

Conversation

lemillermicrosoft
Copy link
Member

@lemillermicrosoft lemillermicrosoft commented Sep 22, 2023

Summary

This pull request renames methods and classes that include Skill in their name to use Plugin instead. The deprecated method ImportSemanticSkillFromDirectory has been replaced with ImportSemanticPluginFromDirectory. This change is intended to improve consistency and clarity in the codebase.

Changes

  • Replaced deprecated method ImportSemanticSkillFromDirectory with ImportSemanticPluginFromDirectory

Powered by Microsoft Semantic Kernel

Renamed the method ImportSemanticSkillFromDirectory to
ImportSemanticPluginFromDirectory and updated the Obsolete attribute
message to reflect the change.
@lemillermicrosoft
Copy link
Member Author

/sk generate-pr-description

@lemillermicrosoft lemillermicrosoft added the bug Something isn't working label Sep 22, 2023
@shawncal shawncal added .NET Issue or Pull requests regarding .NET code and removed bug Something isn't working labels Sep 22, 2023
@lemillermicrosoft lemillermicrosoft added this to the R3: Cycle 3 milestone Sep 22, 2023
@github-actions github-actions bot changed the title Rename method in KernelSemanticFunctionExtensions.cs .Net: Rename method in KernelSemanticFunctionExtensions.cs Sep 22, 2023
@github-actions github-actions bot changed the title .Net: Rename method in KernelSemanticFunctionExtensions.cs .Net: Rename method in KernelSemanticFunctionExtensions.cs Rename method and class names to use Plugin instead of Skill Sep 22, 2023
@github-actions
Copy link

Generate PR Description: succeeded ✅
https://github.com/microsoft/semantic-kernel/actions/runs/6276816807

@lemillermicrosoft lemillermicrosoft changed the title .Net: Rename method in KernelSemanticFunctionExtensions.cs Rename method and class names to use Plugin instead of Skill .Net: Rename method and class names to use Plugin instead of Skill Sep 22, 2023
@lemillermicrosoft lemillermicrosoft marked this pull request as ready for review September 22, 2023 16:35
@lemillermicrosoft lemillermicrosoft requested a review from a team as a code owner September 22, 2023 16:35
@@ -118,7 +118,7 @@ public static class KernelSemanticFunctionExtensions
return kernel.RunAsync(skfunction);
}

[Obsolete("Methods and classes which isnclud Skill in the name have been renamed to use Plugin. Use Kernel.ImportSemanticFunctionsFromDirectory instead. This will be removed in a future release.")]
[Obsolete("Methods and classes which isnclud Skill in the name have been renamed to use Plugin. Use Kernel.ImportSemanticPluginFromDirectory instead. This will be removed in a future release.")]

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@lemillermicrosoft I was chatting with Matthew last night and he has requested we use the ImportSemanticFunctionsFromDirectory naming. So this PR will be superseded by this PR #2937.

auto-merge was automatically disabled September 22, 2023 17:36

Pull request was closed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
.NET Issue or Pull requests regarding .NET code
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

3 participants