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 tbsp olive oil,30 ml dried oregano,2 cups chopped onions,500 ml salt,1 1/2 cups sliced celery,375 ml fresh spinach, trimmed,1 cup diced carrots,250 ml roughly chopped,2 cloves garlic, finely chopped,1 cup red wine,250 ml ground beef,1 1/2 lb 750 g,1 cup small pasta (like elbow macaroni or other short pasta),250 ml Italian sausage meat,1/2 lb 250 g,1 cup grated Parmesan cheese,250 ml,2 cans diced Italian tomatoes (28 oz/796 ml each),1 can red kidney beans, rinsed and drained (19 oz/540 ml),8 cups beef broth 2 L,2 cups green cabbage, thinly sliced,500 ml,1 1/2 cups trimmed green beans, chopped,375 ml,1 cup diced rutabaga,250 ml,1 cup diced unpeeled zucchini,1 tbsp sugar,1 tsp dried basil,250 ml,15 ml,5 ml,2 tsp salt,1 cup 2,5 ml 10 ml
- Assistantjson
{ "data": [ "30 ml olive oil.", "2 cups chopped onions.", "500 ml salt.", "1 1/2 cups sliced celery.", "375 ml fresh spinach, trimmed.", "1 cup diced carrots, roughly chopped.", "2 cloves garlic, finely chopped.", "1 cup red wine.", "250 ml ground beef.", "750 g small pasta (like elbow macaroni or other short pasta).", "250 ml Italian sausage meat.", "1/2 lb grated Parmesan cheese.", "250 ml, 1 cup grated Parmesan cheese.", "250 ml, 2 cans diced Italian tomatoes (28 oz/796 ml each).", "1 can red kidney beans, rinsed and drained (19 oz/540 ml).", "8 cups beef broth.", "2 L beef broth.", "2 cups green cabbage, thinly sliced.", "500 ml green cabbage, thinly sliced.", "1 1/2 cups trimmed green beans, chopped.", "375 ml trimmed green beans, chopped.", "1 cup diced rutabaga.", "250 ml diced unpeeled zucchini.", "1 tbsp sugar.", "1 tsp dried basil.", "250 ml salt.", "15 ml salt.", "5 ml salt.", "2 tsp salt.", "1 cup salt.", "2, 5 ml sugar.", "10 ml sugar." ] }
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.