Inspiration
The inspiration for NutriMentor arises from a profound understanding of the challenges people encounter when it comes to managing their diets, particularly those grappling with dietary restrictions. We recognized that individuals with dietary restrictions, whether due to allergies, medical conditions, or lifestyle choices, often face a daunting journey filled with uncertainty and frustration. These restrictions can make it difficult to find suitable foods, prepare balanced meals, and ensure they receive the necessary nutrients. The struggle to find accurate nutritional information and create diets that align with these restrictions can be overwhelming, leading to stress and a sense of isolation.
Our mission is to alleviate this burden by providing a reliable and user-friendly platform that addresses the unique needs of individuals with dietary restrictions. NutriMentor is the result of our dedication to bridging the gap between dietary restrictions and the vast landscape of nutritional insights. Our goal is to empower individuals to take control of their health and wellness, offering personalized dietary guidance that makes their journey not only manageable but enjoyable. We believe that individuals should not only have access to the essential nutritional information but also the tools to create personalized diets that cater to their specific requirements. We're here to mentor and support, one nutritious step at a time.
What it does
NutriMentor is a versatile and user-centric nutrition and dietary management platform, uniquely tailored to meet the diverse needs of individuals. At its core, NutriMentor empowers users by providing them with a sophisticated nutrition data dashboard, offering in-depth insights into the nutritional content of a wide array of foods. This feature is designed to help users make informed choices, regardless of their dietary restrictions or preferences, promoting a healthier and more mindful approach to nutrition.
The true essence of NutriMentor lies in its groundbreaking LLM (Lifestyle and Diet Management) tool, which forms the beating heart of the platform. This tool is designed to assist users in creating highly personalized dietary plans, customized to their specific dietary requirements, health goals, and lifestyle preferences. Whether one is managing dietary restrictions due to allergies, medical conditions, or simply aiming for a healthier lifestyle, NutriMentor guides users through every step, offering individually tailored recommendations, meal plans, and tracking tools. NutriMentor stands as a digital mentor and steadfast companion on the path to improved health and well-being, making dietary management a seamless and enjoyable journey for individuals from all walks of life.
How we built it
In developing our groundbreaking project to streamline dining choices for individuals with specific dietary restrictions, we embarked on a comprehensive approach. We initiated the process by harnessing the power of BeautifulSoup4 for dynamic web scraping, enabling the real-time acquisition of menu data from various dining halls. This ensured our system incorporated live changes to the menu, guaranteeing that users received the most current and relevant dining options available.
Next, we sought a comprehensive document containing information on nutrient content, food specifications, and more. Utilizing the OpenAI embedding model, we transformed this data into vector embeddings, laying the foundation for efficient and precise dietary analysis. The embeddings enabled us to leverage language models (LLMs), and after exploring various options, we identified OpenAI GPT-3.5 as a fitting choice. We meticulously trained the GPT-3.5 model to analyze these embeddings based on user inputs, allowing the model to discern specific diets and foods, leading to more accurate and personalized recommendations.
We introduced a revolutionary approach called "vector QA," a significant departure from traditional GPT-based question-answering methods. This method was more accurate and cost-efficient compared to fine-tuning processes. By implementing the vector QA functionality, we seamlessly integrated this feature through Langchain, providing a way to access our model via code. With prompt chaining, an efficient prompt engineering method, we generated optimal dining hall recommendations for each meal based on the user's specified date and dietary restrictions. The end result was an intuitive system that empowered users to make informed dining decisions tailored to their unique nutritional needs.
To create the interactive dashboard, we used a dataset from countyhealthrankings.org containing data about various measures of nutrition and health and Tableau to produce visualizations of the data in a helpful fashion. We created a map showing all the counties in the US and mapped each one to its obesity rate to illustrate the current state of health in that county. We created a bar chart, a table, and a line graph and filtered the data to display the data from individual counties inputted by the user. All of these elements were than tied together via React and CSS Styling to provide the most optimal user friendly experience.
Challenges we ran into
To develop the interactive Tableau display, we encountered multiple obstacles that we needed to resolve. The main goal was to collect nutrition information and health statistics into a single display, with statistical visualizations that change based on the US county that the user inputs. We struggled with linking together all the visualizations so that they all update together based on the user’s input. Through research about data filters, we realized that we could create a universal filter applied to all visualizations that restricts the data under analysis to the single county of interest that matches the user input. This way, we were able to update all the visualizations based on this one filter. This led us to another problem. Since we only had county names listed without states and there exist counties that have the same name, there would be ambiguity when a user inputs one of these counties. We resolved this challenge simply by adding state specifications for each county in the dataset. This way, every county that the user could input would correspond to a single distinct county.
Navigating the complexities of Country Health Ranking data in the NutriMentor project presented numerous challenges. The data often came in various formats, had inconsistent entries, and included numerous data points and values. Overcoming these challenges required a combination of technical skills and creative thinking. Python's Pandas library was crucial in this process, allowing us to clean and transform the data into a more structured and usable format. However, creative thinking played an equally important role. We had to devise innovative ways to identify and handle outliers, missing values, and ambiguities in the data. This often involved designing custom data preprocessing scripts and algorithms to ensure data consistency.
Accomplishments that we're proud of
In NutriMentor, we take immense pride in creating a platform that bridges the gap between dietary restrictions and personalized nutrition in a user-friendly and empowering way. We're proud of developing a solution that genuinely makes a difference in people's lives. Here are a few aspects that we hold in high regard:
Personalization: We are proud of the level of personalization we've achieved in NutriMentor. Our platform is not a one-size-fits-all solution; it's a dynamic tool that caters to each user's specific dietary needs and preferences. This personalization extends to meal plans, dietary recommendations, and nutrient tracking.
Empowerment: NutriMentor empowers individuals to take control of their nutrition and health. It provides them with the knowledge and tools they need to make informed dietary choices, regardless of their dietary restrictions. We're proud that our platform doesn't just provide answers but also equips users with the ability to make healthier decisions independently.
Data-Driven Insights: NutriMentor offers users a deeper understanding of their dietary habits and nutritional needs. We're proud of the insights it delivers, helping users to better comprehend their dietary patterns and make long-lasting, positive changes.
Accessibility: We take pride in making cutting-edge technology accessible to a wide audience. NutriMentor's user-friendly interface ensures that individuals, regardless of their technical background, can harness the benefits of data-driven nutrition and dietary management.
Positive Impact: Above all, we are proud of the positive impact NutriMentor has on the lives of individuals with dietary restrictions. It simplifies their dietary journey, reducing stress and frustration while promoting better health and well-being. This is what truly fuels our passion and dedication to NutriMentor.
What we learned
The entire process of converting an idea to a final usable product was a trove of learning opportunities.
In the process of learning to use Tableau to create effective visualizations, we learned the effectiveness of using filters and data cleaning to create compelling graphs and maps. We gained new perspectives on using these filters to show individual counties and writing basic filtering logic.
What's next for NutriMentor
The future of NutriMentor is filled with exciting developments that will significantly elevate the user experience. We're actively working on integrating advanced features that include recipe customization, enhanced nutrient tracking, and meal planning automation. These improvements will empower our users to take even greater control of their dietary journeys.
With recipe customization, NutriMentor will enable users to modify and adapt recipes to meet their specific dietary needs. This feature will ensure that every meal aligns perfectly with individual requirements, making healthy eating more accessible and enjoyable. Moreover, our enhanced nutrient tracking will provide users with a deeper understanding of their nutritional intake. It will offer detailed insights into micronutrients, allowing users to fine-tune their diets to optimize their health and well-being.
The introduction of meal planning automation will simplify the process of creating balanced, personalized meal plans. Users will be able to automate the generation of daily, weekly, or monthly meal plans, tailored to their dietary restrictions and preferences. This not only saves time but also reduces the stress associated with planning meals, fostering a healthier and more sustainable approach to nutrition. These exciting new features represent our commitment to providing NutriMentor users with a comprehensive, dynamic, and user-centric platform for achieving their health and wellness goals.
Log in or sign up for Devpost to join the conversation.