π€ Use AI Builder Models in Power Apps
π Published Date: March 6, 2025 Β Β β Author: Pranay Reddy Muthyala
π Introduction
Integrating artificial intelligence (AI) into business applications has become increasingly accessible, thanks to Microsoftβs AI Builder. This platform empowers users to infuse AI capabilities into their Power Apps without requiring extensive coding or data science expertise. In this blog post, weβll explore how to leverage AI Builder models within Power Apps, covering both prebuilt and custom models, and how to integrate them into canvas and model-driven apps.
π§ Understanding AI Builder Models
AI Builder offers two primary types of models:
πΉ Prebuilt Models
These are ready-to-use models designed for common business scenarios, such as:
- Business Card Reader β Extracts contact information from business cards.
- Receipt Processing β Extracts data from receipts.
- Text Recognition β Identifies and extracts text from images.
πΉ Custom Models
For more specific business needs, AI Builder allows users to train their own AI models:
- Prediction β Predicts outcomes based on historical data.
- Form Processing β Extracts data from structured documents.
- Object Detection β Identifies and counts objects within images.
Understanding these models helps in choosing the right AI solution for your organization.
π οΈ Creating a Custom AI Model
To address unique business challenges, you might need to create a custom AI model. Hereβs a step-by-step guide:
1οΈβ£ Access AI Builder β Sign in to Power Apps Studio or Power Automate Studio, and navigate to AI Hub > AI Models.
2οΈβ£ Select a Model Type β Choose a custom model type such as Prediction, Category Classification, or Entity Extraction.
3οΈβ£ Prepare Your Data β Ensure you have relevant data for training the model. AI Builder provides sample datasets if needed.
4οΈβ£ Train the Model β Upload data, label relevant fields, and train your AI model.
5οΈβ£ Publish the Model β Once trained, publish it so it can be used in Power Apps and Power Automate workflows.
π Integrating Prebuilt Models into Power Apps
Prebuilt models can be easily integrated into both model-driven and canvas apps:
π Model-Driven Apps
1οΈβ£ Open Form Designer in your model-driven app.
2οΈβ£ Add an AI Component, such as the Business Card Reader.
3οΈβ£ Map the component to appropriate table columns where extracted data will be stored.
π Canvas Apps
1οΈβ£ Insert an AI Component from the AI Builder section.
2οΈβ£ Place it on the canvas and configure it to capture and display extracted data.
π¨ Adding Custom AI Models to Canvas Apps
To use a custom AI model in a canvas app:
1οΈβ£ Ensure Model Publication β Confirm that your AI model has been trained and published.
2οΈβ£ Insert an AI Component β In Power Apps Studio, go to Insert > AI Builder, and select the relevant model (e.g., Object Detector).
3οΈβ£ Configure Properties β Set up image inputs and display fields to process documents and show results dynamically.
This allows apps to automate tasks like inventory tracking, form processing, and object detection.
π Benefits of Using AI Builder in Power Apps
β Enhanced Efficiency β Automates repetitive tasks, reducing manual effort.
β Improved Accuracy β Minimizes human errors in data processing.
β Scalability β Easily adapts AI models to evolving business needs.
By integrating AI Builder models into Power Apps, organizations can streamline operations and drive innovation without the need for extensive coding or AI expertise. π
π Stay tuned for more insights! π View My Completion Certificate