Youtube-Chatbot / README.md
Daksh0505's picture
Update README.md
11f71f1 verified

A newer version of the Streamlit SDK is available: 1.51.0

Upgrade
metadata
emoji: ๐Ÿ‘€
colorTo: purple
colorFrom: purple

๐Ÿง  YouTube Transcript Chatbot (RAG) โ€” LLaMA, Gemma, DeepSeek, OpenAI

An advanced Retrieval-Augmented Generation (RAG) chatbot that answers questions from YouTube video transcripts using top open-source LLMs โ€” Llama 3.2, Gemma 2, DeepSeek, and OpenAI GPT-OSS.

Built with Streamlit, LangChain, Hugging Face Hub, and FAISS.


๐Ÿš€ Features

โœ… Fetch YouTube transcripts via RapidAPI
โœ… Embed and store transcript chunks using FAISS
โœ… Query understanding through LangChain retrieval pipeline
โœ… Supports multiple Hugging Face chat-based models:

  • ๐Ÿฆ™ Llama-3.2-1B-Instruct
  • ๐Ÿ’Ž Gemma-2-2B-it
  • ๐Ÿง  DeepSeek-V3.2-Exp
  • ๐Ÿ”ฎ OpenAI GPT-OSS-20B

โœ… Adjustable temperature for creative or factual outputs
โœ… Seamless Streamlit UI
โœ… Caching for faster repeat queries


๐Ÿงฉ Architecture


๐Ÿง  Tech Stack

Component Technology
Frontend Streamlit
Backend LangChain
LLMs Hugging Face Endpoints
Embeddings intfloat/multilingual-e5-base
Vector Store FAISS
API YouTube Transcript API (RapidAPI)