Hi there, Sanjana Mohan
Thats a good question and thanks for using QandA platform
I guess, the prebuilt-layout model might not be the most accurate for identifying section headings. While the prebuilt-layout model is good for understanding the overall structure and layout, it may not always correctly identify section headings due to the variety in formatting styles across different documents.
I suggest a more effective approach would be to use the Azure Form Recognizer's custom model capabilities. By training a custom model, you can specifically tailor it to recognize the particular formatting and structure of your documents, which can significantly improve accuracy in identifying section headings and extracting content.
If this helps kindly accept the answer thanks ,much.