Prerequisites
The following example requires theyoutube_transcript_api and openai libraries.
Example
The following agent will provide a summary of a YouTube video.cookbook/91_tools/youtube_tools.py
YouTubeTools let an agent fetch captions, metadata, and timestamps for a YouTube video from its URL.
youtube_transcript_api and openai libraries.