Skip to content

Commit

Permalink
update prompt_cot.md so it has db_type (instead of generic "SQL")
Browse files Browse the repository at this point in the history
  • Loading branch information
rishsriv authored Jun 24, 2024
1 parent b78e8f1 commit 7a50989
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions prompts/prompt_cot.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<|start_header_id|>user<|end_header_id|>

Generate a SQL query to answer this question: `{user_question}`
Generate a {db_type} query to answer this question: `{user_question}`
{instructions}
DDL statements:
{table_metadata_string}

{cot_instructions}Generate a valid SQL query that answers the question `{user_question}`, and only references the tables and columns in the DDL statements.<|eot_id|><|start_header_id|>assistant<|end_header_id|>
{cot_instructions}Generate a valid {db_type} query that answers the question `{user_question}`, and only references the tables and columns in the DDL statements.<|eot_id|><|start_header_id|>assistant<|end_header_id|>

0 comments on commit 7a50989

Please sign in to comment.