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": "Applesauce\nMAKES 3 PINTS (6 cups/1440 g)\nUse three 1-pint (16-ounce/480 ml) jars if canning\naking applesauce at home isn't much harder than boiling water. In the fall, when apples are plentiful, make\nMlarge batches of applesauce and save it for use throughout the year. Store applesauce in the freezer in\nairtight, freezer-safe containers, or preserve it using a water bath. Applesauce can be used to replace eggs\nin recipes; use 1/4 cup to replace one egg.\nYou may choose to substitute store-bought unsweetened applesauce when a recipe calls for applesauce; be\nsure to check the ingredients label.\n10 medium apples (any kind), peeled, cored, and diced\nAbout 6 cups (1440 ml) water\n3 tablespoons fresh lemon juice (if canning)\n1. Place the apples in a large pot and add just enough water to cover them. Bring it to a boil, uncovered, over\nmedium-high heat.\n2. If you are canning, start boiling the jars and follow the Steps for Canning on page 74.\n3. Boil the apples for 10 to 15 minutes, until they are fork-tender. Take care not to let them get too mushy. Drain\nthe water from the apples.\n4. Place the apples in a food processor or blender and puree them until they are smooth.\n5. If you are canning, add 1 tablespoon of lemon juice to each pint jar before adding the applesauce, leaving %\ninch (13 mm) of headspace (the amount of open space from the top of the filled jar to the lid), and process\nthem in a water bath for 20 minutes (see page 74). Otherwise, let the applesauce cool completely before\nrefrigerating or freezing in airtight containers. Refrigerate for up to 2 weeks. Freeze for up to six months; thaw\nin the refrigerator before using.\nHow To\nSUBSTITUTE EGGS\nAs a general rule 1 flaxseed egg, 1 chia seed egg, 1/4 cup of applesauce (or another fruit puree), or 1 Ener-\nG egg (or other egg replacer, prepared according to package directions) can be substituted for each other;\nhowever, each of these ingredients behaves differently. Although making substitutions in recipes is\npossible, if you substitute you may achieve different results.\nIf you have a recipe that was developed to use traditional eggs and you need to choose a replacement:\nChoose flaxseed eggs, chia seed eggs, or applesauce for muffins, quick breads, cakes, and cookies.\nChoose flaxseed eggs, chia seed eggs, or Ener-G Egg Replacer for breads and pastry. Substitute in the\namounts noted above.\nIf you are using a recipe in this book that calls for flaxseed eggs and you are allergic to flaxseeds: Replace\nthe flaxseed eggs with chia seed eggs (unless you are allergic to chia seeds). Otherwise, choose\napplesauce (or another puree) when the recipe uses the Basic Flour Blend, and choose Ener-G Egg\nReplacer when the recipe uses the Bread or the Pastry Flour Blends. Exception: If a recipe uses flaxseed\neggs as an emulsifying agent (e.g., Flaxseed Mayonnaise, page 99), the only substitutes that are viable are\nchia seed eggs or traditional eggs (if you are not allergic to them).\nIf you are not allergic to eggs and would like to use traditional eggs instead of the egg replacers in the\nrecipes in this book: Use one egg for each flaxseed egg, Ener-G egg, or 4 cup of applesauce (when it is\nbeing used to replace eggs) that the recipe calls for. An important caution about eggs: While most allergies\nare to egg whites (the portion of the egg that contains the protein), it is impossible to completely separate\nthe egg yolk from the egg white without risk of contamination. You must avoid both egg yolks and egg\nwhites if you are allergic to eggs."
{
"NbPersons": 6,
"Language": "en",
"Category": "dessert",
"Title": "Applesauce",
"Subtitle": "A delicious homemade treat",
"Preparation_Time": 15,
"Cooking_Time": 25,
"Difficulty": "easy",
"Ingredients": [
{
"section": "Pour la recette",
"ingredients": [
"10 medium apples (any kind), peeled, cored, and diced",
"About 6 cups (1440 ml) water",
"3 tablespoons fresh lemon juice (if canning)"
]
}
],
"Description": "Making applesauce at home isn't much harder than boiling water. In the fall, when apples are plentiful, make large batches of applesauce and save it for use throughout the year.",
"Instructions": [
"1. Place the apples in a large pot and add just enough water to cover them. Bring it to a boil, uncovered, over medium-high heat.",
"2. If you are canning, start boiling the jars and follow the Steps for Canning on page 74.",
"3. Boil the apples for 10 to 15 minutes, until they are fork-tender. Take care not to let them get too mushy. Drain the water from the apples.",
"4. Place the apples in a food processor or blender and puree them until they are smooth.",
"5. If you are canning, add 1 tablespoon of lemon juice to each pint jar before adding the applesauce, leaving 1/2 inch (13 mm) of headspace (the amount of open space from the top of the filled jar to the lid), and process them in a water bath for 20 minutes (see page 74). Otherwise, let the applesauce cool completely before refrigerating or freezing in airtight containers. Refrigerate for up to 2 weeks. Freeze for up to six months; thaw in the refrigerator before using."
],
"AuthorName": "",
"Notes_Ingredients": "You may choose to substitute store-bought unsweetened applesauce when a recipe calls for applesauce; be sure to check the ingredients label.",
"Notes_Instructions": "As a general rule 1 flaxseed egg, 1 chia seed egg, 1/4 cup of applesauce (or another fruit puree), or 1 Ener-G egg (or other egg replacer, prepared according to package directions) can be substituted for each other; however, each of these ingredients behaves differently."
}