styles field is coming blank in the ai-form-recognizer api response

Aicte Team 0 Reputation points
2023-08-07T06:59:26.21+00:00

Hi,

I am using the ai-form-recognizer api since last one week and I was getting the styles field in the response but last 2 days, not getting the styles field.

I have not changed anything the code.

If have checked with S0 Standard services also but not getting the styles field.

Here is the my sample code.

  const client = new DocumentAnalysisClient(endpoint, new AzureKeyCredential(key));

  const poller = await client.beginAnalyzeDocument("prebuilt-read", formUrl);
  const { content, pages, languages, styles } = await poller.pollUntilDone();
  const ocrResult = JSON.stringify(styles);
  console.log(styles);


If anyone have any idea about this issue, Please let me know how to resolve this issue.

Azure AI services
Azure AI services
A group of Azure services, SDKs, and APIs designed to make apps more intelligent, engaging, and discoverable.
3,386 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.