Inspiration

Diabetes is a prevalent issue that millions of people face daily. According to the CDC, 38.4 million Americans have some form of diabetes as of 2021, with the number growing. Both type 1 and type 2 diabetics have to actively keep their sugar levels at proper levels, taking prescribed medications and adjusting their lifestyle habits to remain healthy. However, this can be rather difficult at times due to the impact diabetes has on the body. Through our system, we aim to help those with diabetes better manage their sugar levels and opt for better lifestyle habits that will help them navigate through and overcome the difficulties of their disease in a guided manner.

What it does

Our system analyzes if a person’s diabetic conditions need further actions for them to maintain a healthy life. The system looks into several factors: the patient’s blood glucose level, carbohydrate daily intake, diabetes type, and physically active level (how often do they workout), and determines their appropriate conditions and whether further actions and habits need to be taken.

How we built it

We wrote and debugged the program in Visual Studio Code with Ciao extension, and we also tested the output using the Ubuntu terminal

Challenges we ran into

Learning a new language and getting to work in our respective environments Debugging errors in our code, pertaining to syntax and errors that occur at runtime Adding accurate feedback responses and rules for the system when provided with different inputs Getting the program to display all applicable advices for a given individual

Accomplishments that we're proud of

Successfully creating an application that allows diabetic individuals to better manage their sugar levels. Learning about Prolog and using reasoning-based learning to guide the program towards its responses. Applying logic, common sense, and human reasoning into programming What we learned Prolog and how to use technologies, such as s(CASP), to enhance the reasoning capabilities of our system. How to manage type 1 and type 2 diabetes and the recommended practices for managing these diseases in a healthy manner How AI Chatbot functions, to create a user-friendly experience when asking questions

What's next for GlycoHealth

In the future, GlycoHealth will provide advice to pre-diabetics and non-diabetics who wish to better manage their health and carb-intake. We will also consult more research, using insights from endocrinologists to improve the advice given by our system. We may also implement a chatbot feature, using OpenAI's API in combination with Prolog's reasoning-based capabilities to provide a more conversational interface for the user.

Built With

Prolog, Ubuntu terminal, s(CASP), visual studio code

Built With

Share this project:

Updates