web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Does highlighting key ...
Power Automate
Answered

Does highlighting key phrases help?

(0) ShareShare
ReportReport
Posted on by 99

Hi All,

I'm creating a data classification model using the prebuilt "Classify Texts into custom categories" model.

I would like to know if highlighting key phrases in the training data (e.g., marking phrases like **key phrase**) would enhance the AI model's prediction capability on respective tags, or if it has no effect.

Categories:
I have the same question (0)
  • TYL Profile Picture
    1,091 Super User 2024 Season 2 on at

    Hi @arun_kj, this might not answer your question but might benefit you. In your specific use-case I would definitely look into the prompts function in AI Builder. This is a rather more modern approach to what you want to accomplish and saves a lot of time in the future (since with prompts you tend to not need to retrain stuff).

     

    In general what you will do with the prompt function is to write a solid prompt that is able to classify your texts into your chosen categories. This prompt can then afterwards be integrated in your Power Automate flow in which you feed the text to the prompt. The output can then be used by you for whatever you want.

  • arun_kj Profile Picture
    99 on at

    @Tjan Thank you for your input. Are the prompts currently effective in generating the required classification outputs? For my purpose, I need to classify emails into around 10 different categories based on their content. I haven't used prompts in a process before. Are they efficient for this purpose?

    Also does it require an approval flow to use a prompt in a process.

  • TYL Profile Picture
    1,091 Super User 2024 Season 2 on at

    Hi @arun_kj , yes they are extremely useful for classification outputs. I have tested this with around 30 categories and worked perfectly. Also, the approval flow isn't needed required anymore. You can choose for it (and it may be wise) but not something that will be forced to you.

     

    If my solution helped you, please be so kind to accept my solution. This will greatly help others as well!

  • arun_kj Profile Picture
    99 on at

    Hi @Tjan , can you please guide me how you are using the output from the prompt in a flow. Unfortunately I'm not able to find the direct output from it in dynamic contents. I'm only getting the json response from the prompt. Not the classification output.

  • TYL Profile Picture
    1,091 Super User 2024 Season 2 on at

    @arun_kj Oh you’re really close now! You now need to use the parse JSON action in Power Automate (make sure to generate a schema based on an example output from a run history). Afterwards you will be able to use the classification output as variable in your flow!

  • arun_kj Profile Picture
    99 on at

    @Tjan It worked. It was really helpful. Thank you so much!!

    Since it is new to us, we have couple more queries to make sure we can use custom AI Prompt over custom AI model, which I have posted in below threads. Kindly check and let me know if you can help us on the same. Much appreciated!

    https://powerusers.microsoft.com/t5/AI-Builder/Credit-Consumption-AI-Model-Vs-AI-Prompt/m-p/2821478#M4361

    https://powerusers.microsoft.com/t5/AI-Builder/Something-Went-Wrong-AI-Prompt/m-p/2821223

     

  • TYL Profile Picture
    1,091 Super User 2024 Season 2 on at

    @arun_kj  Ah that's so awesome!! Congratulations, you saved yourself a lot of time! Since you don't have to highlight key phrases in the future anymore. Awesome! 

     

    I'll take a look into the other articles and see what I can do.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 112 Super User 2026 Season 1

#2
Haque Profile Picture

Haque 52

#3
Ellis Karim Profile Picture

Ellis Karim 51 Super User 2026 Season 1

Last 30 days Overall leaderboard