1. Identification et extraction des informations demandées.
2. Calcul des temps de préparation et de cuisson si non précisés.
3. Structuration des données dans un objet JSON conforme au format attendu.
4. Respect strict de la langue d'origine et du texte des instructions.
5. Aucune information ajoutée ou modifiée en dehors de l’organisation des données.
Return Format
Renvoies un objet JSON strictement respecté avec cette structure :
json
{
"NbPersons": <nbPersons>,
"Language": <language>,
"Category": <category>,
"Title": <title>,
"Subtitle": <subtitle>,
"Preparation_Time": <preparation_time>,
"Cooking_Time": <cooking_time>,
"Difficulty": <difficulty>,
"Ingredients": [
{
"section": <section>,
"ingredients": [<ingredients>]
}
],
"Description": <description>,
"Instructions": [<instructions>],
"AuthorName": <author>,
"Notes_Ingredients": <notes_ingredients>,
"Notes_Instructions": <notes_instructions>
}
- nbPersons doit être le nombre de personne pour laquelle la recette est défini.
- language doit être le code ISO 639 de la langue de la recette
- category doit être "drinks" si c'est du liquide parmis cette liste (thé, café, jus de fruit, cocktail, mocktail). Sinon choisis la meilleure option parmis (bread, appetizer, starter, main, dessert, breakfast, snack, teatime, jam, sauce, icecream)
- title doit être le nom de la recette
- subtitle doit être un complément du nom de la recette.
- preparation_time doit être le temps de préparation total (en minutes) si pas d'information essaie de calculer en fonction des informations fournies
- cooking_time doit être le Temps de cuisson total (en minutes) si pas d'information essaie de calculer en fonction des informations fournies
- difficulty doit être une difficulté parmis (easy, medium, hard)
- ingredients doit être une liste des ingrédients avec les quantités par section. Exemple: {section: "Pour la sauce", ingredients: ["1 kg de beurre"]}. Si absence d'information pour la section, tu mettras "Pour la recette".
- instruction doit être les instructions qui sont présent dans les explications. Précises bien en détails ce qui est écris pour les instructions. Fais attention à respecter l'ordre des instructions. C'est une liste de string.
- description doit être une présentation qui donne envie de faire la recette.
- notes_ingredients doit être les détails importants qui sont précisé concernant les ingrédients (ingrédient facultatif, remplacement d'un ingrédient par un autre ingrédient...)
- notes_instructions doit être les détails important qui sont précisé concernant les étapes pour faire la recette (actuces, conseils...)
Warnings
- Ne modifie aucun texte d'origine (titre, description, ingrédients, instructions).
- Ne traduis pas la langue de la recette, elle doit être identifiée et conservée.
- Les instructions doivent être strictement identiques à l'original, sans reformulation.
- Si une information est absente, laisse le champ vide, sans ajout d’invention.
- Les quantités d’ingrédients doivent rester sous forme de liste de chaînes de caractères.
- Respecte le format JSON exact et assure-toi qu’il soit bien formatté.
Context Dump
Texte source fourni :
{
"explication": "Apple Butter\nMAKES 2 CUPS (560 G)\nUse 2 half-pint (8-ounce/240 ml) jars if canning\nused to think I could find apple butter only at general stores in the quaint towns of New England, but I no longer have to wait for a trip to the\nmountains to enjoy it. This recipe starts with Applesauce (page 45), builds flavor with sweeteners and spices, and creates spreadable fruit butter\nby reducing the liquid. The simmering takes time, but your home will smell wonderful, and I think you'll find it's worth the effort.\n2¾ cups (660 g) Applesauce (page 45)\n¾ cup (180 ml) honey\n1 teaspoon Vanilla Extract (page 288)\n1 teaspoon ground cinnamon\n¼ teaspoon ground cloves\n1 tablespoon fresh lemon juice\n1. Combine all of the ingredients together in a medium non-reactive saucepan.\n2. Bring to a low boil over medium heat, stirring frequently.\n3. Turn the heat to low and simmer for approximately 1½ hours, until the mixture is thickened and medium brown in color. Stir every 15 to 20\nminutes.\n4. If you are canning, start boiling the jars and follow the Steps for Canning on page 74.\n5. Continue simmering the apple butter for another 25 to 30 minutes; it is complete when it doesn't fall off of a spoon.\n6. If you are canning, fill the jars, leaving 1/4 inch (6.5 mm) of headspace, and process them in a water bath for 10 minutes. Otherwise, let the butter\ncool completely before refrigerating or freezing in airtight containers. Refrigerate for up to 3 weeks or freeze for up to a year; thaw in the\nrefrigerator before using.\nTO SUBSTITUTE\nMaple syrup may be substituted for honey.\nApple Butter (page 79), shown with English Muffins (page 131)\nMaking Jam\nWhether or not you are canning, these are the steps to follow to make jam:\n1. Mix the fruit and sugar together in a non-reactive pan and let it sit. The juices from the fruit will be drawn out, the fruit will soften (preparing\nit for cooking), and the sugar will liquefy. This step can be done up to a day in advance; if you choose to do it ahead, refrigerate the fruit\nwith the sugar in an airtight container.\n2. Boil the jam (usually over medium-high heat) until it is thickened. Depending on how much fruit you use, the size of the pan, and how much\nsugar you use, the timing for this step will vary. Don't be afraid to adjust the timing as needed.\n3. Add ingredients, following the recipe. As the jam thickens you will need to stir more frequently. The jam is done when it reaches 220°F\n(105°C; the temperature at which jam sets), it sheets off of a spoon, or a spoon drawn through the pan leaves a trail or wake for just a\nsecond (see rightmost image above). The last method works best if you are using a pan with a large surface area.\nIf you live at high altitude your jam will set at slightly lower temperatures; subtract 2°F (or 1.1°C) for each 100 feet (or 30 m) you live above\nsea level.\nFreezing is the simplest way of preserving jam; freezing temperatures stop the growth of bacteria. Once the jam is prepared, let it cool, then\ntransfer it to airtight storage containers; leave ½ inch (13 mm) of headspace. Jam can be frozen for up to a year or refrigerated for up to 3\nmonths."
{
"NbPersons": 2,
"Language": "en",
"Category": "jam",
"Title": "Apple Butter",
"Subtitle": "Makes 2 cups (560 g)",
"Preparation_Time": 90,
"Cooking_Time": 60,
"Difficulty": "easy",
"Ingredients": [
{
"section": "Pour la recette",
"ingredients": [
"2¾ cups (660 g) Applesauce (page 45)",
"¾ cup (180 ml) honey",
"1 teaspoon Vanilla Extract (page 288)",
"1 teaspoon ground cinnamon",
"¼ teaspoon ground cloves",
"1 tablespoon fresh lemon juice"
]
}
],
"Description": "Use to think I could find apple butter only at general stores in the quaint towns of New England, but I no longer have to wait for a trip to the mountains to enjoy it. This recipe starts with Applesauce (page 45), builds flavor with sweeteners and spices, and creates spreadable fruit butter by reducing the liquid. The simmering takes time, but your home will smell wonderful, and I think you'll find it's worth the effort.",
"Instructions": [
"Combine all of the ingredients together in a medium non-reactive saucepan.",
"Bring to a low boil over medium heat, stirring frequently.",
"Turn the heat to low and simmer for approximately 1½ hours, until the mixture is thickened and medium brown in color. Stir every 15 to 20 minutes.",
"If you are canning, start boiling the jars and follow the Steps for Canning on page 74.",
"Continue simmering the apple butter for another 25 to 30 minutes; it is complete when it doesn't fall off of a spoon.",
"If you are canning, fill the jars, leaving 1/4 inch (6.5 mm) of headspace, and process them in a water bath for 10 minutes. Otherwise, let the butter cool completely before refrigerating or freezing in airtight containers. Refrigerate for up to 3 weeks or freeze for up to a year; thaw in the refrigerator before using."
],
"AuthorName": "",
"Notes_Ingredients": "Maple syrup may be substituted for honey.",
"Notes_Instructions": "If you live at high altitude your jam will set at slightly lower temperatures; subtract 2°F (or 1.1°C) for each 100 feet (or 30 m) you live above sea level."
}