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 bunch scallions (8 to 10 ounces), white and green parts trimmed, cleaned, and sliced roughly into 1- to 2-inch pieces,2 heaping tablespoons coarsely minced fresh ginger,2 tablespoons plus 1½ teaspoons rice vinegar,3 garlic cloves, coarsely chopped,1 tablespoon sugar,1 tablespoon soy sauce,3/4 teaspoon fine sea salt,½ teaspoon freshly ground black pepper,Scant ¼ teaspoon red pepper flakes,5 tablespoons neutral-tasting oil,One 14-ounce container firm tofu, sliced and pressed dry,2 Kirby cucumbers,½ teaspoon toasted sesame oil,2 teaspoons toasted sesame seeds,5 cups freshly cooked white or brown rice or mixed grains,2 cups shredded crisp lettuce, such as butter leaf, Boston, romaine, or iceberg,1/4 cup Frizzled Shallots
- Assistant
{ "data": [ "1 bunch scallions (8 to 10 oz), white and green parts trimmed, cleaned, and sliced roughly into 1- to 2-inch pieces.", "2 heaping tablespoons coarsely minced fresh ginger.", "2 tablespoons plus 1½ teaspoons rice vinegar.", "3 garlic cloves, coarsely chopped.", "1 tablespoon sugar.", "1 tablespoon soy sauce.", "3/4 teaspoon fine sea salt.", "1/2 teaspoon freshly ground black pepper.", "Scant 1/4 teaspoon red pepper flakes.", "5 tablespoons neutral-tasting oil.", "One 14-ounce container firm tofu, sliced and pressed dry.", "2 Kirby cucumbers.", "1/2 teaspoon toasted sesame oil.", "2 teaspoons toasted sesame seeds.", "5 cups freshly cooked white or brown rice or mixed grains.", "2 cups shredded crisp lettuce, such as butter leaf, Boston, romaine, or iceberg.", "1/4 cup frizzled shallots." ] }
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.