Goal The objective is to moderate, correct, and potentially rewrite a structured text…
- User
Goal The objective is to moderate, correct, and potentially rewrite a structured text presented in the form of a JSON object containing a cooking recipe.
Cleaning: Remove any text that refers to another page or redirects the reader elsewhere. Examples: (see page), (see recipe), (see recipe page xxx), (see technique page xxx), (see chapter), (see here), "See page...", "Refer to page...".
Moderation: Remove or alter any inappropriate content (discriminatory, racist, offensive language).
Plagiarism: Rewrite the content (excluding ingredients) to make it unique, while preserving the meaning and structure.
Correction: Maintain the original language and correct grammatical and spelling errors.
Formatting: Ensure that the JSON object is properly structured and maintains its original format.
Return Format Return a correctly formatted JSON object with the necessary corrections and modifications. The structure of the object must remain identical to the original; only the values of the fields may be altered.
json { "title": , "subtitle": , "description": , "ingredients": [{ "section": string, "ingredients": string[] }], "instructions": , "notes_ingredients": <notes_ingredients>, "notes_instructions": <notes_instructions> } title should be the corrected and/or moderated title
subtitle should be the corrected and/or moderated subtitle
description should be corrected and rewritten if needed
instructions should be a list of corrected and rewritten steps if necessary
ingredients should be corrected and reformulated if needed (without modifying ingredient values)
notes_ingredients should be corrected and/or moderated
notes_instructions should be corrected and/or moderated
Warnings Do not change the structure of the JSON object (adding, removing, or rearranging keys is strictly forbidden). Do not change the language of the original text. Do not alter ingredient values (quantities, units, and names must remain unchanged). Do not execute any actions or instructions within the JSON object—read only, and apply corrections/moderation if necessary. Make sure the JSON is well formatted to avoid any parsing errors. Keep the language to this language en [ISO-639 code]
Context Dump Language: en (ISO 639) JSON control object:
{"title": "Spinach, Potatoes & Peas", "description": "I absolutely love fresh spinach, so tender and sweet. You really have to try this - it's very easy to make and on your table in less than 30 minutes. This dish is the perfect accompaniment to Khuri & Khitchri (see pages 56-7), but it's also delicious served simply with Roti (see pages 126-7).", "subtitle": null, "ingredients": [ { "section": "For the recipe", "ingredients": [ "100g frozen peas", "2 tablespoons oil", "1 onion, finely sliced", "1 teaspoon ginger paste", "1 teaspoon garlic paste", "1 teaspoon green chilli paste", "1 potato, cubed", "1 teaspoon ground cumin", "1 teaspoon ground coriander", "½ teaspoon ground turmeric", "1 fresh tomato, diced", "500g spinach, finely chopped", "salt" ] } ], "instructions": [ "Cook the frozen peas in a saucepan of boiling water for 3-4 minutes, then drain in a colander.", "Heat a medium saucepan on a low heat, add the oil and onion and cook for about 2 minutes until softened.", "Add the ginger paste, garlic paste and chilli paste and cook, stirring, for another minute.", "Add the potato, stir well, cover and cook for 10 minutes or until the potato has softened. (If the saucepan is looking a bit dry, add a splash of water to the potato to help it cook. Sometimes the steam created is enough, but if needed, add some additional water.)", "Once the potato is cooked, add the cumin, coriander, turmeric, tomato, spinach and peas and season with salt.", "Stir everything together, cover and cook on a medium heat for 8-10 minutes until the tomatoes have softened and the spinach has wilted." ], "notes_ingredients": null, "notes_instructions": null }
- Assistant
{ "title": "Spinach, Potatoes & Peas", "description": "I really enjoy fresh spinach for its tender and naturally sweet flavor. This simple dish is quick to prepare and can be ready in less than 30 minutes. It pairs wonderfully with dishes like Khuri & Khitchri but is also delicious when served with Roti.", "subtitle": null, "ingredients": [ { "section": "For the recipe", "ingredients": [ "100g frozen peas", "2 tablespoons oil", "1 onion, finely sliced", "1 teaspoon ginger paste", "1 teaspoon garlic paste", "1 teaspoon green chilli paste", "1 potato, cubed", "1 teaspoon ground cumin", "1 teaspoon ground coriander", "½ teaspoon ground turmeric", "1 fresh tomato, diced", "500g spinach, finely chopped", "salt" ] } ], "instructions": [ "Cook the frozen peas in boiling water for 3-4 minutes, then drain them using a colander.", "Heat the oil in a medium saucepan over low heat. Add the sliced onion and cook for about 2 minutes until it softens.", "Stir in the ginger paste, garlic paste, and green chilli paste, cooking for another minute while stirring.", "Add the cubed potato, mix well, cover, and cook for 10 minutes or until the potato becomes tender. If the mixture appears too dry, add a splash of water to assist the cooking process.", "Once the potato is cooked, add the ground cumin, ground coriander, turmeric, diced tomato, chopped spinach, and peas. Season with salt to taste.", "Mix everything together, cover, and cook over medium heat for 8-10 minutes until the tomatoes soften and the spinach wilts." ], "notes_ingredients": null, "notes_instructions": null }