defog-ai / sqlcoder

SoTA LLM for converting natural language questions to SQL queries
Apache License 2.0
3.42k stars 218 forks source link

Level of SQL mastery by sqlcoder #122

Open NourOM02 opened 2 weeks ago

NourOM02 commented 2 weeks ago

@rishsriv Such a great model ! Just wanted to know the right way to use, since the prompt template provided by the documentation talks about the database schema, but doesn't get into more details. By schema, is it only the commands to create table ? or does it also include constraints, views, indexes.... and if it is the case how can they be included (if the data used to train the model contains a sample of such a case, it would be great to share the sample).