Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ashot72/ai-youtube-video-chat
AI YouTube Video Chat application, to ask questions to a YouTube video bot and get answers.
https://github.com/ashot72/ai-youtube-video-chat
ai-chatbot chatbot chatgpt hnswlib langchain large-language-models llm mongodb mongodb-atlas mongodb-atlas-cloud mongodb-cloud mongodb-cloud-database next-auth next-auth-provider nextjs13 prisma prisma-orm prismajs vector-database youtube-transcripts
Last synced: 23 days ago
JSON representation
AI YouTube Video Chat application, to ask questions to a YouTube video bot and get answers.
- Host: GitHub
- URL: https://github.com/ashot72/ai-youtube-video-chat
- Owner: Ashot72
- Created: 2023-07-09T06:06:46.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-07-09T07:20:56.000Z (over 1 year ago)
- Last Synced: 2024-11-08T03:23:40.822Z (3 months ago)
- Topics: ai-chatbot, chatbot, chatgpt, hnswlib, langchain, large-language-models, llm, mongodb, mongodb-atlas, mongodb-atlas-cloud, mongodb-cloud, mongodb-cloud-database, next-auth, next-auth-provider, nextjs13, prisma, prisma-orm, prismajs, vector-database, youtube-transcripts
- Language: JavaScript
- Homepage:
- Size: 4.64 MB
- Stars: 10
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# AI YouTube Video Chat
In this AI YouTube Video Chat Next.js application, we ask questions to our YouTube video bot and get answers. This application makes use of [LangChain](https://js.langchain.com) which is a framework for developing applications powered by language models.
As a cloud-based database, [MongoDB](https://www.mongodb.com/atlas/database) is used with [Prisma ORM](https://www.prisma.io/ ). We utilize [HNSWLIB](https://js.langchain.com/docs/modules/indexes/vector_stores/integrations/hnswlib), an in-memory vector store that can be saved to a file.
We are using the latest [Next.js 13](https://nextjs.org/docs) with the app directory, which makes it easy lay out complex interfaces that maintain state across navigations, avoid expensive re-renders, and enable advanced routing patterns. [NextAuth](https://next-auth.js.org/) is used for the authentication with Google Provider.
To get started.
```
Clone the repositorygit clone https://github.com/Ashot72/AI-YouTube-Video-Chat
cd AI-YouTube-Video-ChatAdd .env file based on env.example.txt file and add respective keys
# installs dependencies
npm install# to run locally
npm run dev
```Go to [AI YouTube Video Chat Video](https://youtu.be/dv6CAxMD_ts) page
Go to [AI YouTube Video Chat Description](https://ashot72.github.io/AI-YouTube-Video-Chat/doc.html) page