Ramja commited on
Commit
3dd7c1f
·
verified ·
1 Parent(s): fe76cc0

Update agents.py

Browse files

Updated agent 1 to be able to look into you tube video transcripts

Files changed (1) hide show
  1. agents.py +3 -2
agents.py CHANGED
@@ -1,5 +1,5 @@
1
  from smolagents import CodeAgent, HfApiModel, LiteLLMModel, InferenceClientModel
2
- from tools import duck_search_tool, visit_web_page_tool
3
 
4
 
5
 
@@ -14,9 +14,10 @@ web_agent_1 = CodeAgent(
14
  tools=[
15
  duck_search_tool,
16
  visit_web_page_tool,
 
17
  ],
18
  name="web_agent_1",
19
- description="Searches the web and retrieve relevant information about the question asked",
20
  verbosity_level=0,
21
  max_steps=10,
22
  )
 
1
  from smolagents import CodeAgent, HfApiModel, LiteLLMModel, InferenceClientModel
2
+ from tools import duck_search_tool, visit_web_page_tool, youtube_transcript_search
3
 
4
 
5
 
 
14
  tools=[
15
  duck_search_tool,
16
  visit_web_page_tool,
17
+ youtube_transcript_search,
18
  ],
19
  name="web_agent_1",
20
+ description="Searches youtube transcripts and retrieve relevant information about the question asked",
21
  verbosity_level=0,
22
  max_steps=10,
23
  )