A modular AI chatbot built using Flask (Python) and Google Gemini API, designed with scalability, clean backend structure, and real-time interaction in mind.
This project focuses on building systems, not just features.
Add your deployed link here (Render / Railway / Vercel)
| Layer | Technology |
|---|---|
| Backend | Python, Flask |
| AI Model | Google Gemini API |
| Frontend | HTML, CSS, JavaScript |
| Config | python-dotenv |
| Version Control | Git, GitHub |
- Real-time conversational AI
- Gemini API integration
- Chat session management (history, rename, delete)
- Modular service-based backend
- Smooth UI with typing interaction
- Lightweight and extensible architecture
ai-chatbot-nlp/
├── app.py
├── config.py
├── utils.py
├── intents.json
├── services/
│ └── gemini_service.py
├── static/
│ ├── style.css
│ └── script.js
├── templates/
│ └── index.html
└── README.mdgit clone https://github.com/arpitsingh97096-debug/ai-chatbot-nlp.git
cd ai-chatbot-nlppip install flask python-dotenv google-generativeaiCreate a .env file in the root directory:
GEMINI_API_KEY=your_api_key_herepython app.pyOpen: http://127.0.0.1:5000
- Environment-based API key management
.envexcluded via.gitignore- No sensitive data exposed in source code
You can deploy this project using:
| Platform | Type |
|---|---|
| Render | Full-stack hosting |
| Railway | Backend + DB hosting |
| Vercel | Frontend + API proxy |
- Push project to GitHub
- Connect repo to deployment platform
- Add environment variables
- Deploy
- Authentication system (JWT / OAuth)
- Database integration (MongoDB / PostgreSQL)
- Streaming responses (real-time token output)
- Multi-model AI support
- Docker + CI/CD pipeline
Arpit Singh
AI • Systems • Backend Development
Star this repo if you found it useful.
