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": <title>,
"subtitle": <subtitle>,
"description": <description>,
"ingredients": [{ "section": string, "ingredients": string[] }],
"instructions": <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": "POTATO STEW WITH OLIVES",
"description": "This Moroccan-influenced stew, inspired by a family recipe, is one of my favorites. Sometimes, I also like to add sun-dried tomatoes or roasted red peppers.",
"subtitle": null,
"ingredients": [
{
"section": "For the recipe",
"ingredients": [
"2 tablespoons olive oil",
"1 large onion, minced",
"One 14.5-ounce (411 g) can crushed tomatoes",
"½ cup (65 g) green olives, pitted",
"2 garlic cloves, minced",
"1 teaspoon tomato paste",
"1 teaspoon ground cumin",
"1 teaspoon smoked paprika",
"1 teaspoon cane sugar",
"1 teaspoon ground turmeric",
"Harissa paste, to taste",
"8 medium potatoes (about 3 pounds/1.3 kg), quartered",
"A few cilantro sprigs, chopped",
"Salt",
"Black pepper"
]
}
],
"instructions": [
"1. Heat the oil in a large pot over medium-high heat. Add the onion and cook until lightly browned, about 8 minutes.",
"Add the tomatoes, olives, garlic, tomato paste, cumin, paprika, sugar, turmeric, and harissa paste. Season with salt and pepper, stir, and simmer over low heat until reduced slightly, 20 minutes.",
"2. Add the potatoes, along with a splash of water. Cover and simmer over low heat until the potatoes are cooked through, 30 minutes. Sprinkle with cilantro before serving."
],
"notes_ingredients": null,
"notes_instructions": null
}
ASSISTANT
```json
{
"title": "Potato Stew with Olives",
"description": "This hearty stew, inspired by a traditional Moroccan recipe, is one of my favorites. Occasionally, I like to enhance the flavor by adding sun-dried tomatoes or roasted red peppers.",
"subtitle": null,
"ingredients": [
{
"section": "For the recipe",
"ingredients": [
"2 tablespoons olive oil",
"1 large onion, minced",
"One 14.5-ounce (411 g) can crushed tomatoes",
"½ cup (65 g) green olives, pitted",
"2 garlic cloves, minced",
"1 teaspoon tomato paste",
"1 teaspoon ground cumin",
"1 teaspoon smoked paprika",
"1 teaspoon cane sugar",
"1 teaspoon ground turmeric",
"Harissa paste, to taste",
"8 medium potatoes (about 3 pounds/1.3 kg), quartered",
"A few cilantro sprigs, chopped",
"Salt",
"Black pepper"
]
}
],
"instructions": [
"1. Heat the olive oil in a large pot over medium-high heat. Add the minced onion and cook until it turns golden brown, about 8 minutes.",
"2. Stir in the crushed tomatoes, green olives, garlic, tomato paste, ground cumin, smoked paprika, cane sugar, turmeric, and harissa paste. Season with salt and black pepper. Reduce the heat to low and let it simmer gently until the sauce thickens slightly, approximately 20 minutes.",
"3. Add the quartered potatoes along with a small amount of water. Cover the pot and cook over low heat until the potatoes are tender, about 30 minutes. Garnish with chopped cilantro before serving."
],
"notes_ingredients": null,
"notes_instructions": null
}
```