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

Azure AI Document Intelligence
Windows for business | Windows Client for IT Pros | User experience | Other
{count} votes

Your answer

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