MENU

Fun & Interesting

Creating and using Plugins with the Semantic Kernel SDK 🤖

Will Velida 6,823 1 year ago
Video Not Working? Fix It Now

When we use the Semantic Kernel SDK, we use plugins that act as the building blocks for our AI applications. Plugins essentially define the tasks that the kernel should complete, and the kernel interfaces with large language models and run the plugins we define. Need an intro to the Semantic Kernel SDK? Check out this video: https://www.youtube.com/watch?v=ZIBSD8ECuiw&ab_channel=WillVelida Plugins can include native code and natural language prompts, allowing us to use generative AI in our application. Plugins give us the flexibility of defining desired behavior in our application, and we can create custom prompt plugins to fine tune our applications precisely as we need to. In this video, we'll talk about how we can create our own Semantic Kernel SDK plugins to accomplish different custom tasks. We'll also look at how we can use the built-in plugins from the Semantic Kernel SDK to create our applications. Chapters 0:00 What we'll learn 1:07 Working with the built-in plugins 2:17 How can we optimize our plugins? 3:59 Saving our prompts to files 5:23 Installing the required packages 8:06 Setting up our kernel 9:09 Creating and running our first prompt 10:30 Refining our prompt 12:00 Adding context to our prompt 13:45 Adding a persona for our prompt 16:17 Providing instructions to our prompt 18:16 Saving our prompts to files 26:24 Importing our custom prompts into the kernel 29:03 Wrap up Learn more! - What is Semantic Kernel? - https://learn.microsoft.com/en-us/semantic-kernel/overview/ - Getting started with the Semantic Kernel - https://learn.microsoft.com/en-us/semantic-kernel/get-started/quick-start-guide?toc=%2Fsemantic-kernel%2Ftoc.json&tabs=Csharp - Semantic Kernel on GitHub - https://github.com/microsoft/semantic-kernel - What are prompts? - https://learn.microsoft.com/en-us/semantic-kernel/prompts/ - Understanding AI plugins in Semantic Kernel - https://learn.microsoft.com/en-us/semantic-kernel/agents/plugins/?tabs=Csharp - Saving and sharing prompts - https://learn.microsoft.com/en-us/semantic-kernel/prompts/saving-prompts-as-files?tabs=Csharp Connect with me! Twitter: https://twitter.com/willvelida GitHub: https://github.com/willvelida Bluesky: https://bsky.app/profile/willvelida.bsky.social

Comment