Spaces:
Sleeping
Sleeping
Update README.md
Browse files7 unmodified lines8910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788897 unmodified linesapp_file: app.pypinned: false------title: PSAU AI Chatbot and Course Recommenderemoji: 🤖colorFrom: bluecolorTo: purplesdk: gradiosdk_version: 4.44.0app_file: app.pypinned: falselicense: mitshort_description: AI-powered chatbot and course recommendation system for university admissions---# PSAU AI Chatbot and Course RecommenderAn intelligent AI-powered chatbot and course recommendation system designed for university admissions. This system helps prospective students get answers to common questions and receive personalized course recommendations based on their academic profile and interests.## Features### 🤖 AI Chatbot- **Smart FAQ System**: Uses advanced sentence transformers for semantic understanding- **Intelligent Matching**: Provides accurate answers with confidence scoring- **Question Suggestions**: Offers related questions based on user input- **Natural Language Processing**: Understands various ways of asking the same question### 🎯 Course Recommender- **Machine Learning Powered**: Uses K-Nearest Neighbors algorithm for personalized recommendations- **Multi-factor Analysis**: Considers academic performance (stanine, GWA), strand, and hobbies- **Comprehensive Course Database**: Covers various academic programs- **Real-time Recommendations**: Instant course suggestions based on user profile## How to Use### Chatbot1. Type your question in the chat interface2. Get instant, accurate answers about university admissions3. Use suggested questions to explore more topics4. Ask follow-up questions for clarification### Course Recommender1. Enter your academic information:- **Stanine score**: Type a number between 1-9 (from entrance exam)- **GWA**: Type your General Weighted Average (75-100)- **High school strand**: Select from dropdown (STEM, ABM, HUMSS)- **Hobbies and interests**: Describe your interests in detail2. Click "Get Recommendations" to receive personalized course suggestions3. View detailed explanations and match scores for each recommendation4. Explore different combinations to see how they affect recommendations## Technical Details- **AI Model**: sentence-transformers (all-MiniLM-L6-v2)- **ML Algorithm**: K-Nearest Neighbors- **Framework**: Flask with Gradio interface- **Data**: Static FAQ database and course catalog- **Language**: Python 3.8+## API Endpoints- `GET /health` - System health check- `GET /status` - Detailed system status- `GET /faqs` - Get all available FAQs- `POST /ask_question` - Submit question to chatbot- `POST /api/recommend` - Get course recommendations- `POST /api/save_ratings` - Save user feedback## DevelopmentThis system is built with:- **Backend**: Flask, sentence-transformers, scikit-learn- **Frontend**: Gradio for the web interface- **AI/ML**: PyTorch, sentence-transformers for NLP- **Data Processing**: pandas, numpy## LicenseMIT License - Feel free to use and modify for your own projects.Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference7 unmodified lines89107 unmodified linesapp_file: app.pypinned: false---
README.md-79