Skip to content

Commit 30ca8bf

Browse files
authored
Adding documentation for LLM feature (#239)
1 parent 49a5008 commit 30ca8bf

File tree

3 files changed

+13
-0
lines changed

3 files changed

+13
-0
lines changed
20.4 KB
Loading
Loading

src/tools/pontoon/ui.md

+13
Original file line numberDiff line numberDiff line change
@@ -191,6 +191,19 @@ The origin of the machinery entry is listed in gray above the source string. Cli
191191

192192
Be careful when using the machinery tab as suggestions may not match the source string for the project being translated. Even if the source strings match, the context in which strings are used may not be the same. This could lead to incorrect or unnatural translations. Always keep the meaning and purpose of the string being translated in mind when using the machinery tab.
193193

194+
#### Large language model (LLM) integration
195+
196+
Pontoon will show a dropdown labeled `AI` for all locales that have Google Translate available as a translation source. This feature refines the Google Translate output using an LLM. Opening this dropdown will reveal three options:
197+
* `REPHRASE`: Generate an alternative to this translation.
198+
* `MAKE FORMAL`: Generate a more formal version of this translation.
199+
* `MAKE INFORMAL`: Generate a more informal version of this translation.
200+
201+
![Dropdown to use the LLM feature](../../assets/images/pontoon/ui/llm_dropdown.png "Screenshot of the dropdown to use the LLM feature")
202+
203+
After selecting an option, the revised translation will replace the original suggestion. Once a new translation is generated, another option `SHOW ORIGINAL` will be available in the dropdown menu. Selecting it will revert to the original suggestion.
204+
205+
![Enhanced translation output from the LLM rephrasing the initial Google Translate result.](../../assets/images/pontoon/ui/llm_dropdown_rephrased.png "Screenshot of enhanced translation output from the LLM rephrasing the initial Google Translate result.")
206+
194207
#### Concordance search
195208

196209
Concordance search allows users to search across all projects in Pontoon. Users can search for translations using strings in either source or target language. Matching results are displayed with the source string, translation, and project name; clicking a result will automatically fill the translation into the editor. Note that the search does not need to be related to the current string or project.

0 commit comments

Comments
 (0)