A newer version of the Gradio SDK is available:
5.42.0
metadata
title: University AI Chatbot
emoji: π
colorFrom: red
colorTo: yellow
sdk: gradio
sdk_version: 5.25.2
app_file: app.py
pinned: false
A student-friendly AI chatbot that simplifies university handbook queries.
π University Inquiries AI Chatbot
A conversational AI chatbot that helps students navigate and understand the official university handbook using natural language. Built with Gradio, Sentence Transformers, and FLAN-T5, it offers friendly and accurate responses based on handbook content β with built-in feedback tracking and upvote/downvote tuning.
β¨ Features
- π§ Semantic Search: Uses Sentence Transformers to find the closest handbook Q&A to a student's question.
- π£οΈ LLM Explanation: Automatically rewrites formal handbook responses in a student-friendly tone using FLAN-T5.
- π Feedback Memory: Stores user feedback (upvotes/downvotes) to improve future responses.
- π Smart Matching: Merges similar feedback questions (β₯80% similarity) to avoid duplication.
- π¨ Custom UI: Includes a PUP-themed responsive design with a gradient background and styled chat layout.
π§° Tech Stack
- Gradio β for UI interface
- Sentence Transformers β for question embedding & similarity
- Transformers (FLAN-T5) β for natural explanation generation
- JSON β for persistent feedback storage
π Files
app.py
β main chatbot logic & interfacedataset.json
β official university Q&A setfeedback.json
β live feedback databaseREADME.md
β this file!
π¦ Installation
pip install -r requirements.txt