This project is a chatbot that interacts as movie characters based on real movie scripts. It progressively improves by integrating database storage, RAG (Retrieval-Augmented Generation), vector search, caching, scaling, and deployment.
- Allow users to chat with movie characters in a realistic manner.
- Retrieve dialogues from movie scripts before generating AI responses.
- Scale the system to handle high traffic efficiently.
- Deploy a production-ready chatbot with WebSocket support for real-time interaction.
git clone https://github.com/Shiraz-2022/movbot.git
cd movie-chatbotnpm installnpm run devnpm start- Production URL:
http://ec2-13-200-15-25.ap-south-1.compute.amazonaws.com - Localhost:
http://localhost:3000
Switch Base URL in API Requests Accordingly!
- Backend: Node.js, Express.js
- Database: MongoDB
- AI Model: OpenAI GPT API
- Vector Search: Pinecone
- Caching & Scaling: Redis
- WebSockets: Socket.io
- Deployment: AWS EC2
- Queue: Bull
- Load test: K6
- Scrapping: Cheerio
- Scripts are scraped & stored in a database.
- Dialogue retrieval is prioritized over AI-generated responses.
- Script source: The Social Network
- API Documentation: See
API_DOCS.md - Movie Script Source: