Khachatur Mirijanyan commited on
Commit
6ed7387
1 Parent(s): 5b84233

Reset table info

Browse files
Files changed (1) hide show
  1. app.py +2 -3
app.py CHANGED
@@ -27,8 +27,7 @@ def get_prompt():
27
  Only use the following tables:
28
 
29
  {table_info}
30
- Each person has a first name, last name, and an id
31
- When a query is asked about a person, initial information about that person including their id can be found in the active_players table
32
  Question: {input}"""
33
 
34
  PROMPT = PromptTemplate(
@@ -80,7 +79,7 @@ def answer_question(query):
80
  prompt=PROMPT,
81
  verbose=True,
82
  return_intermediate_steps=True,
83
- use_query_checker=True
84
  )
85
  result = db_chain(q)
86
  return result['result']
 
27
  Only use the following tables:
28
 
29
  {table_info}
30
+
 
31
  Question: {input}"""
32
 
33
  PROMPT = PromptTemplate(
 
79
  prompt=PROMPT,
80
  verbose=True,
81
  return_intermediate_steps=True,
82
+ # use_query_checker=True
83
  )
84
  result = db_chain(q)
85
  return result['result']