Constructing a easy course of that tracks your each day protein, fats, carbohydrate, and caloric consumption.
I lately bought again into the fitness center and needed to take the entire vitamin factor critically too. I do know that I can work out all I need but when I don’t feed my physique sufficient protein it may’t and received’t develop (muscle). So I made a decision I needed to trace my protein consumption and figured whereas I’m at it, why not observe all of my each day macronutrients and caloric consumption?
I attempted asking ChatGPT in regards to the macronutrients in an egg and seems it does a reasonably respectable job. Right here’s what the output appeared like:
This was nice. I can use ChatGPT to trace my macros (or a minimum of give a reasonably correct ballpark estimate). My solely difficulty now could be I’ll must do quite a lot of copying and pasting from this output into my little tracker Excel spreadsheet. Not best and understanding myself, if there’s an excessive amount of friction concerned in monitoring one thing, I’ll merely cease doing it. If I could make the method simpler — fewer clicks, fewer keystrokes, much less friction- then I can construct a behavior out of it.
If I can management the output that GPT spits out, I may need a reasonably handy (and free) methodology of processing my knowledge.
Enter Customized GPTs
Customized GPTs permit customers to mix directions, additional data, and any mixture of expertise to suit a specific want — all with out touching any code. Good.
Right here is how you can arrange a straightforward workflow to trace your macronutrients:
- Create customized GPT (Non-compulsory) — see beneath for directions
- Create an Excel spreadsheet or Google Sheet (that’s what I used) with columns: date, amt, meals, carbs (g), protein (g), fats (g), energy. That is the place you’ll be monitoring your meals consumption.
- Enter what you ate in an itemized format. It’s as much as you ways exact you wish to be. The extra granular you’re in your description and itemization, the extra correct the nutrient estimates might be.
- Copy the amt and meals columns out of your spreadsheet and paste them into your customized GPT (or into common GPT with the directions prepended to the info)
- Copy the output from GPT again into your spreadsheet. You might have to delete the header row.
- Repeat steps 3 via 5. Voila. Now you may have a customized macro tracker.
Making a Customized GPT
You possibly can put any title and outline to your GPT. I named mine “Macro Estimator” and entered this description: “Offers estimate on the quantity of protein, carbs, fats and whole energy of a given listing of meals in keeping with their quantities.” The essential half is the directions. Listed below are the directions I used
The person will present CSV-like knowledge together with the meals and the quantity. Please return one other CSV with the estimated whole carbs, protein, fats, and energy in that. The enter knowledge will appear like this:amt meals
2 egg
1 slice of bread
1 strip of bacon
The output needs to be a CSV file with the next columns: amt, meals, carbs, protein, fats, and energy. The output needs to be tabbed content material with out commas. The output of carbs, protein and fats needs to be in grams however ought to solely be an integer (don't embody a "g" within the output).
For those who don’t have a subscription to OpenAI premium
You don’t truly must construct a customized GPT for this. Though it’s barely much less handy, you may merely paste the customized GPT directions earlier than your macro knowledge every time you make a request from ChatGPT.
Here’s what which may appear like:
Now that I’ve a workflow to simply observe my macronutrients. I can plug in my knowledge on my cellphone all through the day and as soon as at evening (or every time is handy) I course of my spreadsheet with the customized GPT and get a decently correct image of the quantity of protein, fats, carbs, and energy I consumed that day. For those who actually wish to get correct together with your macro monitoring, you will get a meals scale and weigh every ingredient out individually.
The advantage of utilizing ChatGPT to course of this knowledge is which you can enter your knowledge in no matter phrases you need. For instance, you might say I ate 1 x fist measurement chunk of beef. The output will not be as correct as if you happen to had entered 60g beef nevertheless you’ll achieve a tough estimate of the nutrient content material of the meals you consumed.
From right here you are able to do neat issues like visualize what you ate that day. Listed below are a pair I made straight out of Google Sheets: