ChatGPT

For an existing OpenAI connection, this activity can send a message to the ChatGPT chatbot and receive a response. The message to be sent and the model to interpret the message are input values to the activity. For details on the supported model options, refer to the OpenAI documentation. The activity returns the response as a string; the full response is in JSON format. To use this activity, a connection must be configured to OpenAI.

Table 1. ChatGPT action - Inputs
Parameters Description

Prompt

Enter the instructions to be sent to ChatGPT AI regarding how to process the provided question.

Connection

Select the OpenAI connections from the drop-down list.

Model

Select the OpenAI model to be used.

Question

Enter the query to be sent to ChatGPT AI, which will be answered using the instructions provided in the Prompt.

Table 2. ChatGPT action - Outputs
Parameters Description

Response

Response string from ChatGPT.

Success

Indicates whether the activity was completed successfully (value = True) or not (value = False).

Output

JSON response from ChatGPT.