Work/Products/YouTube Explainer
RAG appLLMStreamlit

YouTube Explainer

Paste a YouTube URL, get a summary and Q&A grounded in the transcript.

ROLETo confirm
TYPERAG app
PLATFORMWeb (Streamlit)
STATUSPrototype
TRY IT · hands on

Play with a small version

A simplified, in-browser version of how YouTube Explainer works. Nothing here talks to the real system.

ARCHITECTURE · how it flows
  1. YouTube URL
  2. Transcript
  3. Clean + chunk
  4. Embeddings
  5. FAISS index
  6. Answer

LangChain joins the retriever and the LLM. FAISS runs in memory, locally.

01 · Overview

The problem

Understanding a long video means watching all of it.

A RAG app that fetches a video’s transcript, chunks and embeds it into FAISS, and answers questions with an LLM in a Streamlit UI.

GOAL

Let people understand and question long videos without watching them in full.

02 · What I built

The key decisions

01

Transcript fetching, cleaning and semantic chunking.

02

OpenAI or Hugging Face embeddings in an in-memory FAISS index, with top-k retrieval feeding the LLM.

03

A Streamlit UI with summary and Q&A chat, cached for speed.

03 · Challenges

What was hard, and what I did

CHALLENGE

Unpunctuated transcripts

WHAT I DID

Chunking and normalisation before embedding.

CHALLENGE

Context window limits

WHAT I DID

Only the most relevant chunks are passed to the model.

CHALLENGE

Streamlit re-running everything

WHAT I DID

Caching the index and model between interactions.

WHERE IT STANDS

Tested on lectures, interviews and tutorials.

04 · Results

The numbers

<2 sresponse for most queries (OpenAI backend)self-reported

Only numbers I can back up are shown here. Where a figure is self-reported or from a benchmark I haven't re-run, it says so.

06 · Stack

Built with

TECHNOLOGY
Pythonyoutube-transcript-apiLangChainOpenAIFAISSStreamlit
MY ROLE

Role to add.

Building something like YouTube Explainer?

I'm happy to walk through the architecture and trade-offs on a call.

Book a 20-min call →