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 children\nFor 8\nPreparation time: 30 min\nCooking time: 10 min\nResting time: 24h + 3h\nRaspberry Swiss roll\nThis is a great cake to make with children. First, they get to make a\nsponge, then bake and roll it up, learning as they go and then they get\nto taste the results with their fingers. And by changing the jam, you can\nchange the flavour.\nThe raspberry jam\n300 g/10 oz raspberries\n200 g/7 oz caster (superfine) sugar\nThe Swiss roll\n60 g/24 oz cornflour (cornstarch)\n60 g/24 oz plain (all-purpose) flour\n6 eggs, separated\n110 g/3½ oz caster (superfine) sugar\nFinishing off\nicing (confectioners') sugar\nraspberries\n1-The raspberry jam\nIn a large, non-metallic bowl, mix together the raspberries and sugar, then leave to\nrest somewhere cool for 24 hours. The next day, tip the mixture into a saucepan,\nbring to the boil and cook over a high heat (to preserve the colour of the fruit) for\n4-5 minutes, stirring all the time to prevent the jam catching. Remove from the heat\nand leave to cool, then chill in the fridge for at least 1 hour.\n2-The Swiss roll\nMix the cornflour and flour together, then sift into a bowl. Preheat the oven to\n200°C (400°F: gas mark 6). Whisk the egg whites in an electric mixer. When they\nstart to firm up, add the sugar little by little, whisking after each addition. Once the\negg whites are stiff, gently fold in the egg yolks and the sifted flours, being careful\nnot to knock too much air out of the mixture. Line a baking sheet with baking\nparchment, then spread the mixture evenly across it and bake for 5 minutes. Lift the\npaper and dough together off the baking tray and place on a work surface. Cover\nwith cling film to keep the sponge soft, then allow to cool before removing the cling\nfilm and carefully peeling off the baking parchment.\n3-Finishing off\nUsing the back of a spoon, spread the jam over the sponge as evenly as possible,\nwithout pressing too hard, then use your hands to gently roll it up. Chill in the fridge\nfor 2 hours, then sprinkle with icing sugar and decorate with fresh raspberries just\nbefore serving.\nTip The secret to keeping the sponge soft and easy to roll lies in the cooking. It needs to be\ncooked in a hot oven and not for too long or the dough dries out and becomes impossible to roll.\nIdeally, make the sponge a maximum of 1-2 hours before adding the jam, then it won't have\ntime to dry out.\n401" - Assistant