Is KeyValuePairs an extra paid feature in prebuilt-invoice model?

Marcin Wloch 0 Reputation points
2024-03-25T11:06:26.84+00:00

We are calling Azure Form Recognizer using JAVA SDK to parse pdf-s using prebuilt-invoice model.

When we moved to version 2023-07-31, we found that KeyValuePairs became an optional feature which had to be enabled via AnalyzeDocumentOptions like that:

AnalyzeDocumentOptions analyzeOptions = new AnalyzeDocumentOptions(); analyzeOptions.setDocumentAnalysisFeatures(DocumentAnalysisFeature.KEY_VALUE_PAIRS);

Now we noticed that each call to prebuilt-invoice API shows doubled number of processed pages.

I.e. sending 5 pages PDF shows as 10 pages processed on Resource Monitoring.

When we activate the SplitBy=FeatureName it shows that:

5 pages are processed by Invoice model and 5 more pages are processed by KeyValuePairs feature.

As Form Recognizer billing is based on pages, does that mean we will be billed twice more for each pdf because we have KeayValuePairs feature enabled?

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

1 answer

Sort by: Most helpful
  1. VasaviLankipalle-MSFT 17,121 Reputation points
    2024-03-29T20:11:15.76+00:00

    Hello @Marcin Wloch , Thank you again for your time and patience throughout this issue.

    I have reproduced the same and observed similar behavior when enabled key-value pair. Each call to prebuilt-invoice API shows doubled number of processed pages.

    Here is the documentation to use the metrics dashboard in the Azure portal to view how many pages were processed by Azure AI Document Intelligence and estimate the cost of processing those pages using the Azure pricing calculator.

    For confirmation on this billing concern, please raise a support request in the Azure portal.

    I hope this helps.

    Regards,

    Vasavi

    -Please kindly accept the answer and vote 'yes' if you feel helpful to support the community, thanks.

    0 comments No comments

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.