I have a list of ingredients that I would like to format in a simple and consistent way,…
- User
I have a list of ingredients that I would like to format in a simple and consistent way, following this structure:
"Quantity Unit Description."
Formatting Rules:
Quantity must be a number (e.g., "200" instead of "two hundred").
Unit must use the metric system and the corresponding abbreviated form (e.g., grams → g, liters → l, milliliters → ml, etc.).
Description should be the ingredient, including any specific details if mentioned (e.g., "brown sugar", "melted unsalted butter").
If an ingredient is already formatted correctly, do not change it.
Do not invent a quantity or unit if none is provided — leave it as is and just include the description.
If a line includes alternatives or multiple options (e.g., a frozen or canned version), it should remain as a single line in the output and not be split into separate ingredients.
Return Format: The result should be returned as a properly formatted JSON object, like this: json { "data": } Please reformat each ingredient in the list I will provide according to these guidelines.
Context Dump Ingredients source provided: Red food coloring 0.06 lb,Eggs 4,Instant vanilla pudding mix 1 package,Water 1 cup,Cold milk 1 cup,Unsweetened cocoa powder 1 tablespoon,Distilled white vinegar 1 tablespoon,Vegetable oil 1/2 cup,Yellowcake mix 1 package,Instant vanilla pudding mix 1 package,Thawed frozen whipped topping 1 container,Cream cheese 1 package
- Assistant
{ "data": [ "27 g Red food coloring.", "4 Eggs.", "1 package Instant vanilla pudding mix.", "240 ml Water.", "240 ml Cold milk.", "15 ml Unsweetened cocoa powder.", "15 ml Distilled white vinegar.", "120 ml Vegetable oil.", "1 package Yellowcake mix.", "1 package Instant vanilla pudding mix.", "1 container Thawed frozen whipped topping.", "1 package Cream cheese." ] }
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.