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: 2 tablespoons oil,1 teaspoon cumin seeds,1 onion, diced,400g lamb mince,1 teaspoon ginger paste,1 teaspoon garlic paste,1 teaspoon green chilli paste,1 teaspoon peri-peri seasoning,1 teaspoon ground cumin,1 teaspoon ground coriander,1 teaspoon ground black pepper,½ teaspoon salt,½ teaspoon garam masala,2 tablespoons diced red pepper,2 tablespoons diced green pepper,30g frozen petit pois,5g fresh coriander leaves, finely chopped,2 spring onions, finely chopped,2 tablespoons plain flour, plus extra for dusting,8 tablespoons water,2 x 320g packets of ready-rolled puff pastry,1 egg, beaten,sesame seeds, for sprinkling
- Assistant
{ "data": [ "30 ml oil.", "5 ml cumin seeds.", "1 onion, diced.", "400 g lamb mince.", "5 ml ginger paste.", "5 ml garlic paste.", "5 ml green chilli paste.", "5 ml peri-peri seasoning.", "5 ml ground cumin.", "5 ml ground coriander.", "5 ml ground black pepper.", "2.5 ml salt.", "2.5 ml garam masala.", "30 g diced red pepper.", "30 g diced green pepper.", "30 g frozen petit pois.", "5 g fresh coriander leaves, finely chopped.", "2 spring onions, finely chopped.", "15 g plain flour, plus extra for dusting.", "120 ml water.", "2 x 320 g packets of ready-rolled puff pastry.", "1 egg, beaten.", "sesame seeds, for sprinkling." ] }
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.