gpt-4o-mini-2024-07-18· OpenAI
WildChat-4.8M (AI2)
Goal Objectif est d'extraire et structurer les informations d'une recette de cuisine…
- User
Goal Objectif est d'extraire et structurer les informations d'une recette de cuisine sous forme d'un objet JSON sans jamais modifier le texte d'origine.
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": "Classics\nFor 6\nPreparation time: 25 min\nCooking time: about 90 min\nResting time: 30 min\nThe puff pastry\n200 g/7 oz puff pastry\n(see step-by-step method on p. 236)\nThe caramelized apples\nwith tonka bean\n80 g/3 oz butter\n1 kg/24 lb apples\njuice of 1 lemon\n100 g/3½ oz caster (superfine) sugar\nI tonka bean\nEquipment\n22 cm/8½ in diameter tatin tin\nor flameproof pie dish\nTarte tatin\nwith tonka bean\nI have updated the Tatin sisters' legacy by making this tart with a tonka\nbean, which makes the flavour bigger and warmer. The success of a\ntarte tatin lies in cooking the apples really slowly until they are properly\ncaramelized, to bring out their flavour, and using a light, fine puff pastry.\n1-The puff pastry\nFollow the method on p. 236 for making puff pastry.\n2-The caramelized apples with tonka bean\nMelt the butter in the tatin tin over a medium heat, then remove from the heat while.\nyou prepare the apples. Peel, halve, core and de-pip the apples, then sit the apple\nhalves snugly in the tatin tin, without leaving any gaps. Sprinkle the lemon juice\nover the apple, followed by the sugar. Grate the tonka bean and sprinkle it over the\ntop too, making sure it is distributed as evenly as possible. Put the tin over a gentle\nheat and cook for about 50 minutes-1 hour, turning it regularly to ensure that the\napples caramelize evenly all over. Remove from the heat. (See step-by-step method\non p. 234.)\n3-Cooking and finishing off\nPreheat the oven to 200°C (400°F; gas mark 6). While the oven heats up, roll\nout the puff pastry to a circle big enough to cover the tatin tin. When the apples\nare caramelized, cover them completely with the puff pastry, then bake for\n15-20 minutes. The tatin is ready when the pastry is a light golden colour, no darker.\nLeave to cool for about 30 minutes. To unmould the tatin easily, heat the base of the\ntin for a couple of moments to soften the caramel. Place a plate over the pastry and,\nholding it firmly, carefully invert the pan, so that the tatin is apple-side up on the\nplate. Serve immediately.\nVariation If you can't find a tonka bean, use a little cinnamon.\n233" - Assistant