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": "Pancakes\nMAKES 12 TO 16 PANCAKES\ny family's choice of breakfast on special occasions, holidays, and the occasional lazy Sunday is pancakes. Serve them plain with pure maple\nM syrup, add your favorite in-season fruit to the batter, or top them with Raspberry Maple Syrup (opposite page). Freeze them in pairs in airtight\nbags and you have the solution for a quick midweek breakfast.\n3 tablespoons grapeseed oil plus more for pan\n1 Flaxseed Egg (page 42)\n1% to 2 cups (420 to 480 ml) Hemp Milk (page 31) or non-dairy milk of choice\n1 teaspoon Vanilla Extract (page 288)\n300 grams (about 2¼ cups) Pancake and Baking Mix (page 24)\n1. Whisk together 3 tablespoons of oil, flaxseed egg, 1¾ cups (420 ml) of milk, and vanilla.\n2. Whisk in the Pancake and Baking Mix. Add up to 1/4 cup (60 ml) more milk until the desired consistency is reached.\n3. Heat a small amount of oil in a skillet over medium-high heat.\n4. Spoon the pancake batter, in portions, into the skillet. Flip the pancakes when you can see small holes forming in the tops of the pancakes. Cook\nfor 1 to 2 minutes longer, until lightly browned.\n5. Repeat step 4 with additional batter. Add more oil to the pan as needed to avoid sticking.\nTO FREEZE\nCooked pancakes can be frozen in airtight containers for up to 3 months. Thaw in the refrigerator and reheat in the oven or toaster oven at 325°F\n(165°C) for 10 minutes.\nTO SUBSTITUTE\nIf you need to replace the flaxseed egg in pancakes, use Ener-G Egg Replacer (see page 41).\nA NOTE ABOUT WAFFLES\nI don't recommend making egg-free waffles, as the batter will stick mercilessly to most waffle irons."
{
"NbPersons": 12,
"Language": "en",
"Category": "breakfast",
"Title": "Pancakes",
"Subtitle": "my family's choice of breakfast on special occasions, holidays, and the occasional lazy Sunday",
"Preparation_Time": 10,
"Cooking_Time": 10,
"Difficulty": "easy",
"Ingredients": [
{
"section": "Pour la recette",
"ingredients": [
"3 tablespoons grapeseed oil plus more for pan",
"1 Flaxseed Egg (page 42)",
"1% to 2 cups (420 to 480 ml) Hemp Milk (page 31) or non-dairy milk of choice",
"1 teaspoon Vanilla Extract (page 288)",
"300 grams (about 2¼ cups) Pancake and Baking Mix (page 24)"
]
}
],
"Description": "my family's choice of breakfast on special occasions, holidays, and the occasional lazy Sunday is pancakes. Serve them plain with pure maple syrup, add your favorite in-season fruit to the batter, or top them with Raspberry Maple Syrup (opposite page). Freeze them in pairs in airtight bags and you have the solution for a quick midweek breakfast.",
"Instructions": [
"1. Whisk together 3 tablespoons of oil, flaxseed egg, 1¾ cups (420 ml) of milk, and vanilla.",
"2. Whisk in the Pancake and Baking Mix. Add up to 1/4 cup (60 ml) more milk until the desired consistency is reached.",
"3. Heat a small amount of oil in a skillet over medium-high heat.",
"4. Spoon the pancake batter, in portions, into the skillet. Flip the pancakes when you can see small holes forming in the tops of the pancakes. Cook for 1 to 2 minutes longer, until lightly browned.",
"5. Repeat step 4 with additional batter. Add more oil to the pan as needed to avoid sticking."
],
"AuthorName": "",
"Notes_Ingredients": "If you need to replace the flaxseed egg in pancakes, use Ener-G Egg Replacer (see page 41).",
"Notes_Instructions": "Cooked pancakes can be frozen in airtight containers for up to 3 months. Thaw in the refrigerator and reheat in the oven or toaster oven at 325°F (165°C) for 10 minutes."
}