richardr1126
commited on
Commit
•
2554574
1
Parent(s):
b7ec18f
Different prompt
Browse files
app.py
CHANGED
@@ -138,7 +138,7 @@ def generate_dummy_db(db_info, question):
|
|
138 |
response = openai.ChatCompletion.create(
|
139 |
model="gpt-3.5-turbo",
|
140 |
messages=[
|
141 |
-
{"role": "system", "content": "You are a SQLite dummy database generator
|
142 |
{"role": "user", "content": prompt}
|
143 |
],
|
144 |
#temperature=0.7,
|
|
|
138 |
response = openai.ChatCompletion.create(
|
139 |
model="gpt-3.5-turbo",
|
140 |
messages=[
|
141 |
+
{"role": "system", "content": "You are a SQLite dummy database generator. For each input do the following:\n1. Breakdown the Question into small pieces and analyze what it is asking for. \n2. Create the specified dummy database using the same exact table and column names used from the DB Layout.\n3. Insert dummy data relevant to the Question.\n4. Output the datbase code in a code block."},
|
142 |
{"role": "user", "content": prompt}
|
143 |
],
|
144 |
#temperature=0.7,
|