Skip to main content

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​

NameReferenceTypeRequiredDefaultOptionsDescription
API KeyCHATGPT_API_KEYPasswordβœ…--API Key from OpenAI
Message TypeCHATGPT_MESSAGE_TYPESelectβœ…EmailEmail: email

Message: message

The format of the message that will be generated by ChatGPT
ImpersonatingCHATGPT_IMPERSONATIONAlphanumericβž–--If included, ChatGPT will write the message in the same speaking style of the person listed.
ToneCHATGPT_TONEAlphanumericβž–--The tone of the message generated by ChatGPT
RecipientCHATGPT_RECIPIENTAlphanumericβž–--Who should ChatGPT generate the message for
SenderCHATGPT_SENDERAlphanumericβž–--Who should ChatGPT say the message is from
PromptCHATGPT_PROMPTAlphanumericβœ…--What should the message say from ChatGPT
Local File NameCHATGPT_DESTINATION_FILE_NAMEAlphanumericβœ…--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'