Modifying text response using ChatGPT in Qualtrics | XM Community
Skip to main content
Question

Modifying text response using ChatGPT in Qualtrics

  • 5 July 2024
  • 2 replies
  • 26 views

I am looking to do the following in Qualtrics.  

(Step 1) Respondent reads a business scenario and a question related to the scenario. 

(Step 2) Respondent keys in the answer to the question in a text box. 

(Step 3) At the backend, the user-entered text is fed to ChatGPT.  Based on a fixed prompt (e.g. improve the grammar and structure of the response), ChatGPT modifies the response.  

(Step 4) The ChatGPT-modified response is displayed to the respondent on the screen.  They get an option to use the modified response as such, or edit the response and submit.  

Is coding mandatory to accomplish the above?  I am familiar with basic survey design in Qualtrics, but not coding. 

In the data, I need to preserve the original response, the ChatGPT-modified response and the final response entered by the respondent. 

 

2 replies

Userlevel 7
Badge +22

You’ll need to use the ChatGPT API to achieve this. So, yes, coding is necessary for this.

Any suggestions on tutorials to get started with coding for the above task?

Leave a Reply