semantic-kernel
semantic-kernel copied to clipboard
How to use it in Power Apps?
Is there any Sample for Power Apps to use ?
@evchaki FYI
Is there any Sample for Power Apps to use ?
Would the use case here be a Canvas app that calls out to a function that hosts SK? Something else?
Yes. How to call SK in Canvas app. Is there any Sample ?
Yes. How to call SK in Canvas app. Is there any Sample ?
@xunyicjq , here are the steps, but there is some work for you to do to get it all setup:
- Deploy Semantic Kernel to Azure
- Once in Azure you need to create a Swagger / OpenAPI spec for the Kernel and for the skills you want to use in Power Apps / Power Automate (You can use API Management for this)
- On the go to the API definition tab - if you deployed Semantic Kernel as a web app and put in the URL to the JSON for the Swagger definition. There is a button on that page that will create you a custom connector.
- Go to Power Apps or Power Automate and select the environment you pushed the custom connector to
- Create a new app or flow and use that custom connector. You should be able to pass the ask over and get results.