ChatGPT - Translate a Text File
Overview
First time using this Template? Make sure you follow our ChatGPT authorization guide.
This Template takes in a text file and translate it to the language that is chosen.
Remember: ChatGPT should be used as a starting point, not a replacement for a PMG’r in the process. Use it to rough draft content, summarize insights, or jumpstart repetitive work—but always review and tailor output before use.
Best Practices is don’t send ChatGPT-generated content directly to clients without human review.
For example, instead of sending GPT gneerated insights directly to the client:
→ Try slacking the file to your team channel for feedback
→ Or uploading to Google Drive and review together before sharing externally
Always ensure what’s shared reflects our standards, expertise, and strategic thinking.
Variables
Name | Reference | Type | Required | Default | Options | Description |
---|---|---|---|---|---|---|
API Key | CHATGPT_API_KEY | Password | ✅ | - | - | API Key from OpenAI |
Text File to Translate | CHATGPT_TEXT_FILE | Alphanumeric | ✅ | - | - | The file that you would like to translate |
Language | CHATGPT_LANGUAGE | Alphanumeric | ✅ | - | - | The language you would like the text translated to. It should be in ISO 639-1 format for best accuracy. |
Translation File Name | CHATGPT_DESTINATION_FILE_NAME | Alphanumeric | ✅ | - | - | File name of translated text |
YAML
Below is the YAML template for this Template and can be used in the Fleet YAML Editor.
source:
blueprint: ChatGPT - Translate a Text File
inputs:
CHATGPT_API_KEY: null ## REQUIRED
CHATGPT_TEXT_FILE: null ## REQUIRED
CHATGPT_LANGUAGE: null ## REQUIRED
CHATGPT_DESTINATION_FILE_NAME: null ## REQUIRED
type: BLUEPRINT
guardrails:
retry_count: 1
retry_wait: 0h0m0s
runtime_cutoff: 1h0m0s
exclude_exit_code_ranges:
- '0'