Is there an issue with Azure Document Intelligence?

Sean Walsh 50 Reputation points
2024-04-10T11:51:17.5866667+00:00

Today, my fairly simple requests to my West Europe document intelligence instance are taking 5+ minutes to complete. So I tried with a really simple bit of code and a really simple PDF file (just 3 sentences of text):

using Azure;
using Azure.AI.DocumentIntelligence;
var credential = new AzureKeyCredential("xxxx");
var client = new DocumentIntelligenceClient(new Uri($"https://xxxx.cognitiveservices.azure.com/"), credential);
string modelId = "prebuilt-read";
string filePath = @"xxxx";
var analyzeDocumentContent = new AnalyzeDocumentContent();
analyzeDocumentContent.Base64Source = BinaryData.FromBytes(File.ReadAllBytes(filePath));
var operation = await client.AnalyzeDocumentAsync(WaitUntil.Completed, modelId, analyzeDocumentContent);
AnalyzeResult result = operation.Value;
Console.WriteLine($"Document was analyzed with model with ID: {result.ModelId}");
foreach (AnalyzedDocument document in result.Documents)
{
    Console.WriteLine($"Document of type: {document.DocType}");
    foreach (KeyValuePair<string, DocumentField> fieldKvp in document.Fields)
    {
        string fieldName = fieldKvp.Key;
        DocumentField field = fieldKvp.Value;
        Console.WriteLine($"Field '{fieldName}': ");
        Console.WriteLine($"  Content: '{field.Content}'");
        Console.WriteLine($"  Confidence: '{field.Confidence}'");
    }
}

This also took 5+ minutes.

So then I tried on the Document Intelligence Studio - also 5 minutes.

What's more worrying is if I check the metrics in the Azure portal, despite only sending about 7 requests, I see 2540 calls in the last hour:

User's image

Any idea about what's going on?

Azure AI Document Intelligence
Azure AI Document Intelligence
An Azure service that turns documents into usable data. Previously known as Azure Form Recognizer.
1,403 questions
0 comments No comments
{count} votes

Accepted answer
  1. YutongTie-MSFT 46,991 Reputation points
    2024-04-10T21:00:51.0833333+00:00

    @Sean Walsh Thanks for reaching out to us, this issue should be fixed now, please have a try and let me know if you still have the long latency issue.

    Share the resourceID please if you still have the issue so that we can investigate it.

    Regards,

    Yutong

    -Please kindly accept the answer if you feel helpful to support the community, thanks a lot.


0 additional answers

Sort by: Most helpful