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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / AI Builder Custom Enti...
Power Automate
Answered

AI Builder Custom Entity Extraction Model get higher confidence value

(0) ShareShare
ReportReport
Posted on by 2

Hi,

I have a Custom Entity Extraction Model and I will send a sentence to that model to extract entities. I am getting the response in array were multiple entities extracted for the sentence. I want capture the score with higher value in the array response.

Below shows the output of AI Model:

[
{
"@odata.type": "#Microsoft.Dynamics.CRM.expando",
"type": "Success",
"startIndex":0,
"length":4,
"value":"pass"
"score": 0.9958772
},
{
"@odata.type": "#Microsoft.Dynamics.CRM.expando",
"type": "Fail",
"startIndex":0,
"length":4,
"value":"fail"
"score": 0.77722
}
]

 Here I need to get the data which have higher confidence and store the type in SharePoint list.

 

can suggest me with the flow or expression how to filter array with higher confidence.

 

Thanks in advance!

Categories:
I have the same question (0)
  • Verified answer
    v-xiaochen-msft Profile Picture
    on at

    Hi @hemajm ,

     

    Do you want to get the record with the highest score?

    Please try this

    vxiaochenmsft_0-1695785592773.png

    reverse(sort(variables('var'),'score'))?[0]
    vxiaochenmsft_1-1695785616480.png

     

    Best Regards,

    Wearsky

  • hemajm Profile Picture
    2 on at

    Thank You 😊 ! Its worked.

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 503 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 321 Moderator

#3
abm abm Profile Picture

abm abm 237 Most Valuable Professional

Last 30 days Overall leaderboard