How do i create a custom model for text to sql queries?

Hey @dror
I have tried to make a similar project
I have raise a query here : Creating a Chatbot using the data stored in my huge database

can you please have a look and guide me in some way
and may I know what is the accuracy level of the your English to SQL terminal converter you have made
Because I dont see much any lengthy prompts or so making the open ai understand to give a sql query which many of the online resources have suggested and which I have also tried.