MyPortfolio
🧠 AI Chatbot System – Flask + OpenAI
A local-development AI chatbot built with Flask, OpenAI API, and SQLite. Users can register, log in, and hold up to three active conversations with an assistant powered by GPT.
📖 Project Overview
This AI Chatbot System provides user authentication, conversation management, and an interactive chat interface that uses OpenAI's GPT model. Conversations are stored in a local SQLite database and each user is limited to a maximum of three active conversations.
- 🔐 User registration and secure password handling with Flask-Login.
- 💬 Interactive chat interface with messages stored as user/assistant roles.
- 🗄️ Conversations persisted in SQLite via SQLAlchemy.
- ⚙️ Built for local development and testing with python-dotenv for secrets.
🎬 Visual Demonstrations
GIF walkthroughs show the signup, chat interface, and dashboard behavior (conversation creation, message flow, and automatic deletion when exceeding the 3-conversation limit).
👉 Tap on any image to view in full screen
🎯 Goals
- Provide a simple, secure local platform to test conversational AI flows.
- Allow users to manage conversations with an enforced 3-conversation limit.
- Keep the project modular and easy to extend for deployment-ready improvements.
🛠️ Tech Stack Used
🔍 Explore the Repository
Inspect the codebase to understand how user authentication, conversation management, and GPT integration are implemented.
- Highlights: authentication flow, conversation lifecycle (max 3 per user), and OpenAI API usage.
- Key files:
app.py,models.py,forms.py,templates/, andrequirements.txt.
🔮 Future Enhancements
- Containerize and add CI/CD for deployment (Docker, GitHub Actions).
- Implement password reset, email verification, and switch to PostgreSQL for production readiness.
- Add analytics, memory/context tracking, and optional notifications.
Shuba S
Developer focused on Python, JavaScript, and full-stack development with creative problem-solving.