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": "CHOCOLATE TRIANON\nServes 10\nPreparation time: 1 hour 30 minutes\nCooking time: 25 minutes\nResting time: 1 hour plus 24 hours plus 4 hours\nFor the cookie dough\n¾ cup (1% sticks/160 g) unsalted butter\n1 cup packed (200 g) light brown sugar\n1½ ounces (40 g) piloncillo sugar\n3 tablespoons (40 g) superfine sugar\n1% large (75 g) eggs (½ cup)\n2½ cups plus 1 tablespoon (320 g) all-purpose flour\n2 teaspoons (8 g) fleur de sel\n1 teaspoon (3 g) baking soda\n¾ cup (100 g) hazelnuts, chopped\nFor the creamy chocolate\n1½ cups (330 g) whole milk\n1½ cups (330 g) whipping cream\n5 large (80 g) egg yolks (½ cup)\n2% tablespoons (30 g) superfine sugar\n7% ounces (220 g) Alain Ducasse\ncouverture chocolate, chopped\n1% tablespoons (20 g) pure cocoa paste from Peru\n5 sheets (16 g powdered) gelatin\nFor the hazelnut praline\n1½ cups (200 g) hazelnuts\n½ cup plus 1% tablespoons (80 g) superfine sugar 1 teaspoon (4 g) fleur de sel\n½ cup (70 g) cocoa butter 1½ cups (70 g) feuilletine flakes\nFor the hazelnut crunch\n1 cup (260 g) hazelnut praline\n2 cups (120 g) feuilletine flakes\n1 pinch fleur de sel\nFor the black mirror glaze\n10 sheets (32 g powdered) gelatin\n2 cups plus 2 tablespoons (410 g) superfine sugar\n1½ cups (140 g) unsweetened cocoa powder 1 cup plus 3 tablespoons (283 g) whipping cream\nFor finishing\n2 tablespoons (10 g) unsweetened cocoa powder\nFor the cookie dough\nIn the bowl of an electric stand mixer fitted with a flat beater attachment, cream the butter with the sugars. Add the eggs, then add the flour, fleur de\nsel, and baking soda. Finish by adding the chopped hazelnuts. Using a rolling pin, roll out the dough to a thickness of 1 inch (3 mm).\nFor the creamy chocolate\nMake a crème anglaise following the directions on this page. Emulsify the chocolate and pure cocoa paste. Blend the two mixtures together, then\nrefrigerate for 1 hour.\nFor the hazelnut praline\nMake a hazelnut praline following the directions on this page.\nFor the hazelnut crunch\nIn a bowl, mix the hazelnut praline, feuilletine, and fleur de sel together using a spatula.\nFor the black mirror glaze Soak the gelatin in cold water. In a saucepan, make a syrup with the\nsuperfine sugar and ¾ cup (150 g) of water and heat to 220°F (106°C). Add the cocoa powder and cream, previously heated. Let cool to 160°F\n(70°C), then add the drained gelatin. Use an immersion blender to blend, then strain through conical sieve. Refrigerate for 24 hours.\nFor assembly and finishing\nAssemble in a 6%-inch (16-cm)-diameter Pavonie pebble mold. Preheat the oven to 360°F (180°C). Cut a 6%-inch (16-cm)-diameter circle from the\ncookie dough and bake in the oven on a baking sheet lined with parchment paper for 25 minutes.\nOn the bottom of the mold, spread a layer of creamy chocolate to the edges. Prepare the insert by spreading a layer of hazelnut crunch on the\ncookie. Place it in the center of the mold and add a layer of creamy chocolate. Then, finally, smooth level with the top of the mold. Freeze for 4\nhours.\nUnmold the Trianon. Heat the glaze to 105°F (40°C) and pour it into a pitcher. Place the Trianon on a rack and pour the glaze over Dust\ngenerously with cocoa powder to create a crackling effect." - Assistant