Spaces:
Sleeping
Sleeping
Update agents.py
Browse filesUpdated agent 1 to be able to look into you tube video transcripts
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
|
| 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 |
)
|