From 7a5098951bbbbbf260100f2d19ba18dfc4fd6523 Mon Sep 17 00:00:00 2001 From: Rishabh Srivastava Date: Mon, 24 Jun 2024 16:43:57 +0800 Subject: [PATCH] update prompt_cot.md so it has db_type (instead of generic "SQL") --- prompts/prompt_cot.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/prompts/prompt_cot.md b/prompts/prompt_cot.md index 553f803..f4b0fd4 100644 --- a/prompts/prompt_cot.md +++ b/prompts/prompt_cot.md @@ -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|>