You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Support more doc formats with new documentintelligence SDK (#1224)
* Support more doc formats with new documentintelligence SDK
* Location picker for Document Intelligence
* Move comment up
* Add other data types
* Add section on reusing Doc Intelligence
* Rename to Doc Intel everywhere
Copy file name to clipboardExpand all lines: README.md
+10Lines changed: 10 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -209,6 +209,16 @@ You can also customize the search service (new or existing) for non-English sear
209
209
1. To turn off the spell checker, run `azd env set AZURE_SEARCH_QUERY_SPELLER none`. Consult [this table](https://learn.microsoft.com/rest/api/searchservice/preview-api/search-documents#queryLanguage) to determine if spell checker is supported for your query language.
210
210
1. To configure the name of the analyzer to use for a searchable text field to a value other than "en.microsoft", run `azd env set AZURE_SEARCH_ANALYZER_NAME {Name of analyzer name}`. ([See other possible values](https://learn.microsoft.com/dotnet/api/microsoft.azure.search.models.field.analyzer?view=azure-dotnet-legacy&viewFallbackFrom=azure-dotnet))
In order to support analysis of many document formats, this repository uses a preview version of Azure Document Intelligence (formerly Form Recognizer) that is only available in [limited regions](https://learn.microsoft.com/azure/ai-services/document-intelligence/concept-layout).
215
+
If your existing resource is in one of those regions, then you can re-use it by setting the following environment variables:
216
+
217
+
1. Run `azd env set AZURE_DOCUMENTINTELLIGENCE_SERVICE {Name of existing Azure AI Document Intelligence service}`
218
+
1. Run `azd env set AZURE_DOCUMENTINTELLIGENCE_LOCATION {Location of existing service}`
219
+
1. Run `azd env set AZURE_DOCUMENTINTELLIGENCE_RESOURCE_GROUP {Name of resource group with existing service, defaults to main resource group}`
220
+
1. Run `azd env set AZURE_DOCUMENTINTELLIGENCE_SKU {SKU of existing service, defaults to S0}`
221
+
212
222
#### Other existing Azure resources
213
223
214
224
You can also use existing Azure AI Document Intelligence and Storage Accounts. See `./infra/main.parameters.json` for list of environment variables to pass to `azd env set` to configure those existing resources.
resourcedocumentIntelligenceResourceGroup'Microsoft.Resources/resourceGroups@2021-04-01'existing = if (!empty(documentIntelligenceResourceGroupName)) {
help="Use PyPdf local PDF parser (supports only digital PDFs) instead of Azure Document Intelligence service to extract text, tables and layout from the documents",
356
366
)
357
367
parser.add_argument(
358
-
"--formrecognizerservice",
368
+
"--documentintelligenceservice",
359
369
required=False,
360
370
help="Optional. Name of the Azure Document Intelligence service which will be used to extract text, tables and layout from the documents (must exist already)",
361
371
)
362
372
parser.add_argument(
363
-
"--formrecognizerkey",
373
+
"--documentintelligencekey",
364
374
required=False,
365
375
help="Optional. Use this Azure Document Intelligence account key instead of the current user identity to login (use az login to set current user for Azure)",
0 commit comments