Document Intelligence Loader not functional

Billy Zhou 30 Reputation points
2024-01-12T10:12:14.9533333+00:00

I encountered an issue with the AzureAIDocumentIntelligenceLoader API when converting a PDF to Markdown format. The API marked all PDF headers (both primary and secondary) with a single "#" symbol, while I expected primary headers to have one "#" and secondary headers to have two "##".

Could you give me some pointers on using this API? below are some details:

Python code to call AzureAIDocumentIntelligenceLoader API : User's image

Screen shot of source pdf: User's image

Actual API Results (primary header start with one "#", but sub header also start with one "#") User's image

Expected Results(primary header start with one "#", sub headers start with two "#" and so on): User's image

Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
10,662 questions
Azure AI Document Intelligence
Azure AI Document Intelligence
An Azure service that turns documents into usable data. Previously known as Azure Form Recognizer.
1,902 questions
{count} votes

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.