Skip to content

Commit

Permalink
DH-5002/update the prompt
Browse files Browse the repository at this point in the history
  • Loading branch information
MohammadrezaPourreza committed Nov 14, 2023
1 parent f7bd79a commit bc22e7d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dataherald/utils/agent_prompts.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit bc22e7d

Please sign in to comment.