YouTube Search Integration with AG2
YouTube Search
integration in AG2, follow
these steps:
Install AG2 with the google-search
extra, which includes the necessary
dependencies for YouTube search. Since our examples also use openai
,
install it as well:
Note: If you have been usingautogen
orag2
, all you need to do is upgrade it using:orasautogen
, andag2
are aliases for the same PyPI package.
YoutubeSearchTool
with your YouTube API key.