YouTube is the fastest-growing platform for all sorts of content. Video reviews being one of them. I love the quality that goes into these reviews.
But what if there was a way to quickly grab consensus of these videos without spending hours watching them all?
TLDR: Yes. With AI.
See the results 👉 twitter.com/MKBHDtldr
Alongside the rapid growth of YouTube’s popularity is AI innovation. One particular company that is gaining a lot of attention is Elon Musk-backed OpenAI.
Last week, I was fortunate enough to join their private beta program. So very quickly, I decided to try something I have wanted to do with RecoRank for some time: automated YouTube video review analysis using AI.
I’m a huge MKBHD fan. And as one of the top YouTube video reviewers, I tried using OpenAI to summarize his video review transcripts.
The results have been amazing so far.
Step 1: Extract Transcripts
from youtube_transcript_api import YouTubeTranscriptApi
subtitles = YouTubeTranscriptApi.get_transcript("dhAmMXCBIcg")
sub_list = []
for subtitle in subtitles:
sub_list.append(subtitle['text'])
txt = " ".join(sub_list)
print(txt)
This simple Python script using YouTubeTranscriptApi quickly gets you the transcript of any YouTube video - given that the video has a transcript. The API will produce an error if one does not exist.
Step 2: Summarize with OpenAI
I used OpenAI’s tl;dr:
(too long; didn’t read) function to achieve AI-generated transcript summaries.
On top of the default settings, I also:
0
to exclude any improvisation of the results and get the summary with no guessworkThe [product name]
right after tl;dr:
to guide OpenAI on what I wanted (i.e. The iPhone 12 is a great phone, but it's not a huge leap forward.
- I didn’t do this for all summaries, but I did find that this method delivered the most consistent results than just using tl;dr
on its own)⏎
as a Stop Sequence to limit the results to one paragraphThese are just the results of one week of experimentation with OpenAI. Pros and cons are other areas to explore.
These are the pros and cons results for MKBHD’s Samsung Galaxy S21 review:
Pros:
– Great display
– Great performance
– Great cameras
– Great battery life
– Great design
– Great value
Cons:
– No expandable storage
– No MST
– No S Pen
– No wireless charging
I’m hoping to add these insights to RecoRank soon.
My friend Adrian Krebs has a blog post about his trials in this area for his business, BuyForLife.com. Definitely worth a read.
Have an idea of how OpenAI could be applied for review analysis and summarization? I’d love to hear from you. Hit me up on Twitter or send me an email @ tavislochhead [ at ] gmail [ dot ] com.
Posted February 28, 2021
Tavis Lochhead is a seasoned marketer who loves tech and data. Tavis is the founder of RecoRank and also consults as a marketer, programmer, and data analyst.
Help Tavis get to 40 followers on Twitter.