Buckets:
AnonymousSpottedToad/candidate_bucket / codebase /python /agno-agi_agno /cookbook /91_tools /youtube_tools.py
| """ | |
| Youtube Tools | |
| ============================= | |
| Demonstrates youtube tools. | |
| """ | |
| from agno.agent import Agent | |
| from agno.tools.youtube import YouTubeTools | |
| # --------------------------------------------------------------------------- | |
| # Create Agent | |
| # --------------------------------------------------------------------------- | |
| agent = Agent( | |
| tools=[YouTubeTools()], | |
| description="You are a YouTube agent. Obtain the captions of a YouTube video and answer questions.", | |
| ) | |
| # --------------------------------------------------------------------------- | |
| # Run Agent | |
| # --------------------------------------------------------------------------- | |
| if __name__ == "__main__": | |
| agent.print_response( | |
| "Summarize this video https://www.youtube.com/watch?v=Iv9dewmcFbs&t", | |
| markdown=True, | |
| ) | |
Xet Storage Details
- Size:
- 808 Bytes
- Xet hash:
- 42692cd905cb899213f5964f838ea62b37fd8fedf8112062088d3f78df6ab4fa
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.