Skip to content

A RAG based Langchain application to chat with youtube videos

Notifications You must be signed in to change notification settings

JazBern/youtube-chat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 

Repository files navigation

youtube-chat

This project focuses on using langchain to chat with youtube videos using LLMs

Installation

pip install youtube_transcript_api
pip install -qq -U langchain tiktoken chromadb faiss-gpu
pip install -qq -U transformers InstructorEmbedding sentence_transformers
pip install -qq -U accelerate bitsandbytes xformers einops

Usage

from model import LLM
from app import TranscriptProcessor
llm = LLM('falcon').get_pipeline()
tp = TranscriptProcessor(llm,video_id = '9QiE-M1LrZk')
answer = tp.get_answer('what are some examples of high dopamine behaviours?')

References

About

A RAG based Langchain application to chat with youtube videos

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages