Wiro - Translate Gemma 27B It
AI-generatedOverview
This node integrates with the Wiro Translate Gemma 27B It API by Google to perform language translation tasks. It sends a translation prompt along with source and target languages and a maximum token limit to the API, then polls for the translation task's completion. This node is useful for automating translation workflows, such as translating text content between languages in a transparent and straightforward manner.
Use Case Examples
- Translating a text prompt from English to Italian with a specified maximum token limit.
- Automating translation of user-generated content in a multi-language application.
Properties
| Name | Meaning |
|---|---|
| Prompt | The text prompt to be translated. |
| Source Language | The language code of the source text to translate from. |
| Target Language | The language code of the target language to translate to. |
| Maximum New Tokens | The maximum number of new tokens to generate in the translation output. |
Output
JSON
taskid- The unique identifier of the translation task.url- The URL of the completed translation result, if available.status- The status of the translation task, indicating if it completed successfully or failed.
Dependencies
- Requires Wiro API credentials including an API key and secret for authentication.
Troubleshooting
- If the node throws an error indicating missing or invalid task ID or socket access token, verify that the Wiro API credentials are correct and that the API endpoint is reachable.
- If the translation task status is 'failed', check the input parameters such as prompt and language codes for correctness and ensure the API service is operational.