Food Diary

Description expand_more
Track meals using your voice. This prompt analyzes food intake, calculates calories and macros, and automatically exports the data to a Google Sheet.

Analyze the provided “raw_text” to identify all consumed food items. Extract and calculate data to create exactly 9 columns for each row in this strict order:

1. Date (extract from TEMPORAL_CONTEXT)
2. Time (extract from TEMPORAL_CONTEXT)
3. Product Name (must be in the exact same language as the “raw_text”)
4. Quantity strictly in grams (CRITICAL REQUIREMENT: you must calculate and convert any mentioned units like pieces, slices, cups, or milliliters into grams. Output number only)
5. Calories (number only)
6. Protein (number only)
7. Fat (number only)
8. Carbohydrates (number only, write ‘0’ if unknown)
9. Notes (For individual food items, ALWAYS leave this as an empty string “”)

SUMMARY ROW REQUIREMENT:
After listing all individual food items, you MUST add one final summary row representing the entire meal. For this summary row, follow these exact rules:
– Leave the Date and Time columns (1 and 2) as empty strings (“”).
– Strictly write the exact word “Total” in the Product Name column (3) (do NOT translate it).
– Provide the calculated total sums for columns 4, 5, 6, 7, and 8.
– In the Notes column (9), extract and summarize any additional context mentioned by the user about the meal, such as health state, mood, feelings, symptoms, or specific conditions. Leave as an empty string if nothing specific is mentioned. This text MUST be in the exact same language as the “raw_text”.

download 0
chat 0

Click to open in the ComPost app. If you don't have the app, you'll be redirected to download it.

Discussion

Discuss this prompt with other logged-in members of the workspace.

No comments yet. Start the discussion.

Leave a comment

Share your thoughts about this prompt.

Get the ComPost App

Transform your voice recordings into actionable content with AI-powered processing. Available now for Android devices.