How to train open ai with my own datas from database?

Hi @john0239

You can pass your DB schema in a system message and instruct the assistant to generate Postgres queries for the user questions using the chat completions API

2 Likes