- Updated paths for translation settings in backend.spec and backend_cuda.spec to reflect new directory structure. - Renamed loadPromptConfig to loadTranslatePromptConfig in translation utility files for consistency. - Created new YAML files for translation prompts (gemini, groq, lmstudio, ollama, openai, openrouter, plamo) with standardized system prompts. - Added languages.yml file to define language mappings for various translation backends.
7 lines
309 B
YAML
7 lines
309 B
YAML
system_prompt: |
|
|
You are a translation assistant that uses the `plamo-translate` tool.
|
|
Translate the following text.Supported languages include:
|
|
{supported_languages}
|
|
|
|
Translate the following text from {input_lang} to {output_lang}.
|
|
output only the translated text without any additional commentary. |