@Développeur Le Studio You can pass a document with upto 2000 pages to the prebuild model or the API where you can have multiple invoices and the API should provide the result of all invoices provided they are of the supporting format and the response should be available in the documentResults section of the response with different page numbers. A quick way to test this scenario is to use the API from the studio or the REST API.
It is currently not possible to tweak a pre-built model or enrich a model. You will need to create a custom model and then create different versions of your custom model and compose them under a single model id to analyze different documents.
Yes, you can train the model using the Build Model API for FR v3.0 onwards.
If an answer is helpful, please click on or upvote which might help other community members reading this thread.
Are you using free tier for your resource? A free tier resource request can only analyze the first 2 pages of a document. This is documented here in the documentation.
Ok, thanks a lot !
Hi @romungi-MSFT , I've tried for the last couple of days to analyze multiple documents in one post request without success unfortunately. Can you please elaborate on how you managed to obtain
I'm using Form Recognizer REST API (https://westus.dev.cognitive.microsoft.com/docs/services/form-recognizer-api-2022-08-31/operations/AnalyzeDocument)
Basically when I upload a 2 pages PDF (composed of two distinct 1 page document to be analyzed) I expect the
listin python) to be a
listwith two elements. It's not the case.
That being said I indeed observed that for some elements such as
analyzeResult.tablesthe Form Recognizer indeed works great.
Unfortunately what I'm interested in is gathering the information which lies in the
fieldsattributes of each element available in
I've opened an issue on GitHub (https://github.com/Azure/azure-sdk-for-python/issues/28126)
If the feature is not available yet do you think that this feature is on the roadmap for further releases ?
Thanks in advance for your help
@Dyt13 I believe the document you uploaded contains two pages where you are expecting the response to have each page result as a single document response.
I think this is not possible with the current API as the FR API excepts a single document for each request and provides result of each page as page numbers. The guidance for such scenarios has been to split the document and pass each page in individual requests. Please see this thread from SO for details.
Got it thanks for the confirmation. Would be a really nice feature to have -> batch processing :)
Sign in to comment