Skip to main content

ChatGPT

Sends a message to ChatGPT and returns the response.

Category: AI & Large Language Models · Group: General · Activity name: ChatGPT

The ChatGPT activity in the designer

Example

outputVariable = ChatGPT("<input>", "gpt-3.5-turbo", maxTokens=4096, responseType="text")

Inputs

NameTypeRequiredDefaultDescription
MessagestringYesThe message to be sent to ChatGPT.
GPT ModelstringYesgpt-3.5-turboSelect your GPT-MODEL. One of: gpt-3.5-turbo, gpt-4o, gpt-5.6-luna.
Maximum TokensintegerYes4096The maximum amount of tokens to be used.
Response TypestringYestextChoose the format for GPT's response. If you select JSON, ensure the prompt includes the keyword "json." One of: text, json_object.

Outputs

NameTypeDescription
outputVariablestringSpecifies the name of the variable that will store the response.