Project Story: PersonaTeach – AI-Powered Study Companion

Inspiration

The inspiration for PersonaTeach came from my personal experience with education and the challenges of maintaining engagement and understanding when studying. I realized that the traditional, one-size-fits-all approach to learning doesn’t work for everyone. Some students thrive on visual content, while others need more hands-on interaction or auditory explanations. At the same time, I noticed that students often struggle with maintaining motivation and effectively identifying their weak areas during self-study.

I wanted to build a tool that adapts to individual learning styles and progress, offering personalized study plans, real-time feedback, and dynamic content. The growing capabilities of AI made me excited about its potential to transform education, so I decided to merge AI-driven learning with modern web development to create a platform that truly serves every learner.


What it does

PersonaTeach is an AI-powered study companion that helps students personalize their learning experience based on their unique needs. Here's what it does:

  • Personalized Study Plans: Generates tailored study schedules based on individual goals, available time, and learning progress.
  • Adaptive Learning: Analyzes quiz performance and adapts the difficulty of practice questions to improve learning outcomes.
  • Real-Time Feedback: Provides instant feedback during study sessions, offering suggestions or corrections.
  • Past Question Upload: Allows students to upload past exam questions in PDF or DOC format and get detailed, step-by-step solutions and explanations from AI.
  • Question Generation: Based on uploaded questions, the AI generates similar questions with varying difficulty levels to reinforce learning.
  • Learning Style Adaptation: Identifies the user's preferred learning style (visual, auditory, kinesthetic) and tailors content delivery accordingly.
  • Peer Collaboration: Offers group study features where students can collaborate with others in AI-moderated rooms.

How we built it

PersonaTeach was built using a variety of modern technologies:

  • Frontend: We used Next.js, a React-based framework, to build a fast, scalable, and SEO-friendly frontend. It provides server-side rendering (SSR) and static site generation (SSG) for optimal performance.

  • Backend: The backend is powered by Node.js and Express, which handle user authentication, database queries, and serve as the API for communication between the frontend and AI systems.

  • AI Integration: OpenAI’s GPT-4 API was used for natural language processing, allowing the AI to generate answers, explanations, and personalized study content.

  • Database: MongoDB was used for storing user data, progress, learning materials, and past interactions with the app. This NoSQL database allows flexible schema management, which is ideal for a dynamic and evolving learning platform.

  • Document Parsing: We leveraged pdf.js for extracting text from PDF documents and Multer middleware for handling file uploads. This allowed users to upload past exam questions, which the AI could then process and answer.

  • Authentication: Auth0 was implemented for secure user authentication, supporting email, password, and social login options.

  • Deployment: The app was deployed using Vercel, a platform that supports Next.js and makes deployment seamless, with automatic scaling based on traffic.


Challenges we ran into

Building PersonaTeach came with its fair share of challenges:

  1. AI-Driven Adaptation: Designing the AI to continuously adapt to each student’s learning needs required constant iteration. I had to fine-tune how it assessed user performance and adjusted the difficulty of quizzes based on real-time input.

  2. Document Parsing: Extracting questions from uploaded PDFs and DOCs was a particularly tough challenge. Different formatting styles in the documents led to inconsistent parsing results, so I had to implement a robust parser that could clean and extract questions effectively.

  3. Balancing AI Complexity and User Experience: One of the biggest hurdles was ensuring the AI was both powerful and user-friendly. I wanted to make sure the AI was capable of generating detailed and accurate explanations but didn’t overwhelm users with too much technical jargon. Striking the right balance took a lot of tweaking.

  4. Real-Time Feedback Accuracy: Providing feedback that is not only timely but also educational was a key challenge. It was important that the AI didn’t just offer generic feedback, but instead gave meaningful suggestions that could help the user improve their understanding of the topic.


Accomplishments that we're proud of

  • Adaptive Learning System: Successfully building a system that analyzes user progress in real-time and tailors content to match the learner’s abilities is a feature we’re particularly proud of.

  • AI-Generated Content: The ability for users to upload past exam questions and receive AI-generated, step-by-step solutions has made PersonaTeach an incredibly valuable tool for exam preparation.

  • Personalized Study Plans: Creating an intelligent study planner that dynamically adjusts based on the user’s goals and performance was a major milestone. This feature has received very positive feedback from users.

  • Learning Style Detection: The ability to identify and adapt content delivery based on learning styles is something that sets PersonaTeach apart from other platforms.


What we learned

  • AI in Education: I learned that integrating AI into education goes beyond just answering questions; it involves creating a personalized, adaptable learning environment that can grow with the student. The potential of AI to understand context, adapt to different learning styles, and provide real-time feedback is truly transformative.

  • User-Centered Design: The importance of building a user-friendly interface that can handle complex AI-powered features without overwhelming the user was a key lesson. Iterating based on user feedback was essential to refining the user experience.

  • Machine Learning Integration: Understanding the intricacies of training models and incorporating them into a web application was a valuable technical skill. Fine-tuning machine learning models for educational purposes has a lot of nuance and required a lot of testing.


What's next for PersonaTeach

Looking ahead, there are several exciting directions PersonaTeach can take:

  1. Expansion of Subject Areas: Currently, PersonaTeach focuses mainly on general academic learning. In the future, I plan to expand its offerings to specific subject areas, such as STEM, languages, and arts, with tailored features for each.

  2. Enhanced Gamification: Adding more advanced gamification features, such as challenges, leaderboards, and rewards systems, will help keep students engaged and motivated to keep learning.

  3. Voice Interaction: Integrating voice-based interaction for hands-free learning could make the app more accessible, especially for auditory learners or users with disabilities.

  4. Mobile App Version: Creating a mobile app version of PersonaTeach is high on the roadmap. This would give users more flexibility to study on the go and make the app even more convenient.

  5. Real-Time Peer Collaboration: Enabling students to collaborate with peers in real-time for joint study sessions could help foster a more social and interactive learning experience.


Share this project:

Updates