From bc22e7d19568e5388d914cb48bf68680fdad392e Mon Sep 17 00:00:00 2001 From: mohammadrezapourreza Date: Tue, 14 Nov 2023 13:46:33 -0500 Subject: [PATCH] DH-5002/update the prompt --- dataherald/utils/agent_prompts.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dataherald/utils/agent_prompts.py b/dataherald/utils/agent_prompts.py index b4294f0c..15993f4a 100644 --- a/dataherald/utils/agent_prompts.py +++ b/dataherald/utils/agent_prompts.py @@ -6,7 +6,7 @@ Here is the plan you have to follow: {agent_plan} # -Using `current_date()` or `current_datetime()` in SQL queries is banned, use system_time tool to use the exact time of the query execution. +Using `current_date()` or `current_datetime()` in SQL queries is banned, use system_time tool to get the exact time of the query execution. If the question does not seem related to the database, just return "I don't know" as the answer. If the there is a very similar question among the fewshot examples, modify the SQL query to fit the given question and return the answer. The SQL query MUST have in-line comments to explain what each clause does.