sqfoo commited on
Commit
c5626d9
·
verified ·
1 Parent(s): d01e91e

Update agent.py

Browse files
Files changed (1) hide show
  1. agent.py +1 -1
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
- elf.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}")
 
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}")