A modern, responsive, multi-turn AI chatbot application powered by Google Gemini AI and Python Flask. Built with a clean aesthetic featuring Warm Beige, Soft Light Pink, and Rich Black Typography.
Experience the live web application here:
👉 https://chat-bot-prototype-alpha.vercel.app/
| Symbol | Technology | Description |
|---|---|---|
| 🌐 | HTML5 | Semantic layout & single-page application structure. |
| 🎨 | CSS3 (Vanilla) | Custom responsive design system featuring Warm Beige (#FAF6F0), Soft Light Pink (#F8D7DA), & Rich Black (#111111) typography. |
| ⚡ | JavaScript (ES6+) | Dynamic UI engine handling async API requests, model popovers, & copy-to-clipboard code blocks. |
| 📝 | Marked.js | Markdown parsing library rendering rich text, lists, and formatted code blocks in AI responses. |
| 🖍️ | Highlight.js | Multi-language syntax highlighting for code snippets inside assistant response blocks. |
| 🔤 | Google Fonts | Typography styled with modern Outfit and Plus Jakarta Sans font families. |
| 💎 | FontAwesome 6 | Clean vector icons for UI navigation and floating action menus. |
| Symbol | Technology | Description |
|---|---|---|
| 🐍 | Python 3 | Core application logic, routing, and environment management. |
| 🌶️ | Flask | Lightweight WSGI web framework (Flask>=3.0.0) handling REST API routes and template serving. |
| 🤖 | Google Generative AI SDK | Multi-turn AI integration via google-generativeai supporting Gemini 3.6 Flash & 3.5 Flash models. |
| 🔐 | Python Dotenv | Security library (python-dotenv) isolating environment variables in local .env files. |
| 📐 | Vercel Serverless | Serverless function deployment using @vercel/python builder (vercel.json). |
- Google Gemini Integration: Supports
Gemini 3.6 Flash,Gemini 3.5 Flash,Gemini 3.1 Flash Lite,Gemini Flash Latest, andGemini 3 Flash Preview. - Collapsible Sidebar (
☰): Clean drawer with quick model selection dropdown and capability cards. - Top Center Branding: Logo emblem &
Basic Prototype Buildbadge. - 5 Pre-built Capability Presets:
- 📚 Learning: Conceptual breakdowns & study guides.
- 💻 Coding: Code generation, debugging & refactoring.
- 📝 Assessment: Practice quizzes & flashcards.
- 🎨 Creating: Draft content, stories, Images, PPT & PDF documents.
- 🛠️ Tech & Dev: Architecture blueprints & API specs.
- Floating Input Capsule: Responsive bottom chat bar with
+action menu for document/code snippet attachment.
git clone https://github.com/PavanReddy666/ChatBot-Prototype.git
cd ChatBot-PrototypeCreate a .env file in the root directory (copied from .env.example):
# In .env:
GEMINI_API_KEY=your_actual_gemini_api_key_here(Get your free API key at Google AI Studio)
pip install -r requirements.txtpython app.pyOpen your browser and navigate to http://127.0.0.1:5000.
├── app.py # Flask server & Gemini API integration
├── .env.example # Environment variable template
├── .gitignore # Excludes secret files (.env)
├── vercel.json # Vercel deployment configuration
├── requirements.txt # Python dependencies
├── static/
│ ├── favicon.svg # Dark black & warm beige SVG logo
│ ├── css/style.css # Custom Beige & Pink design system
│ └── js/main.js # Chat engine & UI handlers
└── templates/
└── index.html # Single Page Application template
Built by Pavan Reddy