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: Chuck, diced - 1.5 lb.,Olive oil 3 tablespoons,Flour - 1/2 cup,Salt and pepper, to taste,Onion diced 1/2 cup,Garlic, minced - 3 cloves,Tomato paste 2 tablespoons,Flour 2 tablespoons,Red wine 1 cup,Crushed tomatoes - 14 oz,Beef broth - 3 cups,Water - 1 cup,Bay leaves - 2,Thyme - 2 sprigs,Carrots, diced - 1 cup,Potato, diced - 1 lb.,Mushroom, sliced - 5 oz
- Assistant
{ "data": [ "680 g Chuck, diced.", "3 tablespoons Olive oil.", "60 g Flour.", "Salt and pepper, to taste.", "120 ml Onion, diced.", "3 cloves Garlic, minced.", "2 tablespoons Tomato paste.", "2 tablespoons Flour.", "240 ml Red wine.", "400 g Crushed tomatoes.", "720 ml Beef broth.", "240 ml Water.", "2 Bay leaves.", "2 sprigs Thyme.", "120 ml Carrots, diced.", "450 g Potato, diced.", "140 g Mushroom, sliced." ] }
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.