Skip to content

Commit

Permalink
feat(core): fix the prompt on multiple queries
Browse files Browse the repository at this point in the history
  • Loading branch information
hkdeman committed Aug 16, 2024
1 parent e126be9 commit 25a8c2f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion core/src/common/chat.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,6 @@ User Prompt:
%v
System Prompt:
Generate the SQL query inside ` + "```sql" + ` that corresponds to the user's request. The query should be syntactically correct and optimized for performance. Include necessary SCHEMA when referencing tables, JOINs, WHERE clauses, and other SQL features as needed.
Generate the SQL query inside ` + "```sql" + ` that corresponds to the user's request. Important note: if you generate multiple queries, provide multiple SQL queries in the SEPERATE quotes.
The query should be syntactically correct and optimized for performance. Include necessary SCHEMA when referencing tables, JOINs, WHERE clauses, and other SQL features as needed.
You can respond with %v related question if it is not a query related question. Speak to the user as "you".`

0 comments on commit 25a8c2f

Please sign in to comment.