[QUERY] Azure Form Recognizer DocumentFieldType always returns Unknown but expecting DocumentFieldType.Double #41247
Labels
Client
This issue points to a problem in the data-plane of the library.
Cognitive - Form Recognizer
customer-reported
Issues that are reported by GitHub users external to the Azure organization.
issue-addressed
The Azure SDK team member assisting with this issue believes it to be addressed and ready to close.
question
The issue doesn't require a change to the product in order to be resolved. Most issues start as that
Library name and version
Azure.AI.FormRecognizer 4.0.0
Query/Question
Trying to map some values from Azure form recognizer Custom Extraction Model. Within Form Recognizer studio the field is type
number
->not-specified
. I would imagine this would map to theDocumentFieldType.Double
within the C# library but it keeps returning asDocumentFieldType.Unknown
. What is the correct way to map non-currency numeric values? Updating the library version to 4.1.0 does not help.Here is the output json from the recognition for a field. I'd imagine it not having a
valueNumber
field might have something to do with it but I don't quite understand why it doesn't have one.Environment
Windows 11 .NET7.0
JetBrains Rider 2023.3.2
The text was updated successfully, but these errors were encountered: