How datarat329/iasisst-utesa works
iAsisst-UTESA is a university-information chatbot with a browser interface, a FastAPI service, database-backed answers and specialized schedule, credit, and classroom handling. The main workflow is a user message sent from the web client to /chat, where the service routes it to a response path and returns a reply. /train loads database examples to activate the NumPy model; an admin panel also curates question-and-answer records and pending phrases. Some Python routing details are omitted from the excerpts, so uncertain links are dashed.
Main entry points: combined_service.py Intent routing · index.html Chat page · script.js Chat client · index.php PHP chat handler
Components 18
Chat interface
- Chat page
index.html - Chat client
public/js/script.js
Chat service
- Chat endpoint
combined_service.py - Intent routing
combined_service.py - Schedule parsing
combined_service.py - Credit estimate
combined_service.py - Classroom lookup
combined_service.py - Training endpoint
combined_service.py - PHP chat handler
api/index.php
Knowledge and training
- FAQ matching
combined_service.py - Unknown capture
combined_service.py - Neural training
combined_service.py - Training data loader
combined_service.py - Chatbot schema
chatbot.sql
Knowledge administration
- Admin panel
api/admin.php - PHP DB helper
private/database.php
Other components
- Student
- MySQL database
Connections 19
- Student → Chat page: uses
README.md - Chat page → Chat client: loads
- Chat client → Chat endpoint: posts message
public/js/script.js - Chat endpoint → Intent routing: routes request
combined_service.py - Intent routing → Schedule parsing: handles schedule
combined_service.py - Intent routing → Credit estimate: handles credits
combined_service.py - Intent routing → Classroom lookup: handles classroom
combined_service.py - Intent routing → FAQ matching: matches question
combined_service.py - Intent routing → Unknown capture: records unknown
combined_service.py - Credit estimate → MySQL database: reads cost
combined_service.py - FAQ matching → MySQL database: reads answers
combined_service.py - Unknown capture → MySQL database: writes phrase
combined_service.py - Training endpoint → Neural training: starts training
combined_service.py - Neural training → Training data loader: loads examples
combined_service.py - Training data loader → MySQL database: queries examples
combined_service.py - Chatbot schema → MySQL database: defines tables
README.md - Admin panel → MySQL database: curates records
api/admin.php - PHP chat handler → MySQL database: queries chatbot data
api/index.php - PHP DB helper → MySQL database: opens connection