Spaces:
Sleeping
Sleeping
Commit ·
9eb858f
1
Parent(s): c9e9e4d
rebuild
Browse files
app/services/sql_agent.py
CHANGED
|
@@ -289,7 +289,6 @@
|
|
| 289 |
# else:
|
| 290 |
# return "Error: Unable to list tables. The list_tables_tool is not initialized."
|
| 291 |
|
| 292 |
-
# # Check if the query is relevant to the database
|
| 293 |
# if not self.is_query_relevant(query):
|
| 294 |
# print("Not relevent to database.")
|
| 295 |
# # If not relevant, let the LLM answer the question directly
|
|
|
|
| 289 |
# else:
|
| 290 |
# return "Error: Unable to list tables. The list_tables_tool is not initialized."
|
| 291 |
|
|
|
|
| 292 |
# if not self.is_query_relevant(query):
|
| 293 |
# print("Not relevent to database.")
|
| 294 |
# # If not relevant, let the LLM answer the question directly
|