Get YouTube Video Usefulness
automatically using AI.
Millions of youtube videos are uploaded daily. As users of this platform, we find ourselves
sometimes going through a video and later realizing it wasn't what we intended to watch or the
quality was subpar. For this reason, we shall make use of AI to build a tool which ingests
comments from a given youtube video and tells us how good this video will be before we watch
it.
Step 1:
- Go to Google AI Studio: [Link]
- Then click on Get API Key
- Click on Create API Key
- Once you get your api key, save it in your computer, then go back to
[Link] and click on Get Code.
- Select the programming language to be Python and copy the code.
- Go to [Link] , then click on File and then New Notebook in
Drive
- After pasting the code, you should have something like this:
-
- Insert your API Key and a suitable prompt
Step 2:
- Follow the instructions in this video
([Link]
haring) to get your Youtube api key.
- Then head to Google AI Studio ([Link] and prompt it using Gemini
pro 2.5 to give you code to obtain comments from a youtube video (Ex: code to
obtain the comments of a youtube video using youtube data api)
- Use this generated code, together with the previous code to build a method which takes
as input a youtube video id and says whether it's a relevant video or not.
Step 3:
- Fill this form with all necessary information for your grading:
[Link]
sUa14AzJKxInA/viewform?usp=header
Good Luck !