Files
nvi/api/prompts/text_to_sql.user.txt

11 lines
254 B
Plaintext

Question:
{question}
Schema (only the tables that look relevant; you may use any of these):
{schema_block}
Metric catalog (copy the SQL verbatim when the question maps to one):
{metrics_block}
Return only the SQL in a ```sql fenced block.{retry_hint}