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": "For 4\nPreparation time: 45 min\nCooking time: 40 min\nChilling time: 2 h\n(pannacotta) +1h (crumble)\nThe raspberry confit\n250 g/8½ oz raspberries\n20 g/4 oz caster (superfine) sugar\n1 vanilla pod (bean).\nThe almond pannacotta\n6 g/o.2 oz gelatine leaves\n50 g/14 oz marzipan\n600 ml/20 fl oz double (heavy) cream\n50 g/14 oz caster (superfine) sugar\nThe crumble\nIIO g/34 oz salted butter\n50 g/14 oz brown sugar\n150 g/5½ oz plain (all-purpose) flour\n2 g/0.07 oz baking powder\n25 g/1 oz cornflour (cornstarch)\nEquipment\n4 small glasses\nAlmond pannacotta\nwith raspberry confit\nand crumble\nThis is the sort of pudding you dream of. The play of texture, colour and\nflavour is something else: it is creamy yet fresh, the sharpness of the fruit\ncuts through the cream, and it works with lots of different fruits. The\npannacotta can be varied as much as you like; I serve it in little glasses for\nbreakfast in my Valence hotel. It is a perfect treat for when you're feeling\na bit down, but is also good for celebrations!\n1-The raspberry confit\nPut 200 g/7 oz of the raspberries in a saucepan with the sugar and the half vanilla pod\nand cook over a gentle heat for 20-30 minutes until lightly caramelized. Remove the\nvanilla, then blend in the saucepan with a stick blender and leave to cool completely.\nCut the remaining raspberries in half, stir into the confit and leave to one side.\n2- The almond pannacotta\nSoak the gelatine in iced water to soften it. Blend the marzipan with 500 ml/18 fl oz.\nof the cream and the sugar. Strain through a fine sieve and then, in a small saucepan,\nbring a quarter of it to a simmer. Remove from the heat and stir in the drained and\nsqueezed-out gelatine, followed by the rest of the marzipan mixture. Mix together\nwell, then leave to cool. Meanwhile, whip the remaining cream, then fold this into\nthe marzipan mixture. Pour into 4 small glasses and leave to set for at least 2 hours\nin the fridge.\n3-The crumble\nPut all the crumble ingredients into the bowl of an electric mixer and mix until\na dough forms. Put the dough into the fridge for 1 hour to firm. Meanwhile, preheat\nthe oven to 180°C (350°F: gas mark 4). Using a grater, grate coarse pieces of the\ndough onto a baking sheet, then bake for 8-10 minutes. Remove from the oven and\nleave to cool before roughly chopping the crumble.\n4-Serving\nWhen ready to serve, spoon some raspberry confit on top of each pannacotta, scatter\nover the crumble and then eat immediately.\nVariation Try making this recipe with apricots or, later in the summer, with really ripe figs.\nHomemade\n343" - Assistant