Address Field Type in Custom Extraction Model

Oskar Klingberg 0 Reputation points
2024-05-21T13:39:21.1533333+00:00

Hello,

I am currently working on a custom extraction model in Document Intelligence Studio (Azure AI) based on the standardized Invoice model. Everything is functioning well, except for the address fields. In the standard Invoice model, these fields are of type "Address," but in my custom model, they are coming out as type "String."

I have successfully configured other fields to the correct types (e.g., Currency), but I cannot find a way to set the address fields to the "Address" type in my custom model. Is there a specific method or configuration I am missing to set the address fields to the correct type?

Any guidance or recommendations would be greatly appreciated.

Thank you!

Best regards,
Oskar

Azure AI Document Intelligence
Azure AI Document Intelligence
An Azure service that turns documents into usable data. Previously known as Azure Form Recognizer.
1,475 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. VasaviLankipalle-MSFT 15,246 Reputation points
    2024-05-21T21:58:53.9833333+00:00

    Hello @Oskar Klingberg , Thanks for using Microsoft Q&A Platform.

    The Address field type is a pre-built field type in the Invoice model, but it is not in the custom model. This is the current limitation.

    Try to label the relevant names for fields. In this case, string is the field type for Address. However, you can still configure your custom model using SDK to recognize address fields by defining a regular expression pattern that matches the format of the address fields in your documents

    I hope this helps.

    Regards,

    Vasavi

    -Please kindly accept the answer and vote 'yes' if you feel helpful to support the community, thanks.

    1 person found this answer helpful.