BKHome Chatbot is an agentic campus assistant for HCMUT students and staff. It answers questions across several campus domains — academic regulations, internships and CSE programme documents — and is built as a microservices web platform.
Architecture
- Microservices: a Fastify API gateway (auth, single entry point), a FastAPI RAG service and a React frontend.
- Storage: PostgreSQL + pgvector for hybrid document search; Neo4j for the document heading tree and glossary graph.
- Agent layer: a discovery agent (planner, analyzer, clustering) with tool calling, including web search.
Retrieval
- Two-stage retrieval: FAQ semantic matching short-circuits the LLM above a 0.90 similarity threshold; otherwise a hierarchical parent–child document RAG runs.
- Precision: cross-encoder reranking (Cohere rerank-v3.5) plus metadata filters on domain, major and document type.
- Latency: semantic caching for repeated questions and LLM query rewriting that expands Vietnamese abbreviations (HP, ĐKMH, HK232…).
Status
In active development — expanding domain coverage and agent tools.
