#How to train ChatGPT with SQL Table using Chat Completion API

2 messages · Page 1 of 1 (latest)

spring plank
#

I have a SQL table containing huge data, need to train the SQL table data to ChatGPT using Chat Completion API.

I tried of generating a SQL query using ChatGPT, but that doesn't work as expected. Sometimes it generates inappropriate query.

hidden geyser
#

Hello. Have you tried instructing the API with the specific formatting you need for the queries? You can also try to lower the temperature property to maybe as low as 0.2 as it will make it more focused and less random with the generated results.