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": "Chocolate Raisin Granola Bars\nMAKES 16 BARS\nranola bars are known to many as a grab-and-go breakfast, but they also make a terrific anytime snack. Feel free to vary the add-ins (or leave\nG them out completely) to suit your taste and avoid allergens. Choose organic, unsweetened puffed rice cereal.\n2½ cups (216 g) gluten-free old-fashioned rolled oats\n1 cup (30 g) gluten-free puffed rice cereal\n2 tablespoons flaxseed meal\n¼ teaspoon salt\n½ teaspoon ground cinnamon\n5 tablespoons shortening (see page 7)\n½ cup (48 g) organic light brown sugar\n½ cup (80 ml) honey\n1 teaspoon Vanilla Extract (page 288)\n½ cup (80 g) raisins, optional\n½ cup (120 g) mini chocolate chips, optional\n1. Preheat the oven to 350°F (180°C). Line a large baking sheet with parchment paper.\n2. Spread the oats on the baking sheet and bake them for 5 minutes. Stir the oats, then bake them for 5 minutes longer (for a total of 10 minutes),\nuntil they are lightly golden and fragrant.\n3. While the oats are toasting, combine the puffed rice cereal, flaxseed meal, salt, and cinnamon in a large mixing bowl.\n4. In a small saucepan, melt the shortening, sugar, and honey together over low heat. Add the vanilla and stir until the mixture is smooth.\n5. After the oats are toasted, reduce the oven temperature to 325°F (165°C). Line a 9 by 12-inch (23 by 30 cm) baking dish with parchment paper.\nSpray a thin coat of oil on the parchment, using a mister.\n6. Add the toasted oats to the dry ingredients. Add the melted ingredients and stir until all of the oats are coated.\n7. Stir in the raisins (if desired) and chocolate chips (if desired). Note that some of the chocolate will melt.\n8. Spread the mixture into the prepared pan. Use the back of a spoon or a spatula to work it to the edges of the pan and pat it down. Bake for 18 to\n20 minutes.\n9. Let the granola cool for 10 minutes in the pan, then lift the granola (with the parchment paper) and transfer it to a cooling rack. Let it cool for at\nleast 2 hours before cutting it into bars. Store granola bars at room temperature in an airtight container for up to 1 week.\nTO FREEZE\nFreeze granola bars in an airtight container for up to 6 months. Thaw at room temperature."