Work

Platform & Data Systems / University & Government Systems

PUSTIPADA

PUSTIPADA, UINSU

Year
2026
Role
Full-stack developer

An IT centre portal that answers students. A chatbot grounded in the staff's own knowledge base gives real dates and real requirements, and every unanswered question becomes material for the next answer.

The problem

Schedules for KRS, UKT, and graduation, plus the paperwork for library clearance, study leave, and enrollment letters, lived in scattered announcements. The helpdesk answered the same questions every semester, and a rule-based bot would go stale the moment a date changed.

What I did

  • Built the chat widget with suggestion chips for popular questions, a typing indicator, action buttons into SIAKAD, and a clean reset.
  • Implemented RAG retrieval over a MySQL knowledge base of categories and articles, served through Gemini with a timeout, retry, and a fallback answer when the model is unavailable.
  • Wrapped the prompt twice: an outer guardrail that keeps the bot inside UINSU topics, and inner grounding that forbids inventing dates, requirements, or links.
  • Closed the loop on gaps. Questions without a supporting document are logged with frequency counts and turn into knowledge articles in one click.
  • Seeded the base with actual PUSTIPADA content and covered the fallback paths with Pest tests.

Impact

0
invented dates or links
1 click
gap becomes an article
Grounded
staff-managed knowledge base

Links

Stack

  • Laravel 13
  • PHP 8.5
  • Octane
  • FrankenPHP
  • Livewire 4
  • MySQL
  • Gemini
  • Tailwind v4
  • Pest