richardr1126 commited on
Commit
1185d5b
1 Parent(s): 8a36c39
Files changed (1) hide show
  1. app.py +1 -3
app.py CHANGED
@@ -133,9 +133,7 @@ def generate_dummy_db(db_info, question):
133
  pre_prompt = """
134
  Generate a SQLite database with dummy data for this database from the DB Layout. Your task is to generate just a database, no queries. For each input do the following:
135
  1. Breakdown the Question into small pieces and explain what the question is asking for.
136
- 2. Write code to create the specified dummy database using the same exact table and column names used from the DB Layout.
137
- 3. Write code to insert dummy data relevant to the Question.
138
- 4. Output the datbase code in a single code block. Don't write any queries or SELECT statements in the code.
139
  """
140
  prompt = pre_prompt + "\n\nDB Layout:" + db_info + "\n\nQuestion: " + question
141
 
 
133
  pre_prompt = """
134
  Generate a SQLite database with dummy data for this database from the DB Layout. Your task is to generate just a database, no queries. For each input do the following:
135
  1. Breakdown the Question into small pieces and explain what the question is asking for.
136
+ 2. Write code to create the specified dummy database using the same exact table and column names used from the DB Layout. Insert dummy data relevant to the Question. Output the datbase code in a single code block. Don't write any queries or SELECT statements in the code.
 
 
137
  """
138
  prompt = pre_prompt + "\n\nDB Layout:" + db_info + "\n\nQuestion: " + question
139