This project demonstrates how to ask natural-language questions about the content of any YouTube video using Retrieval-Augmented Generation (RAG). We combine LangChain and Cohere embeddings to extract transcripts, perform semantic search, and generate answers based on the video.
- β Automatically extract subtitles or transcribe video audio using Whisper.
- β Split and embed transcripts into vector representations.
- β Retrieve the most relevant text chunk using semantic similarity.
- β Generate an answer with a Large Language Model (LLM) based on the retrieved content.
- LangChain
- Cohere
- Chroma or another vector store