themissingCRAM commited on
Commit
0dd13c6
·
1 Parent(s): f7947fc

switch to llama llm 2

Browse files
Files changed (1) hide show
  1. app.py +4 -1
app.py CHANGED
@@ -31,7 +31,9 @@ def dummy():
31
 
32
 
33
  @tool
34
- def sql_engine_tool(query: str, engine: any = engine) -> str:
 
 
35
  """
36
  Allows you to perform SQL queries on the table. Returns a string representation of the result.
37
  The table is named 'receipts'. Its description is as follows:
@@ -43,6 +45,7 @@ def sql_engine_tool(query: str, engine: any = engine) -> str:
43
 
44
  Args:
45
  query: The query to perform. This should be correct SQL.
 
46
  """
47
  output = ""
48
  with engine.connect() as con:
 
31
 
32
 
33
  @tool
34
+ def sql_engine_tool(
35
+ query: str,
36
+ ) -> str:
37
  """
38
  Allows you to perform SQL queries on the table. Returns a string representation of the result.
39
  The table is named 'receipts'. Its description is as follows:
 
45
 
46
  Args:
47
  query: The query to perform. This should be correct SQL.
48
+
49
  """
50
  output = ""
51
  with engine.connect() as con: