Skip to content

Commit

Permalink
Update prompts
Browse files Browse the repository at this point in the history
  • Loading branch information
MohammadrezaPourreza committed Nov 16, 2023
1 parent 52f527a commit 0b14169
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 @@ -114,7 +114,7 @@
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 running the SQL query results in an error, rewrite the SQL query and try again. You can use db_schema tool to get the schema of the database.
only rewrite the query when the execution returned an error.
only rewrite the query when the execution returned an error or it does not follow the instructions provided by the database administrator.
Only rely on generate_sql tool to generate the SQL query.
If the question does not seem related to the database, explain why you cannot answer the question.
Expand Down

0 comments on commit 0b14169

Please sign in to comment.