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
takolota
Multi Super User
Multi Super User

@JoeF-MSFT 
Did the Create text with GPT action recently get a boost / switch to a 16k token model?

I just went to test a potential scenario that would result in an error because the action response would be cut short due to exceeding the token limit, which was at around 4000 a month ago.

But I just had a 35,000 character prompt & response go through without error.
NoError.png

 

 

Do we know if this is expected functionality? Will it continue operating this way going forward?

This will be wonderful if it does!

ARB_wcc
Super User
Super User

Sir, in the era of AI, a month ago is like a year ago, why are you surprised? 😆

 

But I noticed it too, below is Agent 00 which is my new product manager, it has like 1k words in the initial stage of the loop and when it loads the "input" from our DB the word count is increasing to 8k / 20k on average.

 

The output of this agent is being used by other agents in the flow and they interact between each other in a loop that can repeat 5 times or until the final agent, which is the boss, makes the decision to end the loop.

 

The "boss" is reviewing inputs from all other agents in the flow and the word count is averaging from 18k to 32k

 

A solution like this with multiple agents (GPT connectors) interacting with each other in the same flow, would be impossible a month ago.

 

01.jpg

Ashbhatia
Power Apps
Power Apps

Thanks for noticing the change.

The underling model for the AI Builder was recently upgraded to use the 16K version of the model. So, makers should be able to get more tokens our of their GPT calls. This should help makers provide model detailed prompts with grounding data, few shot examples, etc. This will also enable them to get more detailed as well as simulated multi turn conversations.

I hope you all are like the change. Please let us know if there is any feedback about this, good or bad, both as welcome.

Ashish

@Ashbhatia 

It's awesome & just what I have been waiting for!

Now my PDF data extraction template can handle 10-20 page document prompts!

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

@Ashbhatia  Can't wait for this connector to use GPT4 instead of 3.5 💪🏻🤖

 

You know, for the basic, run-of-the-mill data extraction, the current 3.5 version is like a trusty old steed - gets the job done without much fuss. But oh boy, when we talk about those trickier tasks needing a sprinkle of, how can I put it, "cognitive analysis", I must say GPT4 can outperform 3.5 by a significant margin. The enhanced capabilities in understanding and generating nuanced responses make it a much more robust tool, especially when it comes to handling intricate "multi-agent" scenarios.  

 

Below is an example with multi-agents that is yielding impressive results:

 

🏭 Product Description Factory Flow

 

In the 🏭 Product Description Factory, a symbiotic and iterative process unfolds, where specialized agents collaborate meticulously to craft product descriptions in line with Brazilian import regulations. Here's a glimpse of the orchestrated workflow:

 

  1. 🙎🏻‍♂️ Translator Agent: Kick-starts the process by translating the initial invoice descriptions into Portuguese, morphing them into a format that sets the stage for the ensuing steps.
  2. 👨🏻‍💼 Boss Agent: Functions as the central node of operations, orchestrating the flow by allocating the translated description to the appropriate Product Manager, based on the product category.
  3. 👨‍💼 Product Managers: Specialized experts in various domains such as "Security", "Connectivity", and "Cabling", they collaborate closely with the Data Engineer to develop a comprehensive JSON structure, forming the backbone of the final product description.
  4. 👨🏻‍🔧 Data Engineer: This agent, equipped with analytical prowess, performs fuzzy lookup to extract similar products from the database, offering a rich context that facilitates the crafting of an optimized product description.
  5. 👩🏻‍💼 Product Analyst: Using the JSON blueprint as a reference, this agent meticulously constructs a detailed and regulation-compliant product description, marking a pivotal step towards final submission.
  6. 🧙🏻‍♂️ Tariff Classification Specialist: Stepping in with precision, this specialist identifies the correct NCM and Class ID for the product, aligning the description with tariff classifications.
  7. 👨🏻‍⚖️ Auditor Agent: In the final stretch, this agent scrutinizes the product description's quality and compliance, attributing a score that indicates the level of precision and adherence to regulations.

 

Upon completion of the Auditor Agent's evaluation, the feedback is channeled back to the Boss Agent. This triggers a feedback loop that can repeat up to 5 times, or until the Boss Agent deems the product description to be of satisfactory quality and precision, greenlighting it for final submission.

 

By harmonizing the expertise of various agents, the 🏭 Product Description Factory flow can avoid hallucination, refining the product description process to facilitate smoother customs clearance.

 

 

 

 

 

@Ashbhatia 

 

If they do add GPT4 as a model for this action, I hope it is something one can opt in or out of.

The less expensive GPT 3.5 Turbo is just what I need for the vast majority of data extraction scenarios.

GPT4 may only be relevant for trickier data extraction scenarios like ones that require interpreting a document’s text to determine a data value, for instance determining years of experience based on a Resume with several lines of work experience dates, but no explicit reference to the number of years a person has worked in a given type of role. For those types of scenarios I would like to allow users to switch a parameter from GPT3.5 to GPT4.

@takolota I completely agree 

JoeF-MSFT
Power Apps
Power Apps

Is anyone on this thread attending the Power Platform Conference? 🙂 https://www.powerplatformconf.com/ 

spiik
Helper I
Helper I

This is my first demo, which uses sentiment analysis, custom category recognition, entities extraction, language and phrases extraction https://www.karlex.fi/automated-email-handling-and-integration-to-public-360/

Hi Karl-Johan

Thanks a lot sharing your workflow. Have you explored using the "Create Text with GPT" action, perhaps for tasks like category classification?

 

Regards,

Philippe

Hi, @plarrue. I've been pondering over something - with the "Create Text with GPT" showcasing prowess in virtually any text-based task, do we even require other connectors? 😁

 

To illustrate, let's delve into a snippet of our "Product Description Factory" workflow. Visualize this: a specialized connector, which we refer to as Agent 01, adeptly extracts the product description from an invoice and allocates it to the appropriate Business Unit (we have 3 prominent BUs at withing the company). Following this, Agent 02 steps in, meticulously filtering the product down to the precise category and sub-category - a feat accomplished from a vast pool of over 750 potential classifications, all through the analysis of product description alone.

 

Check out the animation below to get the full picture, the task is done so quickly that the SharePoint List barely have time to synchronize. (note: speed was amped up to 150% of the original pace to trim down the file size)

 

Product Categorization with GPT (Animation)Product Categorization with GPT (Animation)

 

 

 

 

 

 

@plarrue , delving further into the topic of classification, I'd like to spotlight an instance where we leverage the GPT connector as an "Auditor Agent". In this role, it scans for "approved" product descriptions to locate specific information. Not just that, it assigns a quality rank ranging from "Bad" to "Excellent" based on the depth and accuracy of the information available. But it doesn't stop there. The connector goes a step further by furnishing "Audit Insights", offering astute recommendations to enhance the quality of descriptions. This streamlined process thus allows the team to concentrate their efforts on refining the descriptions that necessitate improvement, optimizing the workflow and enhancing the accuracy of the categorization.

 

AI Product Description Score and Confidence.png

takolota
Multi Super User
Multi Super User

Do we know what the requests per second / requests per minute 429 throttle limit is for Create text with GPT action / Dataverse AI Builder connection?

 

During testing of a data extraction on a Power App today a flow’s GPT action got a 429 error & was throttled for a couple minutes. This caused the flow to timeout before responding to the app.

This was pretty surprising considering the Dataverse connector used for the action was only called once for the OCR action & once for the GPT prompt. To the best of my knowledge there were no concurrent flows running at the time.

 

I’ve added more connections to the flow actions to spread the calls across more account connection instances, but I don’t know why it would ever get a 429 error with only 2 action calls on a connection.

takolota
Multi Super User
Multi Super User

This is ridiculous.

 

https://powerusers.microsoft.com/t5/AI-Builder/Create-Text-With-GPT-Manual-approval-action-required-...

 

I’m more annoyed at the precedent & mindset that would have produced such a change from Microsoft staff as it is arrogantly assuming they know more about a vast number of development scenarios than the developers who work directly with an organization’s processes themselves. This is a terrible top-down approach that ignores all the better local knowledge of developers.

Anyone who recommended or started implementing this change from warning to full requirement needs to be reined in.

We're currently using a preview connector, which does come with its own set of quirks 😅. But I wholeheartedly agree with your sentiments.

 

Additionally, one aspect I find challenging is the lack of stability in the prompts. A prompt that functions flawlessly today may not necessarily perform the same way tomorrow due to ongoing updates and changes. Implementing some form of versioning control could be a game-changer, ensuring that existing connectors remain unaffected.

@ARB_wcc 

 

I understand some may be using these actions for prompts & scenarios where there is a lot more potential for variance & so they would want to encourage oversight as much as possible.

But when I’m trying to just use this like a much much more advanced regex or text string query tool, it’s annoying to get lumped in with those other higher variance uses.

Ashbhatia
Power Apps
Power Apps

Hi  @takolota and @ARB_wcc ,

I understand your frustrations and concerns regarding the recent changes requiring manual approval for the "Create Text with GPT" feature in Power Automate. It's clear that these changes may seem restrictive, particularly when the intended use cases involve lower variance, like an advanced regex or text string query tool.

I want to assure you that the intention behind this requirement is not to undermine the expertise of our developer community or impose a top-down approach. Rather, it's a response to the unique challenges posed by Generative AI. These models, while incredibly advanced, sometimes have a tendency to fabricate information or are susceptible to prompt injection.  

As part of our commitment to responsible AI, we already have measures in place to moderate content and prevent the generation of inappropriate responses. However, controlling the tendency of the model to fabricate responses isn't as straightforward. Even though we guide the model to stay as factual as possible, it can sometimes deviate and produce misleading outputs. Moreover, there's also a significant risk related to 'prompt injection' in the data. Even with well-crafted prompts and automation, compromised incoming data can lead to unexpected results.


The landscape of risks associated with automation using Generative AI is a relatively new and not yet fully understood territory. As we navigate this space, we're taking a cautious approach to ensure human oversight and control over AI-generated content.

That said, we're actively committed to developing robust safety systems, and, as we gain a deeper understanding, restoring as much control as possible back to developers. Our ultimate goal is to evolve this capability collectively with you, the developer community.

Your feedback regarding the stability of prompts and the potential for versioning control is incredibly valuable. We recently upgraded to the latest gpt-3.5-turbo-16k-0613 model. Our goal to bring the latest and greatest of the GPT models to our citizen developers. The latest model also quadruples the token window from 4k to 16k. Model update might be a reason for the variance in response that you were experiencing.

Please bear in mind that this feature is still in preview. As we gather more insights and navigate this emerging field, we're continually refining and tweaking our offerings to improve the user experience. 
Your patience, understanding, and input are greatly appreciated as we work towards creating an environment that is responsive to the knowledge and feedback of developer community. Thank you for being a part of this journey with us.

 
Ashish
ARB_wcc
Super User
Super User

Hi @Ashbhatia 

 

Thank you for your thorough explanation. I appreciate the complexities involved in balancing innovation with responsible AI use, especially in a field as new and rapidly evolving as Generative AI. I'm encouraged to hear that the team is committed to improving safety measures while also aiming to restore control back to developers.

 

Your update on the latest GPT model and its capabilities is particularly insightful. It provides context for the changes I've noticed!

 

Thanks again for valuing the input from the developer community. I'm eager to see how the feature evolves and am glad to be a part of this journey 👍🏻

martindr
Advocate III
Advocate III

as we gain a deeper understanding, restoring as much control as possible back to developers

Unfortunately, the mandatory approval step has killed most of my use cases because I've been using it in synchronous rather than asynchronous scenarios.

One example: I created a conversational interface on top of a Dataverse database. The user types a question in natural language and GPT translates that into a FetchXML query which the flow then executes.  I hooked it up to a PowerApp for an interactive experience. The results are listed in a datatable and displayed on a map. GPT makes for a great new user experience.

In such scenarios the concept of an asynchronous human approval step simply doesn't fit. Having debated many GenAI things with our Legal folk, I can imagine how this is a difficult problem for the product team to solve, though.

In the meantime, I have to pause my use of the most powerful action yet. Huge punch in a small package.


Wow, very interesting idea! disabling static result doesn't help? Solved: Create Text With GPT - Manual approval action requ... - Power Platform Community (microsoft....

Helpful resources

Announcements

Community Roundup: A Look Back at Our Last 10 Tuesday Tips

As we continue to grow and learn together, it's important to reflect on the valuable insights we've shared. For today's #TuesdayTip, we're excited to take a moment to look back at the last 10 tips we've shared in case you missed any or want to revisit them. Thanks for your incredible support for this series--we're so glad it was able to help so many of you navigate your community experience!   Getting Started in the Community An overview of everything you need to know about navigating the community on one page!  Community Links: ○ Power Apps ○ Power Automate  ○ Power Pages  ○ Copilot Studio    Community Ranks and YOU Have you ever wondered how your fellow community members ascend the ranks within our community? We explain everything about ranks and how to achieve points so you can climb up in the rankings! Community Links: ○ Power Apps ○ Power Automate  ○ Power Pages  ○ Copilot Studio    Powering Up Your Community Profile Your Community User Profile is how the Community knows you--so it's essential that it works the way you need it to! From changing your username to updating contact information, this Knowledge Base Article is your best resource for powering up your profile. Community Links: ○ Power Apps ○ Power Automate  ○ Power Pages  ○ Copilot Studio    Community Blogs--A Great Place to Start There's so much you'll discover in the Community Blogs, and we hope you'll check them out today!  Community Links: ○ Power Apps ○ Power Automate  ○ Power Pages  ○ Copilot Studio    Unlocking Community Achievements and Earning Badges Across the Communities, you'll see badges on users profile that recognize and reward their engagement and contributions. Check out some details on Community badges--and find out more in the detailed link at the end of the article! Community Links: ○ Power Apps  ○ Power Automate  ○ Power Pages  ○ Copilot Studio    Blogging in the Community Interested in blogging? Everything you need to know on writing blogs in our four communities! Get started blogging across the Power Platform communities today! Community Links: ○ Power Apps  ○ Power Automate  ○ Power Pages  ○ Copilot Studio   Subscriptions & Notifications We don't want you to miss a thing in the community! Read all about how to subscribe to sections of our forums and how to setup your notifications! Community Links: ○ Power Apps  ○ Power Automate  ○ Power Pages  ○ Copilot Studio   Getting Started with Private Messages & Macros Do you want to enhance your communication in the Community and streamline your interactions? One of the best ways to do this is to ensure you are using Private Messaging--and the ever-handy macros that are available to you as a Community member! Community Links: ○ Power Apps  ○ Power Automate  ○ Power Pages  ○ Copilot Studio   Community User Groups Learn everything about being part of, starting, or leading a User Group in the Power Platform Community. Community Links: ○ Power Apps  ○ Power Automate  ○ Power Pages  ○ Copilot Studio   Update Your Community Profile Today! Keep your community profile up to date which is essential for staying connected and engaged with the community. Community Links: ○ Power Apps  ○ Power Automate  ○ Power Pages  ○ Copilot Studio   Thank you for being an integral part of our journey.   Here's to many more Tuesday Tips as we pave the way for a brighter, more connected future! As always, watch the News & Announcements for the next set of tips, coming soon!    

Calling all User Group Leaders and Super Users! Mark Your Calendars for the next Community Ambassador Call on May 9th!

This month's Community Ambassador call is on May 9th at 9a & 3p PDT. Please keep an eye out in your private messages and Teams channels for your invitation. There are lots of exciting updates coming to the Community, and we have some exclusive opportunities to share with you! As always, we'll also review regular updates for User Groups, Super Users, and share general information about what's going on in the Community.     Be sure to register & we hope to see all of you there!

April 2024 Community Newsletter

We're pleased to share the April Community Newsletter, where we highlight the latest news, product releases, upcoming events, and the amazing work of our outstanding Community members.   If you're new to the Community, please make sure to follow the latest News & Announcements and check out the Community on LinkedIn as well! It's the best way to stay up-to-date with all the news from across Microsoft Power Platform and beyond.    COMMUNITY HIGHLIGHTS   Check out the most active community members of the last month! These hardworking members are posting regularly, answering questions, kudos, and providing top solutions in their communities. We are so thankful for each of you--keep up the great work! If you hope to see your name here next month, follow these awesome community members to see what they do!   Power AppsPower AutomateCopilot StudioPower PagesWarrenBelzDeenujialexander2523ragavanrajanLaurensMManishSolankiMattJimisonLucas001AmikcapuanodanilostephenrobertOliverRodriguestimlAndrewJManikandanSFubarmmbr1606VishnuReddy1997theMacResolutionsVishalJhaveriVictorIvanidzejsrandhawahagrua33ikExpiscornovusFGuerrero1PowerAddictgulshankhuranaANBExpiscornovusprathyooSpongYeNived_Nambiardeeksha15795apangelesGochixgrantjenkinsvasu24Mfon   LATEST NEWS   Business Applications Launch Event - On Demand In case you missed the Business Applications Launch Event, you can now catch up on all the announcements and watch the entire event on-demand inside Charles Lamanna's latest cloud blog.   This is your one stop shop for all the latest Copilot features across Power Platform and #Dynamics365, including first-hand looks at how companies such as Lenovo, Sonepar, Ford Motor Company, Omnicom and more are using these new capabilities in transformative ways. Click the image below to watch today!   Power Platform Community Conference 2024 is here! It's time to look forward to the next installment of the Power Platform Community Conference, which takes place this year on 18-20th September 2024 at the MGM Grand in Las Vegas!   Come and be inspired by Microsoft senior thought leaders and the engineers behind the #PowerPlatform, with Charles Lamanna, Sangya Singh, Ryan Cunningham, Kim Manis, Nirav Shah, Omar Aftab and Leon Welicki already confirmed to speak. You'll also be able to learn from industry experts and Microsoft MVPs who are dedicated to bridging the gap between humanity and technology. These include the likes of Lisa Crosbie, Victor Dantas, Kristine Kolodziejski, David Yack, Daniel Christian, Miguel Félix, and Mats Necker, with many more to be announced over the coming weeks.   Click here to watch our brand-new sizzle reel for #PPCC24 or click the image below to find out more about registration. See you in Vegas!       Power Up Program Announces New Video-Based Learning Hear from Principal Program Manager, Dimpi Gandhi, to discover the latest enhancements to the Microsoft #PowerUpProgram. These include a new accelerated video-based curriculum crafted with the expertise of Microsoft MVPs, Rory Neary and Charlie Phipps-Bennett. If you’d like to hear what’s coming next, click the image below to find out more!   UPCOMING EVENTS Microsoft Build - Seattle and Online - 21-23rd May 2024 Taking place on 21-23rd May 2024 both online and in Seattle, this is the perfect event to learn more about low code development, creating copilots, cloud platforms, and so much more to help you unleash the power of AI.   There's a serious wealth of talent speaking across the three days, including the likes of Satya Nadella, Amanda K. Silver, Scott Guthrie, Sarah Bird, Charles Lamanna, Miti J., Kevin Scott, Asha Sharma, Rajesh Jha, Arun Ulag, Clay Wesener, and many more.   And don't worry if you can't make it to Seattle, the event will be online and totally free to join. Click the image below to register for #MSBuild today!   European Collab Summit - Germany - 14-16th May 2024 The clock is counting down to the amazing European Collaboration Summit, which takes place in Germany May 14-16, 2024. #CollabSummit2024 is designed to provide cutting-edge insights and best practices into Power Platform, Microsoft 365, Teams, Viva, and so much more. There's a whole host of experts speakers across the three-day event, including the likes of Vesa Juvonen, Laurie Pottmeyer, Dan Holme, Mark Kashman, Dona Sarkar, Gavin Barron, Emily Mancini, Martina Grom, Ahmad Najjar, Liz Sundet, Nikki Chapple, Sara Fennah, Seb Matthews, Tobias Martin, Zoe Wilson, Fabian Williams, and many more.   Click the image below to find out more about #ECS2024 and register today!     Microsoft 365 & Power Platform Conference - Seattle - 3-7th June If you're looking to turbo boost your Power Platform skills this year, why not take a look at everything TechCon365 has to offer at the Seattle Convention Center on June 3-7, 2024.   This amazing 3-day conference (with 2 optional days of workshops) offers over 130 sessions across multiple tracks, alongside 25 workshops presented by Power Platform, Microsoft 365, Microsoft Teams, Viva, Azure, Copilot and AI experts. There's a great array of speakers, including the likes of Nirav Shah, Naomi Moneypenny, Jason Himmelstein, Heather Cook, Karuana Gatimu, Mark Kashman, Michelle Gilbert, Taiki Y., Kristi K., Nate Chamberlain, Julie Koesmarno, Daniel Glenn, Sarah Haase, Marc Windle, Amit Vasu, Joanne C Klein, Agnes Molnar, and many more.   Click the image below for more #Techcon365 intel and register today!     For more events, click the image below to visit the Microsoft Community Days website.      

Tuesday Tip | Update Your Community Profile Today!

It's time for another TUESDAY TIPS, your weekly connection with the most insightful tips and tricks that empower both newcomers and veterans in the Power Platform Community! Every Tuesday, we bring you a curated selection of the finest advice, distilled from the resources and tools in the Community. Whether you’re a seasoned member or just getting started, Tuesday Tips are the perfect compass guiding you across the dynamic landscape of the Power Platform Community.   We're excited to announce that updating your community profile has never been easier! Keeping your profile up to date is essential for staying connected and engaged with the community.   Check out the following Support Articles with these topics: Accessing Your Community ProfileRetrieving Your Profile URLUpdating Your Community Profile Time ZoneChanging Your Community Profile Picture (Avatar)Setting Your Date Display Preferences Click on your community link for more information: Power Apps, Power Automate, Power Pages, Copilot Studio   Thank you for being an active part of our community. Your contributions make a difference! Best Regards, The Community Management Team

Hear what's next for the Power Up Program

Hear from Principal Program Manager, Dimpi Gandhi, to discover the latest enhancements to the Microsoft #PowerUpProgram, including a new accelerated video-based curriculum crafted with the expertise of Microsoft MVPs, Rory Neary and Charlie Phipps-Bennett. If you’d like to hear what’s coming next, click the link below to sign up today! https://aka.ms/PowerUp  

Super User of the Month | Ahmed Salih

We're thrilled to announce that Ahmed Salih is our Super User of the Month for April 2024. Ahmed has been one of our most active Super Users this year--in fact, he kicked off the year in our Community with this great video reminder of why being a Super User has been so important to him!   Ahmed is the Senior Power Platform Architect at Saint Jude's Children's Research Hospital in Memphis. He's been a Super User for two seasons and is also a Microsoft MVP! He's celebrating his 3rd year being active in the Community--and he's received more than 500 kudos while authoring nearly 300 solutions. Ahmed's contributions to the Super User in Training program has been invaluable, with his most recent session with SUIT highlighting an incredible amount of best practices and tips that have helped him achieve his success.   Ahmed's infectious enthusiasm and boundless energy are a key reason why so many Community members appreciate how he brings his personality--and expertise--to every interaction. With all the solutions he provides, his willingness to help the Community learn more about Power Platform, and his sheer joy in life, we are pleased to celebrate Ahmed and all his contributions! You can find him in the Community and on LinkedIn. Congratulations, Ahmed--thank you for being a SUPER user!

Top Solution Authors
Users online (3,364)