Skip to content

Chat with any Youtube video. Easily input the video url you'd like to chat with. Instant answers. Ask questions, extract information, and summarize documents with AI. Sources included.

License

Notifications You must be signed in to change notification settings

Anil-matcha/Youtube-to-chatbot

Repository files navigation

Chat-Youtube

Chat with any Youtube video.

Easily input the video url you'd like to chat with. Instant answers. Ask questions, extract information, and summarize documents with AI. Sources included.

Getting Started

Code is up now, ⭐ (Star) the repo to receive updates

Replit and streamlit version coming soon

Follow Anil Chandra Naidu Matcha on twitter for updates

Subscribe to https://www.youtube.com/@AnilChandraNaiduMatcha for more such video tutorials

How to run ? (Things might change based on OS)

  1. Create a virtual environment in python https://docs.python.org/3/library/venv.html

  2. Run "pip install -r requirements.txt"

  3. Set OPENAI_API_KEY environment variable with your openai key

  4. Run "python chat_youtube.py"

  5. Change video url and query in code if you want to try with any other content

To run streamlit app, follow the steps run "streamlit run streamlitui.py"

Demo link

https://heybot.thesamur.ai/

Also check

Chat with PDF code

Chat with Website code

Chat with CSV code

ChatGPT in Discord code