Spaces:
Runtime error
Runtime error
Commit
·
f823183
1
Parent(s):
635397c
Update app.py
Browse files
app.py
CHANGED
|
@@ -100,7 +100,7 @@ def main():
|
|
| 100 |
db_search_tool = Tool(
|
| 101 |
name="dbRetrievalTool",
|
| 102 |
func=qa_chain,
|
| 103 |
-
description="""Use this tool
|
| 104 |
)
|
| 105 |
|
| 106 |
search = SerpAPIWrapper(serpapi_api_key=serp_token)
|
|
@@ -108,7 +108,7 @@ def main():
|
|
| 108 |
google_searchtool= Tool(
|
| 109 |
name="Current Search",
|
| 110 |
func=search.run,
|
| 111 |
-
description="use this tool to answer
|
| 112 |
)
|
| 113 |
|
| 114 |
# tool for asking human
|
|
|
|
| 100 |
db_search_tool = Tool(
|
| 101 |
name="dbRetrievalTool",
|
| 102 |
func=qa_chain,
|
| 103 |
+
description="""Use this tool to answer document related questions. The input to this tool should be the question.""",
|
| 104 |
)
|
| 105 |
|
| 106 |
search = SerpAPIWrapper(serpapi_api_key=serp_token)
|
|
|
|
| 108 |
google_searchtool= Tool(
|
| 109 |
name="Current Search",
|
| 110 |
func=search.run,
|
| 111 |
+
description="use this tool to answer real time or current search related questions.",
|
| 112 |
)
|
| 113 |
|
| 114 |
# tool for asking human
|