This is a specialized chatbot that answers questions about historical events, figures, and periods using the Gemini API. Built with Flask and modern web technologies.
- Install the required dependencies:
pip install -r requirements.txt- Create a
.envfile in the project root and add your Gemini API key:
GOOGLE_API_KEY=your_api_key_here
You can get a Gemini API key from: https://makersuite.google.com/app/apikey
To start the chatbot, run:
python app.pyThe chatbot will be available at http://localhost:5000. Open this URL in your web browser to start chatting.
- Specialized in historical information
- Modern, responsive web interface
- Real-time chat experience
- Powered by Google's Gemini AI
- Built with Flask for robust backend handling
app.py- Main Flask applicationtemplates/index.html- Frontend interfacerequirements.txt- Python dependencies.env- Environment variables (create this file)