How rylena/counseltron works
Counseltron is a local web-based student counseling app. A student opens the served frontend and can seek academic, emotional, or personal support; the documented model-backed chat flow accepts a message, builds a counselor prompt, invokes Phi through Ollama, filters the reply, and returns JSON. The backend and prompt stages are visible in app.py; the frontend source was not excerpted, so its request behavior and styling connections are not asserted. README documents local processing and Ollama, but no separate storage or additional domain subsystem is shown.
Main entry points: app.py Chat endpoint · frontend.html Counseling interface
Components 8
Web interface
- Counseling interface
Counseltron/frontend.html - Interface styles
Counseltron/style.css
Counseling backend
- Chat endpoint
app.py - Counselor prompt
app.py - Reply filtering
app.py
Language model
- Ollama Phi model
Other components
- Student
- Browser
Connections 6
- Student → Browser: uses
readme.md - Browser → Counseling interface: opens
- Chat endpoint → Counseling interface: serves
app.py - Chat endpoint → Counselor prompt: builds
app.py - Chat endpoint → Ollama Phi model: invokes
app.py - Chat endpoint → Reply filtering: filters reply
app.py