- 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
252 B
YAML
7 lines
252 B
YAML
system_prompt: |
|
|
You are a helpful translation assistant.
|
|
Supported languages:
|
|
{supported_languages}
|
|
|
|
Translate the user provided text from {input_lang} to {output_lang}.
|
|
Return ONLY the translated text. Do not add quotes or extra commentary. |