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.
Let people understand and question long videos without watching them in full.
The key decisions
Transcript fetching, cleaning and semantic chunking.
OpenAI or Hugging Face embeddings in an in-memory FAISS index, with top-k retrieval feeding the LLM.
A Streamlit UI with summary and Q&A chat, cached for speed.
What was hard, and what I did
Unpunctuated transcripts
Chunking and normalisation before embedding.
Context window limits
Only the most relevant chunks are passed to the model.
Streamlit re-running everything
Caching the index and model between interactions.
Tested on lectures, interviews and tutorials.
The numbers
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.
Screens and hardware
Built with
Role to add.