cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
plarrue
Power Apps
Power Apps

Question for everyone : How are you using Create Text GPT in AI Builder?

Hi everyone, 👋 From the AI Builder product group we want to hear from you.

 

👉Have you tried Text Generation in AI Builder already? How are you using it? For what use case? Is there anything you would like to see added or changed to make it even better?

 

👉We are interested in knowing about your AI Builder experience. Please share your story!

 

Thank you!

61 REPLIES 61

I have explored some of the possibilities of the AI options (getting data from receipts and sentiment analysis) within the Power Platform, but I don't think it is ready for real-world use yet. I have also used ChatGPT to get assistance with developing flows when I am struggling with an expression. It often makes up its own commands. For example, yesterday I wanted an expression to get the current week number and determine if it was an odd or even week. It kept providing false information. Attached is the transcript of the conversation I had with the AI.

 

I was eventually able to figure out an expression by what the AI was trying to do (even if some of the commands were not in Power Automate), so it is helpful from that perspective. And when I showed it my result, it did a good job of breaking out the expression and explaining it.

 

Additionally, I am in a heavily regulated industry. I am concerned about the data processed by the AI being used to train it further and then that information getting used outside of the company. I have read some articles in the news already where companies have used AI and it has caused issues. I've seen that Microsoft plans to release a private version of the AI tools, but initial reports say this will be 10 times more expensive than the current version. See Microsoft could offer private ChatGPT to businesses for “10 times” the normal cost | Ars Technica for more information.

 

This is the expression I ended up with:

 

if(equals(mod(add(div(dayOfYear(utcNow()),7),1),2),0),'Even','Odd')

 

 And this is the explanation of it from ChatGPT:

Here's how the expression works:

  • dayOfYear(utcNow()): This function gets the current day of the year.

  • div(dayOfYear(utcNow()), 7): This expression divides the current day of the year by 7 to get the current week number.

  • add(div(dayOfYear(utcNow()), 7), 1): This expression adds 1 to the current week number to ensure that the first week of the year is considered week 1, not week 0.

  • mod(add(div(dayOfYear(utcNow()), 7), 1), 2): This expression calculates the remainder of dividing the adjusted week number by 2, which will be 0 for even weeks and 1 for odd weeks.

  • equals(mod(add(div(dayOfYear(utcNow()), 7), 1), 2),0): This expression uses the equals function to check if the remainder is equal to 0, which indicates an even week. If it is, the expression returns 'Even'. If it is not, the expression returns 'Odd'.

Attached is the complete transcript with ChatGPT for creating the expression and at the end it tells why it didn't provide this expression to me in the first place.

 

If I have any advice for people using AI to help with workflow development, be persistent with the AI even if at first it gives you erroneous information. Feed it the error messages and analyze what it is trying to do. Additionally, always feed it generic information and nothing personalized or with company data unless you really know how it is being used and shared by the AI.

Hi @David_MA - thank you for sharing this feedback! Nice use of ChatGPT to help you build Power Platform solutions.

 

Keep the feedback coming!

For the sentiment analysis, I tried putting text from different news articles through the AI engine. The results seemed mixed at best to me. A couple articles I thought were positive it ranked as negative, and a couple I thought were negative it rated neutral. I thought this might be useful for analyzing things such as social media posts so a marketing/public relations team could be notified of very negative or highly positive posts. I am not sure the AI is ready for this. I suppose this type of thing is highly subjective, so I don't know how reliably AI could handle something like this.
 
For processing receipts, it did quite well on this but not good enough for production use I thought. It had a very hard time with figuring out the taxes as that was where the majority of errors were found. I thought this could be useful for setting up a hot folder where people could upload their receipts and the AI could process them. Attached is a PDF of the receipts I used (downloaded images from the Internet) and a spreadsheet where I wrote the processed data to. I highlighted fields in yellow where it got the result wrong.
 
It only got one date wrong, and I think it was because the receipt had the date in the format of mm-dd-yyyy rather than the usual North America format of mm/dd/yyyy.

Regarding using the feature to describe a flow and then let the AI build it, I have never had much luck with this feature. It may be good for basic workflows or for beginners, but I have found so far that what it creates requires too much rework than if I had just started it from scratch or it cannot create anything.

 

For example, I asked it to build this: When a new MS Forms response is submitted, check to see if it is a request for deleting an account. If it is, then check to see if it is for deleting the account of the user who submitted the request, or another user as specified in the request. If it is for a user specified in the request, then check to make sure the account is valid in Azure AD. If the account cannot be found, Post and adaptive card in a Teams channel so the IT team can look up the account and provide the correct e-mail. Finally, send a confirmation e-mail to the requester. If the user account cannot be found for the other user, the confirmation email needs to tell the submitter to contact IT to review the request.

 

It came back with this:

David_MA_0-1684177418038.png

All of the actions to do what I want exist, as I have built this flow, which is the following so far:

flow-detailed.png

willtwilson
Regular Visitor

I'm keen to try it but sadly it doesn't appear to be available yet in our region. Is there a list of Preview regions? I couldn't easily find this information.

 

Thanks.

 

Hi @willtwilson ,

Thanks for reaching out - At present, access requires a Power Platform environment located in the United States. However, we are actively striving to ensure accessibility for everyone.

 

Regards.

takolota
Multi Super User
Multi Super User

GPT PDF & Image data extraction template: https://powerusers.microsoft.com/t5/Power-Automate-Cookbook/Extract-Data-From-PDFs-and-Images-With-G...

 

It doesn’t require specifying certain document areas, wordings, styles, data, etc. It just OCRs the file, converts it to a replica text (txt), and passes it to a GPT prompt where you can ask GPT to do whatever you want with the document data.

 

Even if you have some documents where the traditional models work better, you could set some criteria for your fields that may indicate a mistake & have it then run this method on it to double check if the custom model results agree with these results.

This is incredibly cool! Thank you for sharing @takolota! The spectrum of possibilities that GPT brings to the table is nothing short of spectacular!

ARB_wcc
Super User
Super User

Hi @JoeF-MSFT,

 

Se below 2 prompts as an example, the use cases are endless but I find myself mostly using it to extract data or even for cognitive analysis like reading email body and evaluating which invoices have been approved or declined. The model is good but I think it can be improved, but that's probably because I'm used to GPT4 now!

 

Prompt 01.pngPrompt 02.png

 

Thanks for sharing @ARB_wcc. Really powerful prompts! And love the use of emojis. 😍

ARB_wcc
Super User
Super User

Hi @plarrue,  I wanted to share my positive experience with the GPT connector. It has exceeded my expectations, delivering an impressive 93% accuracy rate with the prompt below. Moreover, it helped me simplify the process by replacing multiple formulas with a single, straightforward prompt. However, I have noticed the AI occasionally assumes missing data, which, in some instances, leads to inaccuracies. While this does not dramatically affect the overall performance, I am curious if there's a way to configure the AI to only interpret the input as-is, without making assumptions.

 

See example testing animation below:

 

Prompt Testing AnimationsPrompt Testing Animations

 

And the results after testing the prompt with 50 random examples:

 

Prompt Testing.jpg

Hi  @ARB_wcc 

 

Wow great work. Your prompt is terrific!

 

To answer your question on how to configure the prompt to avoid any assumptions, you can try by adding an escape instruction to your prompt.
If the text below has less than few words or looks like a placeholder text, respond "Unknown", otherwise respond with the shipment number.

 

PS: Please feel free to share your flow in our AI Builder Cookbook https://powerusers.microsoft.com/t5/Power-Automate-Cookbook/bd-p/MPA_Cookbook?filter=ai%20builder so other person in the community can benefit of your great work.

 

Thanks!

Hello @JoeF-MSFT & @plarrue 

 

I shared my template above, but I am not yet able to implement it as there are challenges with our head of IT security.

He was not convinced there is enough data privacy when using GPT. I shared some documentation stating the data isn’t shared with anyone (https://learn.microsoft.com/en-us/legal/cognitive-services/openai/data-privacy).
But he says it is just an assertion & the situation is still developing. He has yet to see any independent verification of data privacy & security while using GPT.

 

Is there any way you can help with this?

Is there more documentation & independent verification of GPT & these MS AI Builder actions yet?

Hi @takolota - that's a fair concern, but rest assured that we take privacy and security very seriously at Microsoft as reflected in our products terms of use and privacy policy. 

 

In addition to the documentation link you shared, I can reiterate that:

  • Microsoft doesn't use customers’ data to train LLMs. We believe the customers’ data is their data, aligned to the Microsoft' data privacy policy.
  • The foundation models aren't improved through your usage. This means your data is accessible only by authorized users within your organization unless you explicitly consent to other access or use.

 

FAQ for Copilot data security and privacy in Microsoft Power Platform - Power Platform | Microsoft L...

I've been using Create Text GPT in AI Builder to help me generate a wide range of written content. Whether it's drafting blog posts, creating marketing copy, writing emails, or even coming up with ideas for stories, Create Text GPT has been an invaluable tool.

I start by providing a brief description of what I need, and then I let Create Text GPT work its magic. It quickly generates paragraphs of text that I can review and fine-tune to fit my specific needs. The ability to customize the tone, style, and length of the generated text is really useful, as it allows me to align the content with the brand voice or context I'm aiming for.

Of course, I always review and edit the output to ensure it's exactly what I'm looking for. This collaborative process between AI and human creativity has been a game-changer for me. It saves me a lot of time and gives me a solid starting point for any writing project.

Overall, Create Text GPT in AI Builder has become an integral part of my content creation process, helping me generate high-quality, engaging content more efficiently than ever before.
We can also use AI in Recruitment.

Hi @UmarFarooq18 ,

 

Thanks for sharing your experience with us. I'm glad to hear that Create Text GPT in AI Builder has been such a valuable tool for you, saving you a significant amount of time and providing a strong foundation for your writing projects. 
It's good to see that you're also recognizing the importance of ensuring the accuracy and appropriateness of AI-generated content before using it.

 

Regards.

It worked well for less than a month 
I created 3 flows to extract information from emails and conver into a JSON array, and I was able to use the information to fill my Sharepoint list.
It was working well BUT suddenly since last week my responses are:
* Sorry, I can't respond to that request.

* "  I understand that you would like me to extract the following information from the given text: ......... output to a JSON array. Is this correct?  "  how can I respond Yes ?
* Im sorry, I'm not able to extract the email addresses from the text you provided.

Also I've noticed that my AI Builder / Models  screen shows "You've consumed all of your AI Builder credits. Contact your administrator to get more capacity."   but my Environment have 10,000 credits available and not used.

Really not sure what is causing this problem since this was working OK and since last week nothing is working ....

Any advice ??

Haha the same happened to me, I had a prompt to translate emails to JSON but it stopped working a few weeks ago, for some reason it was refusing to process my prompt just because it had the word "email" in it, so I replaced the word email by "text" and now it's working again. I guess you just need to be more creative with your prompt now 😅

 

Screenshot 01.jpgScreenshot 02.jpg

takolota
Multi Super User
Multi Super User

I’ve now updated that PDF & image to JSON data extraction template

https://powerusers.microsoft.com/t5/Power-Automate-Cookbook/Extract-Data-From-PDFs-and-Images-With-G...

It’s now more accurate & much faster.

But I do look forward to being able to switch to a larger context window model on the Create text GPT action as that will enable a little bit better accuracy & processing of even larger files.

Not to mention being able to switch to even faster or more accurate LLMs beyond GPT 3.5. With that I think we could get the processing time down to around 10 seconds & the accuracy up to 95-99%.

Helpful resources

Announcements

Community will be READ ONLY July 16th, 5p PDT -July 22nd

Dear Community Members,   We'd like to let you know of an upcoming change to the community platform: starting July 16th, the platform will transition to a READ ONLY mode until July 22nd.   During this period, members will not be able to Kudo, Comment, or Reply to any posts.   On July 22nd, please be on the lookout for a message sent to the email address registered on your community profile. This email is crucial as it will contain your unique code and link to register for the new platform encompassing all of the communities.   What to Expect in the New Community: A more unified experience where all products, including Power Apps, Power Automate, Copilot Studio, and Power Pages, will be accessible from one community.Community Blogs that you can syndicate and link to for automatic updates. We appreciate your understanding and cooperation during this transition. Stay tuned for the exciting new features and a seamless community experience ahead!

Summer of Solutions | Week 4 Results | Winners will be posted on July 24th

We are excited to announce the Summer of Solutions Challenge!    This challenge is kicking off on Monday, June 17th and will run for (4) weeks.  The challenge is open to all Power Platform (Power Apps, Power Automate, Copilot Studio & Power Pages) community members. We invite you to participate in a quest to provide solutions to as many questions as you can. Answers can be provided in all the communities.    Entry Period: This Challenge will consist of four weekly Entry Periods as follows (each an “Entry Period”)   - 12:00 a.m. PT on June 17, 2024 – 11:59 p.m. PT on June 23, 2024 - 12:00 a.m. PT on June 24, 2024 – 11:59 p.m. PT on June 30, 2024 - 12:00 a.m. PT on July 1, 2024 – 11:59 p.m. PT on July 7, 2024 - 12:00 a.m. PT on July 8, 2024 – 11:59 p.m. PT on July 14, 2024   Entries will be eligible for the Entry Period in which they are received and will not carryover to subsequent weekly entry periods.  You must enter into each weekly Entry Period separately.   How to Enter: We invite you to participate in a quest to provide "Accepted Solutions" to as many questions as you can. Answers can be provided in all the communities. Users must provide a solution which can be an “Accepted Solution” in the Forums in all of the communities and there are no limits to the number of “Accepted Solutions” that a member can provide for entries in this challenge, but each entry must be substantially unique and different.    Winner Selection and Prizes: At the end of each week, we will list the top ten (10) Community users which will consist of: 5 Community Members & 5 Super Users and they will advance to the final drawing. We will post each week in the News & Announcements the top 10 Solution providers.  At the end of the challenge, we will add all of the top 10 weekly names and enter them into a random drawing.  Then we will randomly select ten (10) winners (5 Community Members & 5 Super Users) from among all eligible entrants received across all weekly Entry Periods to receive the prize listed below. If a winner declines, we will draw again at random for the next winner.  A user will only be able to win once overall. If they are drawn multiple times, another user will be drawn at random.  Individuals will be contacted before the announcement with the opportunity to claim or deny the prize.  Once all of the winners have been notified, we will post in the News & Announcements of each community with the list of winners.   Each winner will receive one (1) Pass to the Power Platform Conference in Las Vegas, Sep. 18-20, 2024 ($1800 value). NOTE: Prize is for conference attendance only and any other costs such as airfare, lodging, transportation, and food are the sole responsibility of the winner. Tickets are not transferable to any other party or to next year’s event.   ** PLEASE SEE THE ATTACHED RULES for this CHALLENGE**   Week 1 Results: Congratulations to the Week 1 qualifiers, you are being entered in the random drawing that will take place at the end of the challenge.   Community MembersNumber SolutionsSuper UsersNumber Solutions Deenuji 9 @NathanAlvares24  17 @Anil_g  7 @ManishSolanki  13 @eetuRobo  5 @David_MA  10 @VishnuReddy1997  5 @SpongYe  9JhonatanOB19932 (tie) @Nived_Nambiar  8 @maltie  2 (tie)   @PA-Noob  2 (tie)   @LukeMcG  2 (tie)   @tgut03  2 (tie)       Week 2 Results: Congratulations to the Week 2 qualifiers, you are being entered in the random drawing that will take place at the end of the challenge. Week 2: Community MembersSolutionsSuper UsersSolutionsPower Automate  @Deenuji  12@ManishSolanki 19 @Anil_g  10 @NathanAlvares24  17 @VishnuReddy1997  6 @Expiscornovus  10 @Tjan  5 @Nived_Nambiar  10 @eetuRobo  3 @SudeepGhatakNZ 8     Week 3 Results: Congratulations to the Week 3 qualifiers, you are being entered in the random drawing that will take place at the end of the challenge. Week 3:Community MembersSolutionsSuper UsersSolutionsPower Automate Deenuji32ManishSolanki55VishnuReddy199724NathanAlvares2444Anil_g22SudeepGhatakNZ40eetuRobo18Nived_Nambiar28Tjan8David_MA22   Week 4 Results: Congratulations to the Week 4 qualifiers, you are being entered in the random drawing that will take place at the end of the challenge. Week 4:Community MembersSolutionsSuper UsersSolutionsPower Automate Deenuji11FLMike31Sayan11ManishSolanki16VishnuReddy199710creativeopinion14Akshansh-Sharma3SudeepGhatakNZ7claudiovc2CFernandes5 misc2Nived_Nambiar5 Usernametwice232rzaneti5 eetuRobo2   Anil_g2   SharonS2  

Check Out | 2024 Release Wave 2 Plans for Microsoft Dynamics 365 and Microsoft Power Platform

On July 16, 2024, we published the 2024 release wave 2 plans for Microsoft Dynamics 365 and Microsoft Power Platform. These plans are a compilation of the new capabilities planned to be released between October 2024 to March 2025. This release introduces a wealth of new features designed to enhance customer understanding and improve overall user experience, showcasing our dedication to driving digital transformation for our customers and partners.    The upcoming wave is centered around utilizing advanced AI and Microsoft Copilot technologies to enhance user productivity and streamline operations across diverse business applications. These enhancements include intelligent automation, AI-powered insights, and immersive user experiences that are designed to break down barriers between data, insights, and individuals. Watch a summary of the release highlights.    Discover the latest features that empower organizations to operate more efficiently and adaptively. From AI-driven sales insights and customer service enhancements to predictive analytics in supply chain management and autonomous financial processes, the new capabilities enable businesses to proactively address challenges and capitalize on opportunities.    

Updates to Transitions in the Power Platform Communities

We're embarking on a journey to enhance your experience by transitioning to a new community platform. Our team has been diligently working to create a fresh community site, leveraging the very Dynamics 365 and Power Platform tools our community advocates for.  We started this journey with transitioning Copilot Studio forums and blogs in June. The move marks the beginning of a new chapter, and we're eager for you to be a part of it. The rest of the Power Platform product sites will be moving over this summer.   Stay tuned for more updates as we get closer to the launch. We can't wait to welcome you to our new community space, designed with you in mind. Let's connect, learn, and grow together.   Here's to new beginnings and endless possibilities!   If you have any questions, observations or concerns throughout this process please go to https://aka.ms/PPCommSupport.   To stay up to date on the latest details of this migration and other important Community updates subscribe to our News and Announcements forums: Copilot Studio, Power Apps, Power Automate, Power Pages

Users online (1,188)