Inspiration

Since I was about 13 years old, teaching people, especially children, became my passion. I realized how hard it could be for students to receive one-on-one help in traditional classrooms. This realization inspired me to create an AI-powered math tutor app that would adapt to every student's needs. The development of this app enabled me to put my love for teaching and my interest in AI together to come up with a tool to allow children to learn with confidence.

What it does

This app takes a user input related to a topic in math that they have selected, then uses AI to give the user a clear and concise answer. In addition, it uses a list to assign tutors according to which topic they have chosen from the dropdown, in case the user needs any extra help.

How we built it

This app was developed with clean visual design and interactivity in mind using HTML, CSS, and JavaScript. The Google Gemini AI was powered by the Google Generative AI API for the math explanation section. Users query math problems, and AI provides answers in detail. The list of tutors is static within the back end. The system filters tutors based on the subject selected by the student and randomly assigns a tutor to the student in the backend. The working of the API was tested using Postman and some debugging using browser developer tools.

Challenges we ran into

One of the biggest challenges I faced was integrating Google Gemini AI with the backend. Initially, I encountered errors due to missing API keys and incorrect response handling. Debugging this required researching the Google Generative AI API documentation and adjusting how the AI model processed user queries.

Accomplishments that we're proud of

One of my biggest accomplishments was successfully integrating Google Gemini AI to provide detailed, subject-specific math explanations. While testing the AI with an unrelated question not about math, I was relieved to see that it did not answer it, and focused on math only. I’m also proud of building a functional tutor-matching system, which assigns tutors based on the selected subject. Initially, the system was completely random, but I improved it by filtering tutors to match students' needs more accurately.

What we learned

Integrating Google Gemini AI for math explanations helped me learn how to use APIs for AI-generated content. I also improved my ability to handle API responses and errors properly. I learned about the importance of Flask, and how it contributed to the overall outcome of the app.

What's next for Personal Tutor

I really want to develop this app until people can talk to each other in real time. It would be amazing if my app was used comfortably as a networking and learning environment.

Built With

Share this project:

Updates