ChatGPT - Generate Message
Overviewβ
First time using this Blueprint? Make sure you follow our ChatGPT authorization guide.β
Takes input from the user to create a message to send
Variablesβ
Name | Reference | Type | Required | Default | Options | Description |
---|---|---|---|---|---|---|
API Key | CHATGPT_API_KEY | Password | β | - | - | API Key from OpenAI |
Message Type | CHATGPT_MESSAGE_TYPE | Select | β | Email | Email: email Message: message | The format of the message that will be generated by ChatGPT |
Impersonating | CHATGPT_IMPERSONATION | Alphanumeric | β | - | - | If included, ChatGPT will write the message in the same speaking style of the person listed. |
Tone | CHATGPT_TONE | Alphanumeric | β | - | - | The tone of the message generated by ChatGPT |
Recipient | CHATGPT_RECIPIENT | Alphanumeric | β | - | - | Who should ChatGPT generate the message for |
Sender | CHATGPT_SENDER | Alphanumeric | β | - | - | Who should ChatGPT say the message is from |
Prompt | CHATGPT_PROMPT | Alphanumeric | β | - | - | What should the message say from ChatGPT |
Local File Name | CHATGPT_DESTINATION_FILE_NAME | Alphanumeric | β | - | - | The name for the txt file once it is generated. |
YAMLβ
Below is the YAML template for this Blueprint and can be used in the Fleet YAML Editor.
source:
blueprint: ChatGPT - Generate Message
inputs:
CHATGPT_API_KEY: null ## REQUIRED
CHATGPT_MESSAGE_TYPE: Email ## REQUIRED
CHATGPT_IMPERSONATION: null
CHATGPT_TONE: null
CHATGPT_RECIPIENT: null
CHATGPT_SENDER: null
CHATGPT_PROMPT: 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'