A high-performance Q&A Chatbot built with Streamlit and Google Gemini 2.5 API. This application features a custom Neon Dark UI, real-time response generation, and advanced dashboard controls.
- ⚡ Cyber-Neon Interface: Custom CSS-injected UI with glowing borders and futuristic aesthetics.
- 🧠 Advanced AI Engine: Utilizes
gemini-2.5-flash-litefor lightning-fast, high-quota processing. - ⚙️ Dynamic Control Panel: Adjust AI creativity (Temperature) and switch models on the fly via the sidebar.
- 💾 One-Click Export: Download your AI-generated insights as
.txtfiles instantly. - 🛡️ Rate-Limit Protection: Built-in error handling for
429 Resource Exhaustederrors.
- Frontend: Streamlit
- AI SDK: Google GenAI Python SDK (2026 Edition)
- Styling: Custom CSS & Markdown
- Environment: Python 3.10+
git clone [https://github.com/Fahad035/Chatbot.git](https://github.com/Fahad035/Chatbot.git)
cd Chatbot
### 2. Install Dependenciespip install -r requirements.txt
Create a .env file in the root directory: GOOGLE_API_KEY=your_gemini_api_key_here
streamlit run app.py
Chatbot/
├── .streamlit/
│ └── config.toml # Custom theme settings
├── app.py # Main application & Neon UI
├── requirements.txt # Project dependencies
├── .env # Secret API keys (Keep private!)
└── README.md # Documentation