How to get Confidence score of each field in excel?

Hello everyone,

In Document Understanding,
I’m trying to fetch Confidence Score of each field into excel sheet along with other field values.
I’m following automate with rakesh tutorials. I have done all the steps exactly as mentioned.
But I can’t see the Confidence Score column in the output excel sheet.

Hi @Vaishnav_Tej

You should enable Include Confidence in Export Extraction Results activity

Pls check below thread for more information

Regards,

1 Like

Hey @Vaishnav_Tej ,


Select the IncludeCofidence Checkboc in Export Extarction Results activity
You can try this out to get confidence of all extracted field

ColumnNameList = OutputDs.Tables(0).Columns.Cast(Of DataColumn).Where(Function(c) c.ColumnName.Contains(“- Confidence”)).Select(Function(x) x.ColumnName).ToList()

ColumnNameList.AsEnumerable().Where(Function(y) Not String.IsNullOrEmpty(OutputDs.Tables(0).Rows(0)(y).ToString)).Select(Function(x) CDbl(OutputDs.Tables(0).Rows(0)(x))).ToList()

The code returns all columns with confidence as suffix and then returns a list of all confidence values.

If this solves your question , do mark it as solution

1 Like

Hi @Vaishnav_Tej

Try to select the “Export Extraction Results” activity and go to the Properties panel.set “Include Confidence” to True by checking the box or typing True.

If you found helpful, Mark as a solution tick .
Happy Automation

1 Like