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

Documentation on Adding Custom Plugins/Skills #499

Open
patelfagun98 opened this issue Oct 13, 2023 · 1 comment
Open

Documentation on Adding Custom Plugins/Skills #499

patelfagun98 opened this issue Oct 13, 2023 · 1 comment
Assignees
Labels
documentation Improvements or additions to documentation

Comments

@patelfagun98
Copy link

patelfagun98 commented Oct 13, 2023

I was trying to add a custom Plugin/Skills based on this doc (https://learn.microsoft.com/en-us/semantic-kernel/ai-orchestration/plugins/native-functions/using-the-skfunction-decorator?tabs=Csharp) and was curious if the team could provide some documentation on how to integrate these plugins with the chat copilot code. I understand the support for OpenAPI standard plugins exists already but I wanted to add plugins that are added to the kernel out-of-the-box.

I can see that the OpenAPI standard plugins are registered with the kernel in ChatController.cs but wasn't sure where in the codebase my custom skill would get registered.

Let me know if I can provide more context on my request. Thanks!

@glahaye glahaye added the documentation Improvements or additions to documentation label Oct 18, 2023
@H-JonathanLoise
Copy link

@patelfagun98 You have to add it in this method: private static Task RegisterChatCopilotFunctionsAsync(IServiceProvider sp, Kernel kernel) but it's not working, there is already the timeplugin but if you ask "what time is it" the chat respond that was not able to retrieve the information. Tried in an external project and it works.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
No open projects
Status: No status
Development

No branches or pull requests

4 participants