gitwtfhub

wtf is youtube-rag-chatbot-?

ashishkathane599/youtube-rag-chatbot- — explained in plain English

Analysis updated 2026-05-18

14Jupyter NotebookAudience · developerComplexity · 4/5Setup · hard

TL;DR

A chatbot that answers questions about a specific YouTube video by searching its transcript with a vector database, then generating grounded answers with a local Llama model.

Mindmap

mindmap
  root((YouTube RAG Chatbot))
    What it does
      Answers questions about a video
      Uses the video transcript only
      Grounded LLM responses
    Tech stack
      FastAPI
      LangChain
      FAISS
      Ollama
      SQLite
    Use cases
      Video Q&A assistant
      Lecture assistant
      Training video helper
    Audience
      Developers
      AI learners

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

Why would anyone build with this?

REASON 1

Ask questions about a YouTube video and get answers grounded in its actual transcript.

REASON 2

Build a study or research assistant for lectures, podcasts, or training videos.

REASON 3

Learn how to build a retrieval augmented generation pipeline with a local LLM.

What's in the stack?

PythonFastAPILangChainOllamaFAISSSQLiteHugging Face

How it stacks up

ashishkathane599/youtube-rag-chatbot-mjib007/revenue-yoy-backtestdasjoms/jspace-hallucination-eval
Stars141413
LanguageJupyter NotebookJupyter NotebookJupyter Notebook
Setup difficultyhardeasyhard
Complexity4/51/54/5
Audiencedevelopergeneralresearcher

Figures from each repo's GitHub metadata at analysis time.

How do you spin it up?

Difficulty · hard Time to first run · 1h+

Requires running Ollama locally with the Llama 3.1 8B model plus a Python backend and vector store setup.

No license is stated in the README, so usage rights are unclear.

Wtf does this do

This project lets you chat with the content of any YouTube video in plain language, instead of asking a general purpose chatbot that only knows what it was trained on. You paste in a YouTube link, and the app pulls the video's transcript, breaks it into smaller pieces, and turns those pieces into embeddings, which are numerical representations that let a computer compare meaning between pieces of text. It stores those embeddings in a FAISS vector database, a type of search index built for finding similar text quickly. A key design choice here is that every video gets its own separate vector database, named after the video's unique YouTube ID. This means when you ask a question, the chatbot only searches within that one video's transcript, so it will not accidentally pull in unrelated information from a different video. If a video has already been processed once, the app reuses the saved database instead of redoing the work, which saves time on repeat visits. When you ask a question, the app finds the most relevant chunks of the transcript, builds a prompt with that context, and sends it to a locally running Llama 3.1 8B model through Ollama to generate an answer grounded in what the video actually says. The backend is built with FastAPI and stores user accounts, videos, and conversations in a SQLite database. The frontend is plain HTML, CSS, and JavaScript, and the whole system supports multiple users with login accounts. The author describes this as a learning project covering retrieval augmented generation, vector search, and full stack AI development, and lists planned improvements such as stronger authentication, persistent chat history, support for more file types, and cloud deployment. Suggested uses include building an assistant for podcasts, lectures, corporate training videos, or internal documentation. The README does not mention a license.

Yoink these prompts

Prompt 1
Help me set up this YouTube RAG chatbot locally, including installing Ollama and downloading Llama 3.1 8B.
Prompt 2
Explain how the ingestion pipeline in this project turns a YouTube transcript into a FAISS vector database.
Prompt 3
How would I add persistent chat history and JWT authentication to this FastAPI backend?
Prompt 4
Show me how to adapt this project's retrieval pipeline to work with podcast transcripts instead of YouTube videos.

Frequently asked questions

wtf is youtube-rag-chatbot-?

A chatbot that answers questions about a specific YouTube video by searching its transcript with a vector database, then generating grounded answers with a local Llama model.

What language is youtube-rag-chatbot- written in?

Mainly Jupyter Notebook. The stack also includes Python, FastAPI, LangChain.

What license does youtube-rag-chatbot- use?

No license is stated in the README, so usage rights are unclear.

How hard is youtube-rag-chatbot- to set up?

Setup difficulty is rated hard, with roughly 1h+ to a first successful run.

Who is youtube-rag-chatbot- for?

Mainly developer.

View the repo → Decode another repo

This repo across BitVibe Labs

Don't trust strangers blindly. Verify against the repo.