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). Sinon choisis la meilleure option parmis (bread, appetizer, starter, main, dessert, breakfast, snack, teatime, jam, sauce)
- 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": "Desserts\nPreparation 30 mins\nCooking 50 mins\nApple pie\nServes 4\nAD- The pastry can also be made... Make your sweet shortcrust pastry. Cut 125 g of butter into small\nin an electric mixer: put the butter pieces and leave to soften. Then sift 190 g of fine pastry flour\nin small pieces in the bowl and\nturn on slowly to soften it. Then\nadd, in this order, the egg yolks, the\ncaster sugar, the ground almonds\nand the flour sifted with the\nbaking powder.\nand 5 g baking powder onto your work surface or into a large bowl.\nAdd 90 g of finely ground almonds and 2.5 g of salt then mix\ntogether with your fingers. Make a well in the middle. Drop in\nPN- This pastry is not high in\nfat as it contains little butter.\nApples, with their happy combination\nof fibre, magnesium and vitamin C,\ndo you nothing but good.\n2 egg yolks, the softened butter, 100 g caster suger and combine\nwell until the pastry forms into a ball.\nFlatten the ball of pastry, wrap it in cling film and refrigerate\nfor at least 30 minutes.\nIn the meantime, peel 4 Granny Smith apples, cut them in half and\nremove the core and pips. Then cut each half into slices 2 to 3 mm\nthick and place them in a dish.\n... Squeeze the juice of 2 unwoxed lemons into a glass (don't throw\naway the skins), add 1 teaspoon of calvados, and pour it all over\nthe apples and stir gently so that they soak it up (otherwise they\nwill discolour). Leave to marinate for 1 hour.\n... Preheat your oven to 210 °C (gas mark 6). Butter and flour a\n24 cm diameter pie dish. Take the pastry out of the fridge. Cut\ntwo-thirds of it and roll out this piece into a 26 cm circle. Lay\nit in the bottom of the pie dish, pressing the edges down well.\nThen lay the apple slices, one by one, in a circle, beginning with\nthe outside of the pie and working towards the middle. Grate a\nlittle zest from 1 or 2 of the lemon skins on top. Sprinkle it all\nwith 40 g of caster sugar.\nThen roll out the other piece of pastry into a circle 24 cm in\ndiameter. Place it over the pie and pinch the two circles of pastry\ntogether round the edges to seal.\n... Gently pierce the top of the pie with a fork to release the steam\nduring cooking and bake in the oven for 45 minutes.\n...Take the pie out of the oven. Sprinkle with icing sugar and put it\nunder the grill for just 5 minutes to caramelise. Then allow the\npie to rest in its dish for about 15 minutes and serve warm.\n342 Desserts"