How to get multiple occurrences of a field back from a document using custom model and How to avoid if irrelevant data is present at position where the field is trained using custom model

-, S Yogesh 0 Reputation points
2025-01-02T06:31:40.2866667+00:00

Hi Team, we are planning to move from general document to custom model. we have 2 questions 1)we trained the model but if the same field occurs twice in a document the Doc Intelligence is returning only first occurrence from the entire document . can you please let us know is there a way to get multiple occurrences from a document. 
2) we trained the model with multiple templates and when we try to test , the value present at the position is not related to the field trained. Still model mapping the value to the field as it in the same position. can you please provide is there a way to avoid this kind of scenarios.

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

1 answer

Sort by: Most helpful
  1. santoshkc 11,710 Reputation points Microsoft Vendor
    2025-01-02T10:17:18.98+00:00

    Hi @-, S Yogesh,

    Thank you for reaching out to Microsoft Q&A forum!

    To extract multiple occurrences of a field in Azure Document Intelligence custom models, configure the field to allow multiple values during training in Document Intelligence Studio. This setting enables the model to capture and return all occurrences of the field in the output. If irrelevant data is mapped due to positional similarity, you can improve accuracy by adding more templates with layout variations during training. Additionally, refine the field labeling by including unique identifiers or labels near the field to help the model recognize context rather than relying solely on position.

    I hope this helps. Thank you.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.