Glossary service

The tasks of the translation glossary service are to

 

  1. Load glossary from file for the languages involved in translation i.e. source_language and target_language

  2. Analyse the text to be translated and identify words that are part of the glossary

  3. 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

Parameter

Description

Default Value

scope_id

The scope id within the knowledge base

""

filename

The filename of the .xlsx file

""

active

If the glossary is used or not

False

© 2024 Unique AG. All rights reserved. Privacy PolicyTerms of Service