How palligopi-git/sriindu-csit works
This is the CSIT department’s single-page public website, with IGRIS as its interactive study-assistant workflow. Students navigate academic and campus information in the site; for IGRIS, the browser sends a subject- and mode-aware question to the streaming endpoint, which builds a prompt and calls TokenRouter. The browser also has a documented non-streaming fallback endpoint. The README describes the site’s major sections, but their markup and most UI behavior were not sampled; the backend excerpts show no course-material retrieval.
Main entry points: script.js Hash navigation · stream.js Streaming chat · chat.js Chat fallback · index.html Department site
Components 16
Department Website
- Department site
index.html - Hash navigation
script.js - Academics
index.html - Infrastructure
index.html - Faculty and staff
index.html - Student resources
index.html - Placement guide
index.html - Contact information
index.html
IGRIS Assistant
- IGRIS chat client
script.js
Chat Backend
- Streaming chat
api/chat/stream.js - Chat fallback
api/study/chat.js - Chat configuration
api/_lib/config.js - Context prompt
api/_lib/prompt.js - HTTP responses
api/_lib/http.js
Other components
- Student
- TokenRouter
Connections 19
- Student → Department site: visits
README.md - Department site → Hash navigation: loads
README.md - Hash navigation → Academics: routes to
README.md - Hash navigation → Infrastructure: routes to
README.md - Hash navigation → Faculty and staff: routes to
README.md - Hash navigation → Student resources: routes to
README.md - Hash navigation → Placement guide: routes to
README.md - Hash navigation → Contact information: routes to
README.md - Student → IGRIS chat client: asks questions
README.md - IGRIS chat client → Streaming chat: posts questions
script.js - IGRIS chat client → Chat fallback: posts fallback
script.js - Streaming chat → Chat configuration: reads settings
api/chat/stream.js - Streaming chat → Context prompt: builds context
api/chat/stream.js - Streaming chat → HTTP responses: formats errors
api/chat/stream.js - Chat fallback → Chat configuration: reads settings
api/study/chat.js - Chat fallback → Context prompt: builds context
api/study/chat.js - Chat fallback → HTTP responses: formats errors
api/study/chat.js - Streaming chat → TokenRouter: streams completion
api/chat/stream.js - Chat fallback → TokenRouter: requests completion
api/study/chat.js