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: 1 tbsp Olive oil,½ whole diced large onion,3 cloves of minced garlic,6 cups of chicken or vegetable stock,2 cups of water,5 stalks of diced celery,2 cups of diced carrots,1 ½ cup of peeled and diced potatoes,½ bite-size pieces green beans,1 cup of fresh peas,1 cup of fresh corn,29 oz diced stewed tomatoes,1 tbsp Italian seasoning,1 tsp granulated garlic,1 tsp chopped rosemary,1/4 tsp sea salt,1 cup of pasta (alphabet shape),Salt,Pepper
- Assistantjson
{ "data": [ "15 ml olive oil.", "0.5 whole diced large onion.", "3 cloves minced garlic.", "1.5 l chicken or vegetable stock.", "2 cups water.", "5 stalks diced celery.", "2 cups diced carrots.", "375 ml peeled and diced potatoes.", "0.5 bite-size pieces green beans.", "1 cup fresh peas.", "1 cup fresh corn.", "825 g diced stewed tomatoes.", "15 ml Italian seasoning.", "5 ml granulated garlic.", "5 ml chopped rosemary.", "0.25 ml sea salt.", "1 cup pasta (alphabet shape).", "Salt.", "Pepper." ] }
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.