Inspiration
The idea for this app was sparked by a video I came across on social media, which featured an AI-generated demonstration of an app managing fridge inventory. This concept resonated with me because managing food in the fridge is a common challenge many people face in daily life. I realized this could be a practical solution that could benefit a lot of people.
What it does
ProFridge is an inventory management app that tracks food items in your fridge, helping you manage them based on their availability, expiration dates, and priority levels. It provides notifications about items that need restocking, suggests recipes based on available ingredients, and reminds you about items that are close to expiring, all aimed at reducing food waste and improving kitchen efficiency.
How I built it
I built the app using s(CASP) with Prolog, a logic programming language. The app is designed around facts and rules—facts representing the food items in the fridge and the rules that define their relationships. These rules help the app make logical decisions and provide useful suggestions or alerts. The system uses recursive logic to backtrack and find solutions based on the available facts, mimicking commonsense reasoning in real-life scenarios.
Challenges I ran into
One of the challenges I faced was dealing with Prolog syntax rules that weren't supported by s(CASP). I was able to overcome this by researching and consulting with mentors to better understand how to work around these limitations. Additionally, I initially strayed from the idea that the app should be based on commonsense reasoning. However, I simplified the app’s design to ensure it better met this criteria and remained functional.
Accomplishments that I'm proud of
I learned how to use s(CASP) and a new language, Prolog. I believe I’ve improved my problem-solving skills and my ability to incorporate human-style commonsense reasoning using the s(CASP) system to solve real-life problems. I’m also proud to have created an application that has the potential to help people.
What I learned
Working with AI reasoning, as opposed to machine learning, was a new experience for me, and it was fascinating to incorporate human-like heuristics into the program. Prolog and s(CASP) were also new tools to learn, and the process was enjoyable. I now feel more confident using these tools and am excited to explore how they can be applied to other problems.
What's next for ProFridge: Commonsense Inventory Management
In the future, I plan to further develop the app by adding more complex features that enhance its ability to use commonsense reasoning. These updates could include improved recipe suggestions, better expiration tracking, and a more intuitive user interface.
Built With
- prolog
- s(casp)
Log in or sign up for Devpost to join the conversation.