Skip to content

Langchain HNWSLib based chatbot which retrieves the transcript of a given youtube url and answers questions only based on the relevant video.

Notifications You must be signed in to change notification settings

sameeranamarnath/youtubeVideoSummaryBot

Repository files navigation

Langchain HNWSLib based chatbot which retrieves the transcript of a given youtube url and answers questions only based on the relevant video.

Click the pic to see it in action: Sample of the working app:

Current limitation: if the youtube video has a short transcript, the bot works fine, this has to do with the openai api limitations. There are definitely better ways to do the same without dependence on openai api.

Uses nextjs, langchain, tailwind css, openai api

How to use it:

create .env file with the following value: OPENAI_API_KEY="your-openai-api-key"

Navigate to folder

Install dependencies from package.json

npm install

Then, run the development server: npm run dev runs on localhost:3000

About

Langchain HNWSLib based chatbot which retrieves the transcript of a given youtube url and answers questions only based on the relevant video.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published