Click here to try the chatbot live
An intelligent, file-aware chatbot built with Flask and Groq's Llama-3 model. Upload documents (PDF, TXT, CSV) and interact with an AI assistant that leverages your data for context-rich answers.
- Conversational AI: Powered by Groq's Llama-3.3-70B model for fast, accurate responses.
- File Upload: Supports PDF, TXT, and CSV. Extracts text for context-aware chat.
- Modern UI: Clean, responsive interface with light/dark mode toggle.
- Chat History: Maintains context for multi-turn conversations.
- Easy Deployment: Simple setup for local or cloud hosting.
git clone https://github.com/kumarBisho/AI-CHATBOT.git
cd AI-CHATBOT
python -m venv .venv; .\.venv\Scripts\Activate.ps1
pip install -r requirements.txtCreate a .env file in the project root:
API_KEY=your_groq_api_key_here
python app.pyVisit http://localhost:5000 in your browser.
- Upload a file (PDF, TXT, CSV) for context.
- Ask questions in the chat box.
- Toggle theme for light/dark mode.
- Clear chat to reset conversation.
- Python 3.8+
- Flask
- requests
- python-dotenv
- PyPDF2
- pandas
See requirements.txt for details.
- For production, use a WSGI server (e.g., Gunicorn) and secure your API key.
.envis ignored by.gitignorefor safety.
- Built by kumarBisho
- Powered by Groq API
- UI inspired by modern chat apps
Made with ❤️ using Flask & Groq



