An interactive AI-powered mentor chatbot built with Streamlit, LangChain, and Hugging Face LLMs that provides strict, domain-specific mentorship.
The system enforces hard module boundaries to ensure focused, distraction-free learning with a mentor persona configurable by industry experience.
-
🎯 Strict Module Enforcement
Answers are generated only for the selected module. Out-of-scope questions are explicitly refused. -
🧑🏫 Experience-Based Mentorship
Responses adapt dynamically based on selected years of industry experience. -
🔁 Dynamic LLM Routing
Automatically selects the best Hugging Face model for each domain:- Python, EDA → DeepSeek
- SQL, Power BI → LLaMA
- Machine Learning, Deep Learning → Qwen
- Generative AI, Agentic AI → MiMo
-
💬 Persistent Chat Memory
Maintains conversation context per module and resets automatically when the module changes. -
🎨 Modern Chat UI
Clean, ChatGPT-style interface built using custom HTML + CSS inside Streamlit. -
📥 Chat History Export
Download complete conversations as a.txtfile.
- Python
- SQL
- Power BI
- Exploratory Data Analysis (EDA)
- Machine Learning
- Deep Learning
- Generative AI
- Agentic AI
- Frontend: Streamlit, HTML, CSS
- LLM Orchestration: LangChain
- Models: Hugging Face Inference API
- State Management: Streamlit Session State
- Environment Management: python-dotenv
├── app.py # Module & experience selection UI
├── pages/
│ └── mentor.py # Mentor chatbot interface
├── .env # Hugging Face API token
├── requirements.txt
└── README.md
- Focused technical learning without topic drift
- Interview preparation with strict domain boundaries
- Mentor-style Q&A for beginners and intermediates
- Portfolio-ready AI application demonstrating LLM control
git clone https://github.com/ShubhamMohanty680/AI_Mentor_Chatbot.git
cd AI_Mentor_Chatbotpython -m venv mentor
mentor\Scripts\activate # On MAC: source venv/bin/activate pip install -r requirements.txtGOOGLE_API_KEY=your_gemini_api_keystreamlit run app.py