Hi kushal kaleshwari
The Document Intelligence General Document model (prebuilt-document) does not support the key-value pair feature. Instead, you should use the Layout model with the features=keyValuePairs
query string parameter enabled. The Layout model is available in version 4.0 preview and version 3.1. If you are using the prebuilt-layout model ID, ensure that you are correctly specifying the feature in your API call.
If you are still encountering issues, double-check the API version and the model ID you are using, as the General Document model has been deprecated in favor of the Layout model for extracting key-value pairs.
Kindly refer the document https://learn.microsoft.com/en-us/azure/ai-services/document-intelligence/model-overview?view=doc-intel-4.0.0#model-overview
I hope these helps you. Thank you!