Save ChatGPT response data with Bulk ChatGPT Prompter

Posted on: 03/14/2024

Bulk ChatGPT Prompter now allows you to save chatgpt response data by sending web requests to the endpoints that you set in settings. You need to adjust these three options in extension settings:

Post Data – (state: Yes)

Post Request Type – (value: post/get/json)

Post Endpoint – (value: https://example.com) Replace example.com with your website link.

After setting above options, now Bulk ChatGPT Prompter will send web-requests containing these four params to your post endpoint after loading chatgpt for each csv row:

1- file_id

file_id is internal field which is a unique id generated by Bulk ChatGPT Prompter for each csv file you load. This is to track request separately for each file.

2- row_id

row_id is also an internal field which is a unique id generated by Bulk ChatGPT Prompter for each row This is to track each row.

3- hash

hash field is optional and is provided with CSV file using Hash column. You can use this to track csv rows.

4- data

data field is ChatGPT response message, its in text form.

How to receive requests at your endpoint?

PHP Example using POST request type:

<?php $file_id = $_POST["file_id"]; $row_id = $_POST["row_id"]; $hash = $_POST["hash"]; $data = $_POST["data"];
?>