Musbi is a fully functional AI chatbot designed to help students learn about Information Technology (IT) and explore tech career paths. Musbi acts as a technical professional, providing expert guidance, explaining complex concepts, and answering questions based on its internal knowledge or uploaded documents.
- Expert Identity: Musbi is an IT professional who provides clear, professional, and encouraging tech advice.
- Knowledge Base Upload: Students and teachers can upload
.pdfor.txtdocuments to provide Musbi with specific context or learning materials. - Modern UI: A clean, responsive, and glassmorphic chat interface.
- OpenRouter Integration: Powered by advanced LLMs via OpenRouter (defaults to GPT-3.5-Turbo).
- Deployment Ready: Fully configured for local development with
uvand deployment on Vercel.
- Backend: FastAPI
- Frontend: HTML5, CSS3 (Glassmorphism), Vanilla JavaScript
- AI Engine: OpenRouter (OpenAI SDK compatible)
- Document Processing:
PyPDF2 - Dependency Management:
uv
- Python 3.12+
- uv (recommended) or
pip
Create a .env file in the root directory and add your OpenRouter API key:
OPENROUTER_API_KEY=your_api_key_hereUsing uv:
uv syncOr using pip:
pip install -r requirements.txtuv run uvicorn main:app --reloadAccess the chatbot at: http://localhost:8000
Musbi is pre-configured for Vercel.
- Install Vercel CLI:
npm i -g vercel - Run
vercelin the project root. - Add your
OPENROUTER_API_KEYin the Vercel Dashboard under Environment Variables.
- Chat: Type your IT questions in the input field and press Enter or click "Send".
- Identity: Ask "Who are you?" or "What is your name?" to meet Musbi.
- Upload Knowledge: Click the 📁 Upload Knowledge button to add a PDF or Text file. Musbi will immediately begin using that information to answer your questions.
Built with ❤️ for learners and future tech professionals.