| name | qwen-translate |
| description | Translate text between languages using Tongyi Qwen (通义千问) via DashScope API. This skill should be used when the user wants to translate text from one language to another. |
Qwen Translate
Translate text to a target language using Tongyi Qwen LLM.
Usage
python scripts/translate.py "<text>" [target_language]
Parameters
| Parameter | Type | Required | Description |
|---|
| text | string | Yes | The text to translate |
| target_language | string | No | Target language (default: English) |
Behavior
- Sends the text to Qwen with a translation prompt
- Returns the translated text
- Requires DASHSCOPE_API_KEY environment variable
Notes
- Supports any language pair that Qwen can handle
- Temperature is set to 0.3 for consistent translations