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: 8 oz spaghetti or linguine 250 g broken in half,12 oz fresh or frozen asparagus, 375 g cut into 1 inch (2.5 cm) pieces,2 tbsp butter,8 oz fresh button mushrooms 250 g,3 red or yellow bell peppers cut into 1 inch (2.5 cm) pieces,1/4 cup flour 60 ml,1 pinch freshly ground black pepper,1 3/4 cups chicken broth 430 ml,3/4 cup milk 180 ml,3 cups cooked chicken, cut into pieces 750 ml,1/2 cup shredded Swiss or Emmental cheese (about 2 oz/60 g) 125 ml,1 tbsp finely grated lemon zest 15 ml,2 slices sourdough bread cut into cubes,2 tbsp olive oil 30 ml,1 tbsp fresh parsley, finely chopped 15 ml
- Assistant
{ "data": [ "227 g spaghetti or linguine, broken in half.", "340 g fresh or frozen asparagus, cut into 1 inch (2.5 cm) pieces.", "30 ml butter.", "227 g fresh button mushrooms.", "3 red or yellow bell peppers, cut into 1 inch (2.5 cm) pieces.", "60 ml flour.", "1 pinch freshly ground black pepper.", "430 ml chicken broth.", "180 ml milk.", "750 ml cooked chicken, cut into pieces.", "60 g shredded Swiss or Emmental cheese.", "15 ml finely grated lemon zest.", "2 slices sourdough bread, cut into cubes.", "30 ml olive oil.", "15 ml fresh parsley, finely chopped." ] }
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.