griptape-ai / griptape

Modular Python framework for AI agents and workflows with chain-of-thought reasoning, tools, and memory.
https://www.griptape.ai
Apache License 2.0
1.99k stars 165 forks source link

YouTube search tool: Feature request #278

Open ashkaaar opened 1 year ago

ashkaaar commented 1 year ago

YouTube search tool that lets us search for YouTube videos by keyword, channel ID, or video ID?

This would be super helpful for finding specific videos or channels.

ashkaaar commented 1 year ago

If it's not a bad idea, should I start working on it?

collindutter commented 1 year ago

Hey @ashkaaar sorry for the slow response! This sounds like a great idea, can you please outline a bit more on what you're thinking?

What kind of use cases would this service? You mentioned search, what about getting video transcriptions? Anything else come to mind?

What activities do you envision this tool having? And what would the schema for those activities look like?

ashkaaar commented 12 months ago

Hi @collindutter,

Thanks for your patience. I’m glad you’re interested in this tool.

Originally, I thought of this tool as a means to conduct YouTube searches and queries. However, after your comment, I realized there are other potential uses for this tool. For instance, it could be used for tasks such as summarizing videos and translating content and maybe if needed could be used to provide insights into trending topics and viewer engagement metrics.

In the draft PR #392, I’ve added the functionality to search for YouTube videos based on a query and obtain their transcriptions.

Furthermore, if there’s a more generalized approach like mentioned in #383 for videos, that would indeed be beneficial.

Please let me know what else is needed, and I’ll make the necessary changes.