Introduction

Completed

Text generation capability is a powerful tool in AI Builder. It helps you to create custom AI capabilities quickly and easily for natural language processing (NLP).

This capability enables you to build many use case scenarios, such as:

  • Sentiment analysis

  • Text classification

  • Named entity recognition

  • Summarization

  • Translation

  • Content recommendation

  • Document clustering

  • Content creation

AI Builder also has an AI prompts feature where you can use prompt templates or craft your own custom prompts.

Screenshot showing the Templates, Instructions, and Response areas.

After you craft the correct prompt, you can automate interactions with a Generative Pretrained Transformer (GPT).

Integrate text generation in AI Builder with Power Automate

The following screenshot shows how you can integrate text generation in AI Builder with Microsoft Power Automate. After your flow's trigger, add the Create text with GPT using a prompt action.

You're able to pick from a list of template prompts like AI Reply and AI Summarize or use a new custom prompt for responses.

After choosing a prompt, you need to add input text that provides context for the prompt. A common example would be the body of an Email.

Screenshot of Power Automate showing AI Builder in a flow with focus on the Create text with GPT action.

Integrate text generation in AI Builder with Power Apps

The following screenshot shows how you can integrate text generation in AI Builder with Microsoft Power Apps. In the Power Apps maker portal, select the data icon, select + Add data, and then under AI models, select AI Reply.

Screenshot of Power Apps on the Data page with focus on Add data and AI Reply.