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": "222 DESSERTS\nAUX LYONNAIS\nMARJOLAINE CAKE\nSERVES 4\nPREPARATION: 1 HOUR\nCOOKING: 25 MINUTES\nRESTING: 2 HOURS\nPRALINE CREAM\n80G 2.82 OUNCES (1/2 CUP)\nHAZELNUT PRALINE\n1 SHEET GELATIN\n35ML 2 TABLESPOONS PLUS\n1 TEASPOON LIGHT CREAM\n140G 4.94 OUNCES (3 CUPS)\nWHIPPED CREAM\nHAZELNUT DACQUOISE\n110G 3.88 OUNCES (1/3 CUP\nPLUS 2 TABLESPOONS) EGG WHITES\n(ABOUT 3 LARGE), RESERVE 2 YOLKS\nFOR CREME ANGLAISE\n45G\n1.59 OUNCES (3\nTABLESPOONS PLUS\n2 TEASPOONS) SUGAR\n110G\n3.88 OUNCES (1 1/4 CUPS\nPLUS 2 TEASPOONS) HAZELNUT MEAL\n(GROUND HAZELNUTS)\n10G\nFLOUR\n0.35 OUNCE (4 TEASPOONS)\n80G 2.82 OUNCES (2/3 CUP)\nCONFECTIONERS' SUGAR\nCREME ANGLAISE\n1/2 VANILLA BEAN\n125ML 1/2 CUP MILK\n20G 0.71 OUNCE\n(1 1/2 TABLESPOONS) SUGAR.\nGANACHE\n70ML 1/4 CUP PLUS 2 TEASPOONS\nMILK\n15G 0.53 OUNCE (1 TABLESPOON)\nCREAM\n90G 3.17 OUNCES DARK\nCHOCOLATE (70% CACAO)\n25G 0.88 OUNCE (1 3/4\nTABLESPOONS) BUTTER, SOFTENED\nMAKE THE\nPRALINE\nCREAM\nRemove the praline from the refrigerator 1 hour before use. Soak\nthe gelatin in cold water. Heat the cream in a saucepan. Add the\ndrained gelatin, then add the cream-gelatin to the praline and stir.\nTransfer the mixture to a bowl and gently incorporate the whipped\ncream; refrigerate.\nMAKE THE\nHAZELNUT\nDACQUOISE\nPreheat the oven to 165°C - 330°F (gas mark 3). Beat the egg whites\nwith one-third of the sugar. Then add the remaining sugar and beat\nthe egg whites to stiff peaks. Sift* (sieve) the hazelnut meal together\nwith the flour and confectioners' sugar, then fold the hazelnut-sugar\nmixture into the beaten egg whites. Fill a pastry (piping) bag with\nthe batter and pipe three 18cm- 7 inch-diameter disks on a sheet\nof parchment paper. Bake for 10 to 20 minutes.\nMAKE THE\nCREME ANGLAISE\nSplit the vanilla bean and scrape out the seeds. Add the bean and\nseeds to the milk and bring to a boil in a saucepan. Remove the\nvanilla bean. Use a whisk to mix the reserved 2 egg yolks with the\nsugar in a bowl, then whisk briskly until the mixture turns pale. Add\nthe boiling milk to the egg yolk-sugar mixture, stir, and transfer to\na saucepan. Cook until the mixture reaches 84°C -183°F. Remove\nthe pan from the heat and let cool.\nMAKE THE\nGANACHE\nCombine the milk and cream in a saucepan and bring to a boil. Break\nthe chocolate into pieces, place in a bowl, and pour the hot mixture\nover them while stirring with a spatula. The mixture should be runny.\nFINISHING\nPlace a dacquoise disk at the bottom of an 18cm- 7 inch-diameter\nring mold. Pour half of the praline cream over it. Lay another disk over\nthe cream, stir the butter into the ganache, and immediately pour\nthe ganache over it (it should still be runny). Place the last disk on\ntop and spread the remaining praline cream over the top. Refrigerate\nfor 2 hours before unmolding. Slide a knife around the inside of the\nmold before removing it. Cut the cake into equal portions and serve\non plates with crème anglaise to one side.\nTHE WINE\nA SWEET RED RHÔNE WINE,\nSUCH AS RASTEAU" - Assistant