Inspiration

Freestyle cooking shouldn't stop nutrition/calorie tracking.

What it does

Take unstructured strings of recipes, structure and store the ingredients list through Azure ChatGPT 4oMini, repeat with strings of recipe edits and update the ingredients list/calorie count. Calculates calorie count through USDA FoodData Central API.

How we built it

Git, Azure, Python, Flask, Javascript

Challenges we ran into

Other time commitments, first time using Flask. Technical issues with Azure subscriptions that we tried to get around by using another platform, but ultimately worked out within Azure first.

Accomplishments that we're proud of

Learning Azure, Flask, first time getting JSON output from an LLM.

What we learned

Picking up new tools takes more time than actually implementing them.

What's next for CookCal

Allowing edits affect recipe properly, printing results to front-end instead of console.

Share this project:

Updates