Tetap teratur dengan koleksi
Simpan dan kategorikan konten berdasarkan preferensi Anda.
Vertex AI Translation adalah salah satu dari tiga API pra-latih Vertex AI di Google Distributed Cloud (GDC) yang terisolasi. Dengan layanan Vertex AI Translation, Anda dapat menerjemahkan teks yang ditulis dalam lebih dari dua puluh bahasa ke dalam bahasa Inggris.
Vertex AI Translation menawarkan metode berikut yang tersedia di
Distributed Cloud:
Sebelum membuat permintaan terjemahan, siapkan project terjemahan.
Anda dapat menguji Vertex AI Translation API di Distributed Cloud dengan
menerjemahkan teks
dari satu bahasa ke bahasa lain.
Pertimbangan
Saat menggunakan Vertex AI Translation API, terutama metode translateText, pertimbangkan aspek berikut:
Panjang input maksimum konten untuk terjemahan adalah 1024 karakter.
Metode translateText tidak mendukung pengelompokan.
Jenis karakter dan sebagian besar teks memengaruhi kualitas terjemahan.
Oleh karena itu, jika Anda mengalami masalah terjemahan, ikuti langkah-langkah berikut:
Hapus semua karakter khusus dan escape yang dapat memengaruhi pemrosesan permintaan.
Kurangi ukuran input dengan membagi konten menjadi kalimat yang lebih pendek.
Terjemahkan kembali setiap kalimat yang lebih kecil dengan mengirimkannya dalam permintaan
terpisah ke endpoint.
[[["Mudah dipahami","easyToUnderstand","thumb-up"],["Memecahkan masalah saya","solvedMyProblem","thumb-up"],["Lainnya","otherUp","thumb-up"]],[["Sulit dipahami","hardToUnderstand","thumb-down"],["Informasi atau kode contoh salah","incorrectInformationOrSampleCode","thumb-down"],["Informasi/contoh yang saya butuhkan tidak ada","missingTheInformationSamplesINeed","thumb-down"],["Masalah terjemahan","translationIssue","thumb-down"],["Lainnya","otherDown","thumb-down"]],["Terakhir diperbarui pada 2025-09-04 UTC."],[[["\u003cp\u003eVertex AI Translation, available on Google Distributed Cloud (GDC) air-gapped, allows you to translate text from over twenty languages into English.\u003c/p\u003e\n"],["\u003cp\u003eThe service offers various methods, including \u003ccode\u003ebatchTranslateDocument\u003c/code\u003e for large volumes, \u003ccode\u003edetectLanguage\u003c/code\u003e to identify the source language, and \u003ccode\u003etranslateText\u003c/code\u003e for direct text translation.\u003c/p\u003e\n"],["\u003cp\u003eVertex AI Translation supports obtaining operational statuses through the \u003ccode\u003egetOperation\u003c/code\u003e and \u003ccode\u003elistOperations\u003c/code\u003e methods, alongside getting all the languages supported by the service with \u003ccode\u003egetSupportedLanguages\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003etranslateText\u003c/code\u003e method has a maximum input limit of 1024 characters and does not support batching, requiring special characters to be removed and large text to be broken into sentences to improve quality.\u003c/p\u003e\n"],["\u003cp\u003eA glossary can optionally be created for defining terms to translate and a project setup is required before making translation requests, while failure to follow these limiting considerations might result in an \u003ccode\u003eAITR2130\u003c/code\u003e error.\u003c/p\u003e\n"]]],[],null,["# Learn about translation features\n\nVertex AI Translation is one of the three Vertex AI\npre-trained APIs on Google Distributed Cloud (GDC) air-gapped. With the\nVertex AI Translation service, you can translate text written in more than\ntwenty languages into English.\n\nVertex AI Translation offers the following methods available in\nDistributed Cloud:\n\nTo optionally define terms to translate, see\n[Create and use a glossary](/distributed-cloud/hosted/docs/latest/gdch/application/ao-user/vertex-ai-glossary).\n\nBefore making translation requests, [set up a translation project](/distributed-cloud/hosted/docs/latest/gdch/application/ao-user/vai-set-up-translation).\nYou can test the Vertex AI Translation API on Distributed Cloud by\n[translating text](/distributed-cloud/hosted/docs/latest/gdch/application/ao-user/quickstart-translation)\nfrom one language to another.\n\nConsiderations\n--------------\n\nWhen using the Vertex AI Translation API, particularly the `translateText`\nmethod, consider the following aspects:\n\n- The maximum input length of contents for translation is 1024 characters.\n- The `translateText` method doesn't support batching.\n- Types of characters and large portions of text affect translation quality.\n Therefore, if you experience translation issues, follow these steps:\n\n 1. Remove all special and escape characters that might affect the processing of the request.\n 2. Reduce the input size by splitting the contents into smaller sentences.\n 3. Translate each of the smaller sentences again by sending them in separate requests to the endpoint.\n\nFor more information, see [`translateText`](/distributed-cloud/hosted/docs/latest/gdch/apis/vertex-ai/translation/rest/v3/projects/translateText).\n| **Important:** Failure to follow these limiting considerations might result in error [`AITR2130 - TranslationServiceInternal`](/distributed-cloud/hosted/docs/latest/gdch/platform-application/pa-ao-troubleshooting/vertex-ai-translation#TranslationServiceInternal)."]]