# π€ Computer Science Chatbot Advisor (KWASU)
An intelligent chatbot designed to assist Computer Science students at Kwara State University (KWASU) with academic guidance, course information, career advice, and technical support.
## Features
- **Intelligent Response System**: Uses sentence transformers for semantic understanding of user queries
- **Fallback AI**: Integrates DialoGPT for handling queries outside the knowledge base
- **Interactive Web Interface**: Built with Streamlit for easy deployment and usage
- **Comprehensive Knowledge Base**: Covers topics like programming languages, exam preparation, internships, tools, and career guidance
- **Real-time Chat**: Instant responses with conversation history
- **Suggested Questions**: Quick-start buttons for common queries
## Tech Stack
- **Frontend**: Streamlit
- **NLP Models**:
- Sentence Transformers (paraphrase-MiniLM-L6-v2)
- Microsoft DialoGPT-small
- **ML Libraries**: PyTorch, Transformers
- **Data**: JSON-based knowledge base
## Installation
1. Clone the repository:
```bash
git clone
github.com
cd cs-chatbot-kwasu
```
2. Install dependencies:
```bash
pip install -r requirements.txt
```
3. Run the application:
```bash
streamlit run app.py
```
## Usage
### Starting the Chatbot
- Launch the app using `streamlit run app.py`
- Access the web interface at `
localhost`
- Start asking questions or use the suggested question buttons
### Sample Questions
- "How do I register my courses?"
- "What programming languages should I learn?"
- "Give me final year project ideas"
- "How do I prepare for exams?"
- "What career options do I have after CS?"
## Project Structure
```
βββ app.py # Main Streamlit application
βββ chatbot_app.py # Alternative app version with enhanced UI
βββ chatbot_qa.json # Knowledge base with intents and responses
βββ requirements.txt # Python dependencies
βββ README.md # Project d β¦