How harikrishna-9133/campusconnect-support-agent works
CampusConnect is a customer-support chatbot with Flask and Streamlit interfaces. Users submit a question; the agent consults the Groq model, which can request FAQ or policy lookup, ticket creation, or escalation tools, and the interface presents the response. Conversation context is maintained during interaction, while tickets and escalation records persist in SQLite. The README documents both interfaces and the major support capabilities. Edges reflect the provided source excerpts or README; the database is created at runtime, and no email or human-notification integration is shown.
Main entry points: agent.py Agent loop · app.py Flask API · script.js Browser chat · streamlit_app.py Streamlit chat
Components 17
Chat interfaces
- Browser chat
static/script.js - Flask API
app.py - Streamlit chat
streamlit_app.py - Chat page
templates/index.html
Agent orchestration
- Agent loop
agent.py - Conversation memory
memory.py - Tool schemas
schemas.py
Support operations
- Tool dispatch
agent.py - FAQ search
tools.py - Policy lookup
tools.py - Ticket creation
tools.py - Human escalation
tools.py
Content and persistence
- FAQ content
data/knowledge_base.json - Policy content
data/policies.json - Support database
data
Other components
- Support user
- Groq inference
Connections 18
- Support user → Browser chat: enters question
static/script.js - Browser chat → Flask API: posts chat
static/script.js - Flask API → Chat page: renders page
app.py - Flask API → Agent loop: processes message
app.py - Support user → Streamlit chat: enters question
README.md - Streamlit chat → Agent loop: processes message
streamlit_app.py - Agent loop → Groq inference: requests completion
agent.py - Agent loop → Conversation memory: reads and updates
agent.py - Agent loop → Tool schemas: supplies tool schemas
agent.py - Agent loop → Tool dispatch: handles tool calls
agent.py - Tool dispatch → FAQ search: dispatches search
agent.py - Tool dispatch → Policy lookup: dispatches lookup
agent.py - Tool dispatch → Ticket creation: dispatches creation
agent.py - Tool dispatch → Human escalation: dispatches escalation
agent.py - FAQ search → FAQ content: reads
tools.py - Policy lookup → Policy content: reads
tools.py - Ticket creation → Support database: writes ticket
tools.py - Human escalation → Support database: checks and records
tools.py