Spaces:
Sleeping
Sleeping
Update agent.py
Browse files
agent.py
CHANGED
|
@@ -140,7 +140,7 @@ class BasicAgent:
|
|
| 140 |
TASK: How many All England Title that Lee Chong Wei won?
|
| 141 |
ACTION: Call wiki_search with the query: "Lee Chong Wei". Extract the relevant row of All England Title and count how many rows is there.
|
| 142 |
"""
|
| 143 |
-
|
| 144 |
self.prompt = ChatPromptTemplate.from_messages([
|
| 145 |
("system", self.sys_prompt),
|
| 146 |
("human", "{input}")
|
|
|
|
| 140 |
TASK: How many All England Title that Lee Chong Wei won?
|
| 141 |
ACTION: Call wiki_search with the query: "Lee Chong Wei". Extract the relevant row of All England Title and count how many rows is there.
|
| 142 |
"""
|
| 143 |
+
self.tools = [web_search, visit_webpage, wiki_search, youtube_transcript, read_file, image_caption, PythonREPLTool()]
|
| 144 |
self.prompt = ChatPromptTemplate.from_messages([
|
| 145 |
("system", self.sys_prompt),
|
| 146 |
("human", "{input}")
|