A custom prompt in Power Apps empowers makers to incorporate custom generative AI capabilities into their apps, thus addressing their business needs with state of the art intelligence.
Once you create and test your prompts using the prompt builder, you can use them within your application by calling them through Power Fx Functions.
Custom prompts can be invoked as Power Fx function calls, this allows you to seamlessly integrate AI capabilities into your application.
Important
AI Builder prompts are running on GPT 4o Mini and GPT 4o model versions powered by Azure OpenAI Service.
This capability might be subject to usage limits or capacity throttling.
Prerequisite
You created a custom prompt.
Create an app and configure it
To use a prompt as a Power Fx function, you simply need to call it by its name and pass any required arguments. The function then returns the response generated by the prompt, which can be used within your application as needed. This straightforward approach allows you to leverage the power of AI without needing to write complex code.
Using a prompt in an application is similar to using a custom AI model. Once the prompt is added from the Add data menu, it can be used as a Power Fx function by calling the .Predict on its name, and pass any required arguments. The function then returns the response generated by the GPT model, which can be used in your application. This straightforward approach enables leveraging the power of generative AI without needing to write complex code.
Demonstrate the business value and product capabilities of Microsoft Power Platform, such as Power Apps, data connections with Dataverse, and Power Automate.