Case study
Nalar.Ai
An AI assistant for education that answers with citations, not guesses. Students’ questions are answered from documents that are actually referenced, complete with pointers to the source.
Problem
A language model’s answers about course material easily sound convincing even when they’re wrong, and teachers don’t have time to re-check every answer. What’s needed is an answer that shows where it came from.
Approach
A RAG pipeline: documents are split and indexed, then the most relevant parts are selected for each question. Answers are composed only from chunks that pass a similarity threshold, and every claim is linked to its original file and page — four documents are cited for a single answer in the demo on the work page.
What I did
Designing the retrieval pipeline, choosing the model, the chat interface, through to the promo page now running on Vercel. The codebase is written in TypeScript so the retrieval logic can be tested separately from the interface.
Result
Short answers that can be double-checked in seconds: students see the source, and teachers don’t have to guess. The live demo page opens from the button below.