How to update a database based on the output of chatgpt / openai

For example, let’s say I have a table

T-shirt size | count
Medium | 4
Small | 10
Large | 0

And then I tell chatgpt to update the Large count to 5. So my table now looks like this:

T-shirt size | count
Medium | 4
Small | 10
Large | 5

What is this called? What technologies are needed to do this?

it can do that with python. Tell it put your information into a database, then you can manipulate it. Take a few examples of that manipulation, save to a text file, then upload as knowledge. Then it should be able to work with your database, but it wont be persistent. Youll have to download the file each time you are done, then reupload it when you want to edit it. If its going to be completely self contained that within customgpt that is.