Skip to content

Commit 86d112f

Browse files
authored
Merge branch 'MicrosoftDocs:main' into main
2 parents 8f0aba9 + 5470df1 commit 86d112f

File tree

98 files changed

+5143
-1064
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

98 files changed

+5143
-1064
lines changed

articles/ai-services/document-intelligence/containers/image-tags.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,6 @@ The following containers support DocumentIntelligence v3.1 models and features:
6565

6666
| Container name |image |
6767
|---|---|
68-
|[**Document Intelligence Studio**](https://mcr.microsoft.com/product/azure-cognitive-services/form-recognizer/studio/tags)| `mcr.microsoft.com/azure-cognitive-services/form-recognizer/studio:latest`|
6968
| [**Read 3.1**](https://mcr.microsoft.com/product/azure-cognitive-services/form-recognizer/read-3.1/tags) |`mcr.microsoft.com/azure-cognitive-services/form-recognizer/read-3.1:latest`|
7069
| [**Layout 3.1**](https://mcr.microsoft.com/en-us/product/azure-cognitive-services/form-recognizer/layout-3.1/tags) |`mcr.microsoft.com/azure-cognitive-services/form-recognizer/layout-3.1:latest`|
7170
| [**Invoice 3.1**](https://mcr.microsoft.com/product/azure-cognitive-services/form-recognizer/invoice-3.1/tags) |`mcr.microsoft.com/azure-cognitive-services/form-recognizer/invoice-3.1:latest`|

articles/ai-services/document-intelligence/containers/install-run.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,6 @@ In this article you learn how to download, install, and run Document Intelligenc
4242

4343
* **Read**, **Layout**, **General Document**, **Business Card**, and **Custom** models are supported by Document Intelligence v3.0 containers.
4444

45-
* **Business Card** model is currently only supported in the [v2.1 containers](install-run.md?view=doc-intel-2.1.0&preserve-view=true).
46-
4745
## Prerequisites
4846

4947
To get started, you need an active [**Azure account**](https://azure.microsoft.com/free/cognitive-services/). If you don't have one, you can [**create a free account**](https://azure.microsoft.com/free/).
@@ -576,7 +574,7 @@ services:
576574
577575
```
578576

579-
The custom template container can use Azure Storage queues or in memory queues. The `Storage:ObjectStore:AzureBlob:ConnectionString` and `queue:azure:connectionstring` environment variables only need to be set if you're using Azure Storage queues. When running locally, delete these variables.
577+
The custom template container and Layout container can use Azure Storage queues or in memory queues. The `Storage:ObjectStore:AzureBlob:ConnectionString` and `queue:azure:connectionstring` environment variables only need to be set if you're using Azure Storage queues. When running locally, delete these variables.
580578

581579
### Ensure the service is running
582580

@@ -610,7 +608,7 @@ Custom template containers require a few different configurations and support ot
610608

611609
* Gather a set of at least five forms of the same type. You use this data to train the model and test a form. You can use a [sample data set](https://go.microsoft.com/fwlink/?linkid=2090451) (download and extract _sample_data.zip_).
612610

613-
* Once you can confirm that the containers are running, open a browser and navigate to the endpoint where you have the containers deployed. If this deployment is your local machine, the endpoint is `[http://localhost:5000](http://localhost:5000)`.
611+
* Once you can confirm that the containers are running, open a browser and navigate to the endpoint where you have the containers deployed. If this deployment is your local machine, the endpoint is `[http://localhost:5001](http://localhost:5001)`.
614612
* Select the custom extraction model tile.
615613
* Select the `Create project` option.
616614
* Provide a project name and optionally a description

articles/ai-services/speech-service/includes/how-to/translate-speech/csharp.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -405,6 +405,27 @@ var translationRecognizer = new TranslationRecognizer(speechTranslationConfig, a
405405

406406
For a complete code sample with the Speech SDK, see [speech translation samples on GitHub](https://github.com/Azure-Samples/cognitive-services-speech-sdk/blob/master/samples/csharp/sharedcontent/console/translation_samples.cs#L472).
407407

408+
## Using custom translation in speech translation
409+
The custom translation feature in speech translation seamlessly integrates with the Azure Custom Translation service, allowing you to achieve more accurate and tailored translations. As the integration directly harnesses the capabilities of the Azure custom translation service, you need to use a multi-service resource to ensure the correct functioning of the complete set of features. For detailed instructions, please consult the guide on [Create a multi-service resource for Azure AI services](/azure/ai-services/multi-service-resource?tabs=windows&pivots=azportal).
410+
411+
Additionally, for offline training of a custom translator and obtaining a "Category ID," please refer to the step-by-step script provided in the [Quickstart: Build, deploy, and use a custom model - Custom Translator](/azure/ai-services/translator/custom-translator/quickstart).
412+
413+
```csharp
414+
// Creates an instance of a translation recognizer using speech translation configuration
415+
// You should use the same subscription key, which you used to generate the custom model before.
416+
// V2 endpoint is required for the “Custom Translation” feature. Example: "wss://westcentralus.stt.speech.microsoft.com/speech/universal/v2"
417+
418+
try (SpeechTranslationConfig config = SpeechTranslationConfig.fromEndpoint(URI.create(endpointUrl), speechSubscriptionKey)) {
419+
420+
// Sets source and target language(s).
421+
….
422+
423+
// Set the category id
424+
config.setCustomModelCategoryId("yourCategoryId");
425+
426+
….
427+
}
428+
```
408429

409430
[speechtranslationconfig]: /dotnet/api/microsoft.cognitiveservices.speech.speechtranslationconfig
410431
[audioconfig]: /dotnet/api/microsoft.cognitiveservices.speech.audio.audioconfig

articles/aks/csi-migrate-in-tree-volumes.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -515,7 +515,7 @@ Migration from in-tree to CSI is supported by creating a static volume:
515515
- Protect your newly migrated CSI Driver based PVs by [backing them up using Azure Backup for AKS](../backup/azure-kubernetes-service-cluster-backup.md).
516516
<!-- LINKS - internal -->
517517
[install-azure-cli]: /cli/azure/install-azure-cli
518-
[aks-rbac-cluster-admin-role]: manage-azure-rbac.md#create-role-assignments-for-users-to-access-the-cluster
518+
[aks-rbac-cluster-admin-role]: manage-azure-rbac.md#create-role-assignments-for-cluster-access
519519
[azure-resource-locks]: ../azure-resource-manager/management/lock-resources.md
520520
[csi-driver-overview]: csi-storage-drivers.md
521521
[aks-storage-backups-best-practices]: operator-best-practices-storage.md

0 commit comments

Comments
 (0)