Inspiration

We recently got into lifting and tracking our macros. This process though, can be quite inconvenient when cooking as we have to look for macro-friendly ingredients, portion it, and then calculate the macros which can take quite a bit of time and energy and isn't something that we would want to do every time we try to cook. This website skips the steps of calculating the amount of food you need and figuring out what ingredients you need, and allows you to get straight into cooking; saving plenty of time and energy.

What it does

You can put in certain calorie and protein amounts and what type of food you would like and depending on that, a recipe will be generated that matches your requirements.

How we built it

We used a ChatGPT 3.5 API to generate recipes based on what the user inputs. From there, we have 7 recipes generated in parallel, and out of the 7 recipes the recipe that best matches the macros given initially.

Challenges we ran into

The recipes generated were highly inaccurate, and it was very hard to get them to be within any range. Since we were using generative AI to create the recipes, it was hard to control the outcome of the AI and ensure that it was within the desired range. We initially wanted to have more than just calories and protein, such as carbs and fats, but that resulted in too much inaccuracy which resulted in removing those features.

Accomplishments that we're proud of

We were able to build something that works, this was our first hackathon so that was mainly the goal.

What we learned

We need to be more specific with how we want AI to generate these recipes, and tune our instructions. Had we had more time I think we would be able to get even more accurate recipes and have a wider variety of recipes to choose from.

What's next for Nrshmnt.ai

We want to try to add more filters to decide which recipes would best fit the user as originally desired. We also noticed that the generative AI did not add much variety to each cuisine, resulting in repeating meals or recipes that do not fit the culture well. We also want to make the macros be even closer to what is inputted initially.

Built With

Share this project:

Updates