In this article we describe how you can integrate your preferred LLM (large language model) in your localization workflow. Follow the steps below to set up your model for AI translation in your POEditor localization projects.
How to set up an LLM for AI translation
To get started, go to Integrations and choose your preferred provider.
Enter the API key for your account with the chosen provider and confirm that you understand that this is an experimental module to continue.
Select your preferred model and Save your settings. You can also set this integration as default for AI translation at your account level. You'll be able to later change this in your account or organization settings.
How to customize your AI translation prompts
The default prompts for the AI integrations are optimized for performance, while maintaining cost efficiency.
We highly encourage you to customize your prompts to best suit your needs.
Use the Add custom prompts option to do that.
You can add as many custom prompts as you like, ovewriting the existing ones or creating new ones.
The placeholders you can use inside your prompts are:
- {source_language} - Source Language
- {source_translation} - Source Translation
- {target_translation} - Target Translation
- {target_language} - Target Language
- {form} - Plural Form
How to use AI translation
To use the AI translation option in a localization project, go to any language and click in an empty translation box.
After your initial AI transltion is generated, you can request to generate a different type of translation.