Complete the Create Plugins lesson on learn
Read the Understanding AI Plugins in Semantic Kernel document
Important Note about Planners
Details. (click to expand)
The StepWise and HandleBar planners are being deprecated. We are recommending that customer leverage Auto Invoke as opposed to user either of these planners. The SK team has been working on a new planner that will replace these and it has been proven to be much more efficient. In most cases we are finding that a planner is simply not needed and using multiple plugins with Auto Invoke often proves to be much more efficient. If you need more control you can use an *intent* pattern to control flow.
The Semantic Kernel prompt template language is a simple way to define and compose AI functions using plain text. You can use it to create natural language prompts, generate responses, extract information, invoke other prompts or perform any other task that can be expressed with text.
Creating Functions from Prompts and adding variables
The Semantic Kernel prompt template language is very powerful, you can create tokens that will automatically be replace with input parameters.
When using prompts in Semantic Kernel, is it required to use the SK Prompt when calling InvokeAsync()?
Answer (click to expand)
No. As demonstrated in the code examples, you can use a variety of techniques for prompts i.e. interpolated strings, just a regular string as a prompt, load from file or inline.
If you want your AI solution to invoke custom logic, are you required to leverage a plugin?