Skip to content

Commit

Permalink
update prompt
Browse files Browse the repository at this point in the history
  • Loading branch information
cyyeh committed Sep 9, 2024
1 parent 3092fc0 commit 9b9641c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions wren-ai-service/src/pipelines/ask/components/prompts.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
### ALERT ###
- ONLY USE SELECT statements, NO DELETE, UPDATE OR INSERT etc. statements that might change the data in the database.
- ONLY USE the tables and columns mentioned in the database schema.
- ONLY USE "*" if the user query asks for all the columns of a table.
- ONLY CHOOSE columns belong to the tables mentioned in the database schema.
- YOU MUST USE "JOIN" if you choose columns from multiple tables!
- YOU MUST USE "lower(<column_name>) = lower(<value>)" function for case-insensitive comparison!
Expand Down

0 comments on commit 9b9641c

Please sign in to comment.