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": "VANILLA-CARAMEL SAINT-\nHONORÉ\nServes 10\nPreparation time: 3 hours\nCooking time: 40 minutes\nResting time: 4 hours plus 1 hour\nFor the puff pastry dough\n- Kneaded butter (beurre manié)\n1½ cups (10 ounces/280 unsalted dry butter\n(84% fat content)\ncup plus 3 tablespoons\n(110 g) pastry flour\n- Water dough (détrempe)\n1½ teaspoons (10 g) salt\n% teaspoon (2 g) distilled white vinegar\n½ cup (% stick/80 g) unsalted butter, softened 2 cups plus 1 tablespoons (250 g) pastry flour\nFor the pastry cream\n1¾ cups plus 2 tablespoons\n(450\nwhole milk\n3% tablespoons (50 g) whipping cream 2 vanilla beans\n5% large (90 g) egg yolks (% cup)\n½ cup plus 2 tablespoons (90 g) superfine sugar 1% tablespoons (25 g) custard powder\n3% tablespoons (25 g) all-purpose flour\n2 tablespoons (30 g) cocoa butter\n5 sheets (16 g powdered) gelatin\n3% tablespoons (50 g) unsalted butter 2 tablespoons (30 g) mascarpone cheese\nFor the choux paste\n½ cup (150 g) whole milk\n1% tablespoons (18 g) trimoline (inverted sugar)\n1 teaspoon (6 g) salt\n½ cup plus 1% tablespoons (1 stick plus 1% tablespoons/132 g) unsalted butter 1½ cups plus 2 tablespoons\n(180 g) all-purpose flour\n5 large (250 g) eggs (1 cup)\nFor the caramel\n2½ cups (500 g) superfine sugar\n3% ounces (100 g) dry nougat\n¼ cup (50 g) glucose powder\nFor the vanilla whipped cream\n2 cups (500 g) plus 1%\ntablespoons whipping cream\n½ cup plus 1% tablespoons (100 g) mascarpone cheese 1 tablespoons (17.5 g) superfine sugar\n2% vanilla beans\nFor the puff pastry dough\nMake a puff pastry dough following the directions on this page, using ½ cup plus 1½ tablespoons (100 g) of water for the détrempe. Using a rolling\npin, roll out the détrempe to a thickness of 116 inch (2 mm).\nFor the pastry cream\nMake a pastry cream following the directions on this page.\nFor the choux paste\nMake a choux paste following the directions on this page using %\ncup (150 g) of water. Transfer to a pastry bag fitted with a no. 6 tip.\nFor the caramel In a bowl, mix the superfine sugar and dry nougat. Then pour into a saucepan, add ¾ cup plus 1 tablespoons (200 g) of water\nand the glucose, and cook until it turns into a dark caramel. Spear the choux puffs with a small knife, then dip three-quarters of each of them into the\nhot caramel. Set aside on a rack.\nFor the vanilla whipped cream\nIn a mixing bowl, add the whipping cream, mascarpone, superfine sugar, and vanilla bean seeds, and use an immersion blender to mix.\nFor assembly and finishing\nCut out a 6¼-inch (16-cm)-diameter circle of the puff pastry. Pipe the pastry cream in the center, then balls of the whipped cream on top. Add the\ncaramelized choux puffs on top." - Assistant