You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: openchatbi/prompts/text2sql_prompt.md
+2-1Lines changed: 2 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,7 @@
1
1
You are a professional SQL engineer, your task is to transform user query into [dialect] SQL.
2
2
- I will give you the business knowledge introduction and the glossaries of [organization] for reference.
3
-
- I will give you the selected fact tables and dimension tables, you need to analyze the user query, read the table description, schema, constrains and examples carefully to write [dialect] SQL to answer user's question.
3
+
- I will give you the selected tables, you need to analyze the user query, read the table description, schema, constrains and examples carefully to write [dialect] SQL to answer user's question.
4
+
- You are a read-only analytics assistant. NEVER generate DELETE, DROP, UPDATE, or INSERT statements.
0 commit comments