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": "THE BEVERAGE\nAGED MARTINIQUE RHUM AGRICOLE\nRUM SAVARIN\nwith Lightly Whipped Chantilly Cream\nDESSERTS 233\nMAKE THE\nSAVARIN\nDOUGH\nALLARD\nPreheat the oven to 165°C - 330°F (gas mark 3). Put the flour, yeast,\nhoney, salt, and butter into a stand mixer fitted with the paddle\nattachment. Start the mixer, then add the eggs, one at a time, to\nmake a smooth, glossy, and elastic dough. When the dough comes\naway from the sides of the bowl, stop mixing, transfer the dough to\na tray lightly greased with oil, and rest for 20 minutes.\nGrease the savarin mold with butter and add the dough. Let the\ndough rise in a warm place for 2 hours. Bake for 40 minutes, until\nthe cake turns golden. If necessary, turn the mold around halfway\nthrough baking to produce a uniform coloring. Unmold the savarin\nand transfer to a rack to cool.\nMAKE THE SYRUP\nIn a stockpot, bring 1 liter - 4 1/4 cups water to a boil with the\nsugar, then add the zests and vanilla beans and boil for 2 minutes.\nSet aside*.\nMAKE THE CHANTILLY CREAM\nCombine the cream, vanilla bean seeds, and sugar in a stand mixer\nand start to whip* gently with the whisk attachment, gradually increas-\ning the speed. The cream should be lightly whipped and still runny.\nMAKE THE APRICOT\nGLAZE\nHeat the apricot pulp in a saucepan. When it reaches 40°C - 104°F,\nvery gradually sprinkle in the sugar mixed with pectin. Briskly whisk\nand cook for 2-3 minutes, then let cool.\nFINISHING\nHeat the syrup and remove the pan from the heat when the tempera-\nture reaches 50°C - 120°F. Dip the savarin into the syrup, bottom\nfirst, and let sit for 15 minutes. Turn it over and let sit for another\n10 minutes. Use a skimmer to drain the savarin, being careful not\nto break it, then transfer to a rack. Wait for a few minutes, and then\nbrush it with the apricot glaze. Carefully place the savarin on a plate.\nServe the Chantilly cream in a sauceboat.\nSERVES 8\nPREPARATION: 3 HOURS\nCOOKING: 40 MINUTES\nRESTING: 2 HOURS 55 MINUTES\nSAVARIN DOUGH\n172G 6.07 OUNCES (1 1/3 CUPS\nPLUS 2 TEASPOONS) FLOUR\n7G 0.25 OUNCE\n(2 1/4 TEASPOONS) YEAST\n7G 0.25 OUNCE\n(1 1/2 TEASPOONS) HONEY\n2G 0.07 OUNCE (1/3 TEASPOON)\nSALT\n60G 2.12 OUNCES\n(4 TABLESPOONS) BUTTER, PLUS MORE\nFOR GREASING MOLD\n215G 7.58 OUNCES (3/4 CUP\nPLUS 2 TABLESPOONS) EGGS\n(ABOUT 4 LARGE)\nOIL FOR GREASING\nSYRUP\n450G 1 POUND (2 1/4 CUPS)\nSUGAR\nZEST OF 1 LEMON\nZEST OF 1 ORANGE\n2 VANILLA BEANS\nCHANTILLY CREAM\n500ML 2 CUPS LIGHT CREAM\n1/2 VANILLA BEAN\n50G 1.76 OUNCES (1/4 CUP)\nSUGAR\nAPRICOT GLAZE\n200G 7 OUNCES (3/4 CUP)\nAPRICOT PULP\n100G 3.53 OUNCES (1/2 CUP)\nSUGAR\n3G 0.11 OUNCE PECTIN NH" - Assistant