Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

3 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸŽ₯ Ask Questions to Any YouTube Video Using RAG

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.

πŸš€ Features

  • βœ… 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.

πŸ“¦ Requirements

  • LangChain
  • Cohere
  • Chroma or another vector store

About

This project uses LangChain πŸ¦œπŸ”— and Retrieval-Augmented Generation (RAG) to extract transcripts from YouTube videos, embed the text, and let you ask natural-language questions based on video content. Powered by OpenAI Whisper and Cohere embeddings.

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages