Skip to content

Latest commit

 

History

History
32 lines (23 loc) · 1.38 KB

translate-with-custom-model.md

File metadata and controls

32 lines (23 loc) · 1.38 KB
title titleSuffix description author manager ms.service ms.date ms.author ms.topic
Translate text with a custom model
Azure AI services
How to make translation requests using custom models published with the Azure AI Translator Custom Translator.
laujan
nitinme
azure-ai-translator
07/18/2023
lajanuar
how-to

Translate text with a custom model

After you publish your custom model, you can access it with the Translator API by using the Category ID parameter.

How to translate

  1. Use the Category ID when making a custom translation request via Microsoft Translator Text API V3. The Category ID is created by concatenating the WorkspaceID, project label, and category code. Use the CategoryID with the Text Translation API to get custom translations.

    https://api.cognitive.microsofttranslator.com/translate?api-version=3.0&to=de&category=a2eb72f9-43a8-46bd-82fa-4693c8b64c3c-TECH
    

    More information about the Translator Text API can be found on the Translator API Reference page.

  2. You may also want to download and install our free DocumentTranslator app for Windows.

Next steps

[!div class="nextstepaction"] Learn more about building and publishing custom models