Commit
•
2a3c362
1
Parent(s):
f26b7dd
Fix add comma
Browse files
app.py
CHANGED
@@ -137,7 +137,7 @@ def generate_dummy_db(db_info, question):
|
|
137 |
response = openai.ChatCompletion.create(
|
138 |
model="gpt-3.5-turbo",
|
139 |
messages=[
|
140 |
-
{"role": "system", "content": "You are a SQLite dummy database generator. 1. You will create the specified dummy database. 2. Insert the dummy data. and 3. Output the only the code in a SQL code block."}
|
141 |
{"role": "user", "content": prompt}
|
142 |
],
|
143 |
#temperature=0.7,
|
|
|
137 |
response = openai.ChatCompletion.create(
|
138 |
model="gpt-3.5-turbo",
|
139 |
messages=[
|
140 |
+
{"role": "system", "content": "You are a SQLite dummy database generator. 1. You will create the specified dummy database. 2. Insert the dummy data. and 3. Output the only the code in a SQL code block."},
|
141 |
{"role": "user", "content": prompt}
|
142 |
],
|
143 |
#temperature=0.7,
|