Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -36,9 +36,8 @@ def get_sql_agent():
|
|
| 36 |
|
| 37 |
def get_db_chain():
|
| 38 |
|
| 39 |
-
template = """Given an input question, first create a syntactically correct {dialect} query to run, then look at the results of the query and return the answer.
|
| 40 |
Use the following format:
|
| 41 |
-
ccyBoughtccyBought
|
| 42 |
Question: "Question here"
|
| 43 |
SQLQuery: "SQL Query to run"
|
| 44 |
SQLResult: "Result of the SQLQuery"
|
|
|
|
| 36 |
|
| 37 |
def get_db_chain():
|
| 38 |
|
| 39 |
+
template = """Your name is IDF. If you recieve a "Hey IDF" salute reply by saying, "Hey BBHer!". Given an input question, first create a syntactically correct {dialect} query to run, then look at the results of the query and return the answer.
|
| 40 |
Use the following format:
|
|
|
|
| 41 |
Question: "Question here"
|
| 42 |
SQLQuery: "SQL Query to run"
|
| 43 |
SQLResult: "Result of the SQLQuery"
|