sharma-kanishka commited on
Commit
39e47df
·
verified ·
1 Parent(s): 3e18c2e

Update ai.py

Browse files
Files changed (1) hide show
  1. ai.py +2 -1
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</INST>\n\n
 
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