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": "PEARS IN LACE\nMakes 5\nPreparation time: 1 hour 30 minutes\nCooking time: 45 minutes\nResting time: 3 hours\nFor the sweet dough\n½ cup (1% sticks/150 g) unsalted butter\n¾ cup (95 g) confectioners' sugar\n½ cup (30 g) ground almonds\n½ teaspoon (1 g) Guérande salt\n½ teaspoon (1 g) vanilla powder\n1 extra-large (58 g) egg (3% tablespoons)\n2 cups (250 g) all-purpose flour\nFor the almond cream\n½ cup (1% sticks/150 g) unsalted butter\ncup (150 g) superfine sugar\n1½ cups (150 g) ground almonds\n3 large (150 g) eggs (½ cup)\nFor the pastry cream\n1% cups plus 2 tablespoons\n(450\nwhole milk\n3% tablespoons (50 g) whipping cream\n2 vanilla beans, split and scraped\n½ cup plus 2 tablespoons (90 g) superfine sugar 1% tablespoons (25 g) custard powder\n3% tablespoons (25 g) all-purpose flour\n5% large (90 g) egg yolks (½ cup)\n2 tablespoons (30 g) cocoa butter\n4 sheets (½g powdered) gelatin 3% tablespoons (50 g) unsalted butter\n2 tablespoons (30 g) mascarpone cheese\nFor the poached pears\n2½ cups (500 g) superfine sugar\n1 vanilla bean, split and scraped\n5 Bartlett pears\nFor the caramelized almonds\n2½ cups (250 g) slivered almonds\n3% tablespoons (25 g) confectioners' sugar\nFor the sweet dough\nThe previous day, make a sweet dough following the directions on this\npage.\nUsing a pasta machine, roll to a thickness of 1/\nlightly buttered 3/4-inch (2-cm)-deep and 2%-inch (7-cm)-diameter molds.\nLet dry in the refrigerator for 1 hour.\nPreheat the oven to 320°F (160°C). Bake the sweet dough blind for 15 minutes.\nFor the almond cream\nMake an almond cream following the directions on this page.\nFor the pastry cream\nMake a pastry cream following the directions on this page.\ninch (2.5 mm) and line 16\nFor the poached pears\nIn a saucepan, heat 4 cups (1 liter) of water, the superfine sugar, and vanilla bean to make a syrup. Peel the pears without removing the stem,\nthen put them whole into the syrup and poach.\nFor the caramelized slivered almonds\nToast the slivered almonds at 330°F (165°C) for 10 minutes, then sprinkle with confectioners' sugar. Cook them for 2 to 3 minutes at 465°F (240°C)\nto caramelize.\nFor assembly and finishing\nPreheat the oven to 340°F (170°C). Add a layer of almond cream to the tartlet shells and bake in the oven for 15 minutes. Let cool, then garnish with\npastry cream on top of the almond cream layer.\nDrain the pears, then cut them to two-thirds of their height. Press the smallest part of the pear into the pastry cream, using the stem, then decorate\nthe edges of the tartlets with the caramelized slivered almonds.\nCH-\nCHEST\nCHESTNUT\nB\nCHEST B SKE S\nCHESTNUT BASKETS\nESTNUT BA\n- TNUT\nESTNUT\nESTNUT SKETS\nSKETS\nCHESTNUT BASKETS CH¯ TN\nCHESTNUT BASKETS C-STN BASKETS\nCHESTNUT BASKETS ES UT BASKETS\nCHESTNUT BA\nHESTNUT BASKETS\nCHESTNUT BA\nHESTNUT BASKETS\nCHESTNUT BA\nNUT BASKETS\nCHESTNUT\nBASKE S\nCHEST\nN\nBASK\nCHEST T\n2\nU\nB\nCHE TN T к-\nTNU\nKET\nCHET UT BA Kā\nC TNUT\nк-\nCH` IN B KET CHESTNUT B\n- NU\nCHESTNUT BA ¯TS\nT\nCHTNU\nC ESTNUT\nCHESTNUT BASKC\nTS CHESTNUT BASKETS" - Assistant