Khachatur Mirijanyan
commited on
Commit
•
5b84233
1
Parent(s):
ecd6946
Add Back the query checking
Browse files
app.py
CHANGED
@@ -80,7 +80,7 @@ def answer_question(query):
|
|
80 |
prompt=PROMPT,
|
81 |
verbose=True,
|
82 |
return_intermediate_steps=True,
|
83 |
-
|
84 |
)
|
85 |
result = db_chain(q)
|
86 |
return result['result']
|
|
|
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']
|