Glossary service
The tasks of the translation glossary service are to
Load glossary from file for the languages involved in translation i.e.
source_language
andtarget_language
Analyse the text to be translated and identify words that are part of the glossary
Prepare a glossary prompt part that is added to the prompt of the translation task sent to the LLM
Prerequisites
An xlsx containing the desired translation must be uploaded to the knowledge base. When uploading the document it will be automatically associated with a scope and the id of this scope will be used as the scope_id
to retrieve the glossary during translation. A template for this glossary can be downloaded H
Configuration
Default
{
"scope_id": null,
"filename": null,
"active": false
}
Pseudo Example
{
"scope_id": "scope_111111111111111111111111",
"filename": "glossary.xlsx",
"active": true
}
Parameter Description
Parameter | Description | Default Value |
---|---|---|
| The scope id within the knowledge base | "" |
| The filename of the | "" |
| If the glossary is used or not | False |
© 2024 Unique AG. All rights reserved. Privacy Policy – Terms of Service