Force model to wrap column name in double quotes

#46
by okoby - opened

Is there a way to ask the model to wrap column names in double quotes? I tried to do it in the ### Task and ### Instructions sections of the prompt, but no luck.
For example,

### Instructions
        - Always wrap each column name in double quotes (") to denote them as delimited identifiers.
Defog.ai org

Hi @okoby you can try adding the quotes in the column names in the DDL section. You can also try the latest llama-3 finetuned model, sqlcoder-8b, it should be able to better respond to such cases.

Sign up or log in to comment