themissingCRAM
commited on
Commit
·
2b23d72
1
Parent(s):
1a788a2
debug
Browse files
app.py
CHANGED
|
@@ -30,7 +30,7 @@ def dummy():
|
|
| 30 |
|
| 31 |
|
| 32 |
@tool
|
| 33 |
-
def sql_engine_tool(query: str
|
| 34 |
"""
|
| 35 |
Allows you to perform SQL queries on the table. Returns a string representation of the result.
|
| 36 |
The table is named 'receipts'. Its description is as follows:
|
|
@@ -42,7 +42,7 @@ def sql_engine_tool(query: str, engine: any) -> str:
|
|
| 42 |
|
| 43 |
Args:
|
| 44 |
query: The query to perform. This should be correct SQL.
|
| 45 |
-
|
| 46 |
"""
|
| 47 |
output = ""
|
| 48 |
print("debug sql_engine_tool")
|
|
|
|
| 30 |
|
| 31 |
|
| 32 |
@tool
|
| 33 |
+
def sql_engine_tool(query: str) -> str:
|
| 34 |
"""
|
| 35 |
Allows you to perform SQL queries on the table. Returns a string representation of the result.
|
| 36 |
The table is named 'receipts'. Its description is as follows:
|
|
|
|
| 42 |
|
| 43 |
Args:
|
| 44 |
query: The query to perform. This should be correct SQL.
|
| 45 |
+
|
| 46 |
"""
|
| 47 |
output = ""
|
| 48 |
print("debug sql_engine_tool")
|