Every claim has a page
Answers cite the passage they came from, down to the page. Click a mark to read the original wording beside the answer.
Retrieval-augmented study assistant
StudyMate reads the PDFs you upload and answers only from them, streamed from Gemini with a citation to the exact passage behind every claim.
How it works
Drop in lecture notes, a chapter, a paper. Text is pulled page by page, repaired, and split into overlapping passages.
Type the question the way you’d ask a tutor. Scope it to one document or search everything you’ve uploaded.
The answer streams in with numbered marks. Each one opens the exact passage, so you can check it and keep reading.
What makes the answers trustworthy
Answers cite the passage they came from, down to the page. Click a mark to read the original wording beside the answer.
A semantic index catches paraphrases; a keyword index catches exact terms and symbols. Rank fusion merges them, so neither one has to be right alone.
“Explain that more simply” works. The question is rewritten with the conversation in mind before the search runs.
Weak matches are cut before they reach the model. An off-topic question gets an honest “not in your documents”, not a confident guess.
Sources arrive first, then the answer, token by token. Stop it any time. Nothing blocks the server while a PDF is indexed.
Documents and conversations are isolated per workspace and persist across restarts. Uploads are sniffed, capped and rate-limited.
Under the hood
FastAPI on the back, Next.js on the front. Each question runs a dense and a keyword search in parallel, fuses the rankings, drops weak matches, and hands the survivors to the model as numbered sources. The answer streams back over Server-Sent Events with the citations attached.