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": "LADYFINGER\n6 large (100 g) egg yolks\n(%½ cup plus 1 tablespoons)\n¾ cup plus 1% tablespoons\n(164 g) superfine sugar (1)\n6 large (200 g) egg whites\n(%4 cup plus 1 tablespoon)\ncup plus 1% tablespoons\n(164 g) all-purpose flour\nSuperfine sugar (2)\nConfectioners' sugar\nIn the bowl of an electric stand mixer, add the eggs, flour, butter, and sugar and blend.\nIn the bowl of an electric stand mixer fitted with a whisk, whip the egg yolks with half of the superfine sugar (1). Then, whip the egg whites with the\nother half. Using a silicone spatula, gently fold the mixture with the flour.\nIn the bowl of an electric stand mixer fitted with a dough hook, add the yeast, flour, salt, butter, and honey. Knead on the second speed setting,\ngradually adding the eggs and then the milk. Knead until the dough comes completely away from the sides of the bowl.\nPreheat the oven to 350°F (180°C). On a baking sheet, spread the batter to a\nthickness of 116 inch (2 mm), sprinkle with superfine sugar (2) and confectioners' sugar, and bake in the oven for 10 minutes.\n-\nCRUMB DOUGH\n1/2 cup (1 stick/110 g) unsalted butter\n½ cup (75 g) superfine sugar\n¾ cup plus 1% tablespoons (110 g) cake flour\nIn the bowl of an electric stand mixer fitted with a flat beater attachment, cream the butter with the superfine sugar. Add the flour. Sift the crumbs.\nFreeze for 30 minutes.\nCHOUX PASTE\ncup (150 g) whole milk\n1 tablespoons (18 g) trimoline (inverted sugar)\n1 teaspoon (6 g) salt\n½ cup plus 1% tablespoons (1 stick\nplus 1 tablespoons/132 g) unsalted butter\n1½ cups plus 2 tablespoons\n(180 g) all-purpose flour\n5 large (250 g) eggs (1 cup)\nSWEET DOUGH\n½ cup (1% sticks/150 g) unsalted butter\ncup (95 g) confectioners' sugar\n½ cup (30 g) ground almonds\n½ teaspoon (1 g) Guérande salt\n½ teaspoon (1 g) vanilla powder\n1 large (50 g) egg (3½ tablespoons)\n2 cups (250 g) all-purpose flour\nIn a saucepan, boil the milk with ¾ cup (150 g) of water, the trimoline, salt, and butter. Remove from the heat and add the flour immediately. Return\nto the heat and, using a spatula, mix briskly to dry out the mixture. Transfer to an electric stand mixer fitted with a flat beater attachment, then\ngradually add the eggs. Let rest for 1 hour at room temperature.\nIn an electric stand mixer fitted with a flat beater attachment, mix the butter, confectioners' sugar, ground almonds, Guérande salt, and vanilla\npowder. Emulsify with the egg, then add the flour. Stir until the dough is smooth. Refrigerate for 4 hours." - Assistant