A modern AI-powered chatbot built using Python, Flask, HTML, CSS, and JavaScript, integrated with the Groq API for lightning-fast conversational responses.
π Live Demo: https://ai-chatbot-mgao.onrender.com/
π¦ GitHub Repo: https://github.com/harshskarki/ai-chatbot
- π§ Real AI conversations using Groq API
- π¬ ChatGPT-like interaction experience
- β‘ Ultra-fast responses with LLaMA 3 models
- ποΈ Conversation memory using Flask sessions
- π¨ Clean and responsive UI
- β¨οΈ Press Enter to send messages
- π Secure API key handling with
.env - π Deploy-ready with Render
- HTML5
- CSS3
- JavaScript
- Python
- Flask
- Groq API
- LLaMA 3.1 Model
- Render
- GitHub
ai-chatbot/
β
βββ app.py
βββ requirements.txt
βββ .env
βββ .gitignore
β
βββ templates/
β βββ index.html
β
βββ static/
β βββ style.css
β
βββ README.mdgit clone https://github.com/yourusername/ai-chatbot.git
cd ai-chatbotpython -m venv venvActivate environment:
venv\Scripts\activatesource venv/bin/activatepip install -r requirements.txtCreate a .env file in the root directory:
GROQ_API_KEY=your_groq_api_key_herepython app.pyOpen browser:
http://127.0.0.1:5000pip install -r requirements.txtgunicorn app:app --bind 0.0.0.0:$PORTAdd screenshots here
- ποΈ Chat history storage
- π User authentication
- π€ Voice assistant support
- π Dark/Light mode
- β‘ Streaming AI responses
- π± Mobile-first responsive UI
Through this project, I learned:
- Flask backend development
- REST API handling
- AI API integration
- Git & GitHub workflow
- Deployment using Render
- Environment variable security
- Debugging real-world deployment issues
B.Tech 3rd Year β CSMU
Experience:
- AI Development
- Full Stack Web Development
- Modern UI/UX
- Building real-world projects
If you liked this project:
- β Star the repository
- π΄ Fork the project
- π’ Share it with others
This project is licensed under the MIT License.