Spaces:
Sleeping
Sleeping
Update ai.py
Browse files
ai.py
CHANGED
|
@@ -12,7 +12,8 @@ def generate_sql_response(request):
|
|
| 12 |
prompt=f"""You are a SQL expert with decades of experience.using your experience and skills generate
|
| 13 |
a sql query that generates the correct output for the below request.\n
|
| 14 |
<INST>You have access to two tables:[Employees (ID, Name, Department, Salary, Hire_Date), Departments (ID, Name, Manager)].
|
| 15 |
-
Return just the sql query, NO DESCRIPTION, NO DELIMITER
|
|
|
|
| 16 |
|
| 17 |
<request>{request}</request>"""
|
| 18 |
|
|
|
|
| 12 |
prompt=f"""You are a SQL expert with decades of experience.using your experience and skills generate
|
| 13 |
a sql query that generates the correct output for the below request.\n
|
| 14 |
<INST>You have access to two tables:[Employees (ID, Name, Department, Salary, Hire_Date), Departments (ID, Name, Manager)].
|
| 15 |
+
Return just the sql query, NO DESCRIPTION, NO DELIMITER.
|
| 16 |
+
You will not be rewarded if your response contains any delimiter or description.</INST>\n\n
|
| 17 |
|
| 18 |
<request>{request}</request>"""
|
| 19 |
|