YouChat is a Chrome extension designed to enhance your YouTube experience by processing video transcripts and generating insightful responses using Retrieval-Augmented Generation (RAG). This extension integrates with a backend server to fetch and analyze transcripts, providing users with context-aware answers and summaries directly within the YouTube interface.
The primary goal of YouChat is to make YouTube content more interactive and informative. By leveraging advanced natural language processing, YouChat allows users to ask questions about video content and receive detailed, relevant responses based on the video's transcript. This is particularly useful for educational videos, tutorials, and long-form content where key information might be buried deep within the video.
- LangChain: A framework for developing applications powered by language models. In YouChat, LangChain is used on the backend (see FAPI-Server) to process transcripts and generate responses using RAG.
- Rapid API YouTube Transcript API: This API is utilized to fetch transcripts from YouTube videos, which are then processed to provide context for user queries.
- Chrome Extension APIs: Used for creating the user interface and interacting with YouTube pages to display responses and capture user input.
Follow these steps to download and use YouChat Extension locally on your system:
-
Download the Extension:
- You can download the pre-built extension from the provided zip file: YouChat-Extension.zip.
- Alternatively, clone this repository to your local machine to access the source code.
-
Install the Extension in Chrome:
- Open Google Chrome and navigate to
chrome://extensions/. - Enable 'Developer mode' in the top right corner.
- If using the zip file:
- Unzip
YouChat-Extension.zipto a folder on your computer. - Click on 'Load unpacked' and select the folder containing the unzipped files.
- Unzip
- If using the cloned repository:
- Click on 'Load unpacked' and select the
YouChat-Extensionfolder from the cloned repository.
- Click on 'Load unpacked' and select the
- Open Google Chrome and navigate to
-
Using YouChat on YouTube:
- Navigate to any YouTube video page.
- You should see the YouChat interface integrated into the page (exact placement may depend on the extension's design).
- Type your question or query related to the video content in the YouChat input field.
- Submit your query, and YouChat will process the video transcript (via the backend server) and display a response.