Neuronotes AI
Your smartest AI partner
The problem Neuronotes AI solves
The Modern Student's Dilemma
Students today are overwhelmed by "information overload." A single semester results in hundreds of pages of PDFs, disorganized lecture slides, and messy handwritten notes. When cramming for an exam, finding a specific concept or explanation across all these different formats is like finding a needle in a haystack.
Furthermore, while students try to use standard AI tools to study, those models frequently hallucinate—making up facts or providing generic explanations that don't match the professor's specific curriculum.
How Our AI Study Assistant Solves This
Our RAG-based AI Study Assistant acts as a highly personalized, Socratic tutor that is strictly bounded by the user's actual study materials. It makes studying faster, safer, and infinitely more interactive:
Universal Digitization (OCR): Students aren't limited to clean digital files. By integrating Tesseract OCR, they can snap a photo of their messy handwritten notebook and instantly make it searchable and queryable by the AI.
Zero-Hallucination Q&A: When a student asks a question to clear up a doubt, the backend retrieves the exact relevant chunk of text from their uploaded notes and feeds it to the Gemini API. The AI answers using only that context, guaranteeing 100% syllabus-accurate answers.
Instant Summarization: Turns a dense, 50-page lecture PDF into a digestible executive summary in seconds, drastically reducing reading time.
Active Recall Testing: Instead of passive reading, students can click a button to have the system read their notes and instantly generate a 5-question Multiple Choice Quiz to test their knowledge retention, complete with explanations for the correct answers.
By bridging the gap between raw, messy data and intelligent, contextual retrieval, we transform passive studying into an active, highly efficient learning loop.
Challenges we ran into
Building the RAG data pipeline presented a few specific technical hurdles that we had to debug on the fly:
-
Multi-Modal File Upload Crashes (500 Internal Server Errors): While setting up our FastAPI backend to accept both PDFs and images of handwritten notes, our /upload-notes endpoint kept throwing 500 Internal Server Errors. We realized FastAPI couldn't process the incoming file streams out-of-the-box. We overcame this by integrating the python-multipart dependency to handle raw form data, and then restructured our main.py to securely save the UploadFile to a temporary directory before passing it to our PyMuPDF and Tesseract ingestion modules.
-
Forcing Strict JSON Output for Quizzes:
When prompting the LLM to generate 5 Multiple Choice Questions based on the uploaded notes, it naturally wanted to output conversational text. This unpredictability would break our frontend UI. We solved this by implementing LangChain's PydanticOutputParser. We created a strict Pydantic BaseModel schema and paired it with a RetryWithErrorOutputParser. If the AI hallucinates a malformed JSON string, our backend automatically catches the exception and forces the AI to correct its formatting before passing the data to the frontend. -
API & Context Window Pivots:
We initially faced context limits and API constraints when trying to feed heavily chunked PDF data into our models. We quickly pivoted our architecture to use the Gemini 1.5 Flash API, taking advantage of its massive context window to process full lecture materials seamlessly without losing semantic meaning.
Tracks Applied (1)
Open Innovation
Technologies used