-
Notifications
You must be signed in to change notification settings - Fork 62
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
0262d0e
commit 00457a5
Showing
4 changed files
with
109 additions
and
42 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,9 @@ | ||
Generate a PostgreSQL query to answer the following question: `{user_question}` | ||
Your task is to convert a text question to a {db_type} query, given a database schema. | ||
|
||
The query will run on a database with the following schema: | ||
Generate a SQL query that answers the question `{user_question}`. | ||
{instructions} | ||
This query will run on a database whose schema is represented in this SQL DDL: | ||
{table_metadata_string} | ||
|
||
Please return only the SQL query in your response, nothing else. | ||
Return the SQL query that answers the question `{user_question}` | ||
```sql |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
anthropic | ||
argparse | ||
func_timeout | ||
google-generativeai | ||
mistralai | ||
mysql-connector-python | ||
numpy==2.1.2 | ||
|