A Flask-based AI chatbot application using Google's Gemini AI model.
- Real-time chat interface
- Chat history with SQLite database
- Google Gemini AI integration
- Beautiful web UI
- Clone the repository
- Create virtual environment:
python -m venv venv - Activate virtual environment:
source venv/bin/activate(Linux/Mac) orvenv\Scripts\activate(Windows) - Install dependencies:
pip install -r requirements.txt - Set up API key:
echo "GOOGLE_API_KEY=your_api_key_here" > .env - Run the application:
python app.py - Open browser to: http://localhost:5000
- Python 3.8+
- Google Gemini API key
- Flask
- LangChain
Get your free API key from: https://aistudio.google.com/app/apikey