Skip to main content
Community site session details

Community site session details

Session Id :
Power Automate - Using Flows
Answered

AI Builder Custom Entity Extraction Model get higher confidence value

(0) ShareShare
ReportReport
Posted on by

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!

  • hemajm Profile Picture
    on at
    Re: AI Builder Custom Entity Extraction Model get higher confidence value

    Thank You 😊 ! Its worked.

  • Verified answer
    v-xiaochen-msft Profile Picture
    on at
    Re: AI Builder Custom Entity Extraction Model get higher confidence value

    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

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

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 497 Super User 2025 Season 1

#2
David_MA Profile Picture

David_MA 436 Super User 2025 Season 1

#3
Riyaz_riz11 Profile Picture

Riyaz_riz11 244 Super User 2025 Season 1

Featured topics

Restore a deleted flow