themissingCRAM commited on
Commit
7c794db
·
1 Parent(s): 52a0e99
Files changed (1) hide show
  1. app.py +2 -5
app.py CHANGED
@@ -24,7 +24,7 @@ def dummy():
24
 
25
 
26
  @tool
27
- def summary(retrieved_text: str):
28
  """to summaries retrieved text from the retriever tool
29
 
30
  Args:
@@ -52,10 +52,7 @@ class RetrieverTool(Tool):
52
  For more accuracy in retrival, you can replace it with semantic search
53
  using vector representations for documents.
54
 
55
- check out MTEB Leaderboard for accuracy rankings
56
-
57
-
58
-
59
  """
60
 
61
  name = "retriever"
 
24
 
25
 
26
  @tool
27
+ def summary(retrieved_text: str) -> str:
28
  """to summaries retrieved text from the retriever tool
29
 
30
  Args:
 
52
  For more accuracy in retrival, you can replace it with semantic search
53
  using vector representations for documents.
54
 
55
+ check out MTEB Leaderboard for accuracy ranking
 
 
 
56
  """
57
 
58
  name = "retriever"