Hi ,
Thanks for reaching out to Microsoft Q&A.
- Resource Configuration: Ensure that your Document Intelligence resource is properly scaled for the workload you're sending. If many requests are processed simultaneously, consider increasing the resource tier.
- Document Size and Complexity: Larger or more complex documents can take longer to process. Try testing with a simpler document (ex., an one page text file) to see if performance improves. This could help identify if the issue is doc specific.
- Concurrency Limits: The API might be throttling requests if you're sending many at once. Check the Azure API rate limits for your resource tier and ensure you're within the allowed range.
- Studio Performance: If the same slowness is observed in the studio, this could indicate a broader platform issue rather than a problem specific to your API usage. This may require contacting Azure Support.
Please 'Upvote'(Thumbs-up) and 'Accept' as an answer if the reply was helpful. This will benefit other community members who face the same issue.