Aiden Mak logo

Human Rights Education AI

Reading lens
Info

One mission, two builds: a CMHR Upstander chatbot, then an independent agent that cites UN/OHCHR documents before it answers.

Role
Personal Project
Capstone (CMHR) → Solo builder
Jan–Apr 2025 · Nov 2025
Stack
Gemini
LangGraph
ChromaDB
RAG
Proof
97% answer-latency reduction across versions (6.8s → 0.2s)
Every answer carries citations back to its source documents
Quality-gated retrieval across 5 tools — low confidence forces web-search escalation
Limitations published openly: a documented chunking pathology and its fix on the roadmap
A museum-floor chatbot proved the mission — and that prompt-stuffed knowledge hits a wall.
01 — The Study Companion04 Films
Film — reading_rooms.mp4
01Nine Reading Rooms over Real Law

The platform opens on a topic grid — Foundational Rights, Children's Rights, Indigenous Rights and six more. Behind them sits a real corpus: 25 UN and OHCHR documents, 682,925 words — the UDHR, ICCPR, CEDAW, UNDRIP and more — chunked, embedded and indexed, each room backed by its own ChromaDB collection.

Nine reading rooms over real law
Film — grounded_answer.mp4
02Answers That Show Their Sources

Every answer carries a sources line naming the exact documents it drew from, with per-source relevance scores. If the corpus can't support an answer, the system says so instead of improvising — insufficient retrieval quality is detected, not ignored.

Answer cites its documents by filename
Film — comparator.mp4
03Compare Treaties Side by Side

Ask to compare freedom of speech and freedom of expression and the comparator answers across documents — the comparison names its sources inline, with a confidence score and the tool badge attached, grounded in the corpus rather than the model's memory.

Comparator answer citing source documents
Film — level_switch.mp4
04It Meets You at Your Level

A persistent difficulty selector — Beginner, Intermediate, Advanced — changes not just tone but the answer contract: different word budgets (roughly 150–250, 250–400, 400–600), different assumed vocabulary, calibrated with few-shot examples per level.

The same answer, adapted to reading level
02 — Agent Mode03 Films
Film — agent_websearch.mp4
05It Knows What It Doesn't Know

"Who won the 2024 Nobel Peace Prize?" is not in any UN treaty. The agent plans, recognizes a current event, and goes to live web search instead of the corpus — the answer labeled with the tool used and a confidence score.

Out-of-corpus question triggers the web-search tool
Film — reasoning_trace.mp4
06Every Answer Is Accountable

Each reply carries the tool chain that produced it, a confidence percentage, a sources block, and an inspectable reasoning trace — plan, tool decision, execution. The user never takes the answer on faith, which was the museum's original worry about AI in this domain, answered one build later.

Plan, tool decision, execution — expanded
Film — lesson_planner.mp4
07Lesson Plans on Demand

The educational planner turns a prompt into a structured plan — goals, activities, UDHR article references, historical context, key concepts — built for the audience you name, from high-schooler up.

Lesson plan generated for a high-school audience
Act I Upstander capstone — narrated walkthrough (5 min)
03 — Business ValueWhat Changes
Trust

In a human-rights context, confidently wrong is the failure mode that matters. Citations by filename, confidence scores and inspectable reasoning make every answer checkable.

Access

Between a curious high-schooler and hundreds of thousands of words of legal prose sits nothing but a search box. Reading rooms, level switching and lesson plans turn the corpus into something a student can actually use.

Honesty

The system detects when its library isn't enough and escalates to web search — or says plainly that it can't support an answer, instead of improvising.

Act I was a University of Manitoba capstone with CMHR; Acts II–III are an independent personal project, not affiliated with or endorsed by the museum. No usage metrics are claimed.