Skip to main content

analyze_batch_documents

Creates, updates, deletes, gets or lists an analyze_batch_documents resource.

Overview

Nameanalyze_batch_documents
TypeResource
Idazure.ai_document_intelligence.analyze_batch_documents

Fields

The following fields are returned by SELECT queries:

SELECT not supported for this resource, use SHOW METHODS to view available operations for the resource.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
analyze_batch_documentsexecmodel_id, endpoint, resultContainerUrlpages, locale, stringIndexType, features, queryFields, outputContentFormat, outputAnalyzes batch documents with document model.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
endpointstringThe service endpoint host (no scheme), e.g. myaccount.table.cosmos.azure.com:443 - value of the client endpoint parameter. (default: )
model_idstringUnique document model name. Required.
featuresarrayList of optional analysis features. Default value is None.
localestringLocale hint for text recognition and document analysis. Value may contain only the language code (ex. "en", "fr") or BCP 47 language tag (ex. "en-US"). Default value is None.
outputarrayAdditional outputs to generate during analysis. Default value is None.
outputContentFormatstringFormat of the analyze result top-level content. Known values are: "text" and "markdown". Default value is None.
pagesstring1-based page numbers to analyze. Ex. "1-3,5,7-9". Default value is None.
queryFieldsarrayList of additional fields to extract. Ex. "NumberOfGuests,StoreNumber". Default value is None.
stringIndexTypestringMethod used to compute string offset and length. Known values are: "textElements", "unicodeCodePoint", and "utf16CodeUnit". Default value is None.

Lifecycle Methods

Analyzes batch documents with document model.

EXEC azure.ai_document_intelligence.analyze_batch_documents.analyze_batch_documents 
@model_id='{{ model_id }}' --required,
@endpoint='{{ endpoint }}' --required,
@pages='{{ pages }}',
@locale='{{ locale }}',
@stringIndexType='{{ stringIndexType }}',
@features='{{ features }}',
@queryFields='{{ queryFields }}',
@outputContentFormat='{{ outputContentFormat }}',
@output='{{ output }}'
@@json=
'{
"azureBlobSource": "{{ azureBlobSource }}",
"azureBlobFileListSource": "{{ azureBlobFileListSource }}",
"resultContainerUrl": "{{ resultContainerUrl }}",
"resultPrefix": "{{ resultPrefix }}",
"overwriteExisting": {{ overwriteExisting }}
}'
;