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½ teaspoons kosher salt,½ teaspoon ground turmeric,½ teaspoon ground coriander,½ teaspoon ground cumin,¼ teaspoon ground cinnamon,¼ teaspoon ground black pepper,¼ teaspoon ground cardamom,¼ teaspoon ground ginger,¼ teaspoon red pepper flakes,½ teaspoon ground cloves,½ teaspoon cayenne,1 pound ground chicken,½ cup finely minced red onion (about 1 small onion),2 cloves garlic, finely minced or mashed into a paste,1 tablespoon finely minced fresh parsley,3 or 4 plum tomatoes (optional),Vegetable oil, for brushing (if using cast-iron grill pan),2 small red onions, halved (optional),Pita bread or flatbread, for serving (optional),Spicy Mayo, for serving (optional)
- Assistantjson
{ "data": [ "7.5 g kosher salt.", "2.5 g ground turmeric.", "2.5 g ground coriander.", "2.5 g ground cumin.", "1.25 g ground cinnamon.", "1.25 g ground black pepper.", "1.25 g ground cardamom.", "1.25 g ground ginger.", "1.25 g red pepper flakes.", "2.5 g ground cloves.", "2.5 g cayenne.", "454 g ground chicken.", "120 ml finely minced red onion (about 1 small onion).", "2 cloves garlic, finely minced or mashed into a paste.", "15 ml finely minced fresh parsley.", "3 or 4 plum tomatoes (optional).", "Vegetable oil, for brushing (if using cast-iron grill pan).", "2 small red onions, halved (optional).", "Pita bread or flatbread, for serving (optional).", "Spicy Mayo, for serving (optional)." ] }
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.