Every faculty office answers the same questions daily: registration, fees, hostel, graduation credits. A chatbot is the obvious fix โ but the research is in the retrieval: which search strategy actually finds the right answer in your university's documents?
A web chat widget answering student FAQs from real university documents (handbooks, academic circulars, faculty FAQ pages) using Retrieval-Augmented Generation โ with source citations shown for every answer.
RAG quality is decided by retrieval. You benchmark three retrieval strategies on a test set of real student questions and measure which surfaces the correct document โ before any LLM ever answers.
Pernyataan masalah: Student inquiries overload faculty offices and Telegram groups; answers exist in official documents but are scattered and hard to search, and generic chatbots hallucinate university policies.
| Experiment | Setup | What it proves |
|---|---|---|
| Eksperimen 1 Keyword (BM25) |
Classic BM25 index over chunked documents; retrieve top-5 per question. | The strong classical baseline โ surprisingly hard to beat on exact terms (course codes, fee names). |
| Eksperimen 2 Dense embeddings |
Multilingual sentence-embedding model + vector store, same top-5 protocol. | Whether semantic search handles paraphrased and Malay/English mixed questions better. |
| Eksperimen 3 Hybrid + rerank |
BM25 โช dense candidates merged, then reranked (reciprocal rank fusion). | Whether combining both closes the gap โ the trade-off table (quality vs latency vs cost) examiners want. |
Corpus: 30โ60 real documents (student handbook, academic regulations, FAQ pages). Test set: 100โ200 real questions collected from students (mini-survey โ counts as data collection methodology), each labeled with the document/section holding the answer. Questions split across pure-Malay, pure-English, and mixed to add a language dimension.
| Metric | Why it matters here |
|---|---|
| Hit@1 / Hit@5 | Was the correct source retrieved at all? The core retrieval score per experiment. |
| MRR | Rewards putting the right document at the top, not just in the top-5. |
| Faithfulness rubric (1โ5) | Human-scored: does the generated answer stick to the retrieved source? Catches hallucination. |
| Latency & cost per query | The engineering trade-off dimension โ makes Bab 5 recommendations concrete. |
| Chapter | What goes in it (from this package) |
|---|---|
| Bab 1 โ Pengenalan | Problem statement, objectives, scope (one faculty's documents, 3 retrieval strategies), Gantt chart. |
| Bab 2 โ Sorotan Kesusasteraan | Comparison tables: chatbot generations (rule-based โ RAG), retrieval methods across recent papers, RAG evaluation frameworks. |
| Bab 3 โ Metodologi | Corpus curation + chunking strategy, question collection survey design, system architecture (indexer โ retriever โ LLM โ citations UI). |
| Bab 4 โ Pembangunan & Pengujian | The 3 experiments, Hit@k/MRR tables, per-language breakdown, faithfulness scoring, chat UI screenshots. |
| Bab 5 โ Dapatan Kajian | Recommended pipeline with evidence, limitations (corpus freshness, rubric subjectivity), future work (multi-faculty scaling). |
PythonFastAPIrank-bm25 sentence-transformersChroma / FAISSAny LLM API
โ Back to all FYP ideas ยท Assignment Helper