Using a planner to run a multistep task
Instead of calling functions yourself, you can let Microsoft Semantic Kernel choose the functions for you. This can make your code a lot simpler and can give your users the ability to combine your code in ways that you haven’t considered.
Right now, this will not seem very useful because we only have a few functions and plugins. However, in a large application, such as Microsoft Office, you may have hundreds or even thousands of plugins, and your users may want to combine them in ways that you can’t yet imagine. For example, you may be creating a copilot that helps a user be more efficient when learning about a subject, so you write a function that downloads the latest news about that subject from the web. You may also have independently created a function that explains a piece of text to the user so that the user can paste content to learn more about it. The user may decide to combine them both with “download the news...