Inspiration

As students, we often see new members or visitors confused about college departments, facilities, and upcoming events. Inspired by this, the idea was to build a simple chatbot that could act as a virtual assistant, guiding users through locations and resources available in the college.


What it does

  • Answers questions about the location of departments (CS, IT, Civil, ECE, ERE)
  • Provides directions to the seminar hall, CGPU hall, canteen, washrooms, and drinking water facilities
  • Gives club meeting details and updates on upcoming events
  • Simple web interface that users can chat with directly from a browser

How I built it

  • Developed using Python and the Flask web framework
  • Designed a front-end chat interface using HTML, CSS, and JavaScript
  • Stored responses in a JSON file for easy customization
  • Used Git & GitHub for version control and collaboration

Challenges I ran into

  • Matching flexible user queries like “where is cs” instead of exact keywords
  • Handling missing static files like CSS (due to incorrect folder structure)
  • Managing browser communication between JavaScript and Flask backend
  • Understanding how to structure a Flask app with templates and static folders

Accomplishments that I'm proud of

  • Successfully built a fully working chatbot that runs locally in a browser
  • Integrated a backend with a lightweight data structure (JSON)
  • Pushed the complete project to GitHub with proper documentation
  • Understood Flask app lifecycle and routing
  • Made a user-friendly UI that responds instantly

What I learned

  • Basics of Flask and routing
  • How to build a backend + frontend web app
  • Using GitHub for managing project history and collaboration
  • How to debug and solve 404/static file issues in Flask
  • JSON parsing and string matching techniques in Python

What's next for college_assistant bot

  • Host it online (Render or Railway) for public access
  • Add voice input for accessibility
  • Improve response matching using NLP (e.g., fuzzywuzzy or spaCy)
  • Let admins update responses using a simple form instead of editing JSON
  • Add login functionality for students or faculty-specific features
Share this project:

Updates