Hello @Muhammad , Thanks for using Microsoft Q&A Platform.
I can understand your scenario. Key-value pairs are specific spans within a document that identify a label or key
and its associated response or value
.
In a structured form, these pairs could be the label and the value the user entered for that field. In an unstructured document, they could be any information that follows a specific pattern, such as the date a contract was executed on based on the text in a paragraph.
The DI model is trained to extract identifiable keys and values based on a wide variety of document types, formats, and structures.
I have reproduced your document with Layout model and observed the same. Model is recognizing it as a separate key-value pairs. For other data like domestic partner
the value is recognized as unselected/selected since it can easily identify its response. I believe this can be the current limitation/ behavior of the model based on the document types/formats, and structures.
You can try the custom models and label accordingly to see if that helps.
You can raise a support ticket in the Azure portal for deeper investigation on this issue.
I hope this helps.
Regards,
Vasavi
-Please kindly accept the answer and vote 'yes' if you feel helpful to support the community, thanks.