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.
code1. 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, mocktail). Sinon choisis la meilleure option parmis (bread, appetizer, starter, main, dessert, breakfast, snack, teatime, jam, sauce, icecream) - 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": "Brownie Bites\nMAKE 8 24 BITES\nf I had my way all chocolate would be just that-luscious, dark, without too much sugar and especially without milk and nuts. My version of the\ntraditional brownie takes on an easy bite-sized form that emphasizes the chocolate. Brownie Bites are ideal for an afternoon pick-me-up or simple\ndessert. If your daughter forgot to tell you about the birthday celebration at school tomorrow, top them with Vanilla Frosting (page 294) to make a\nstand-in for cupcakes.\n64 grams (about ½ cup) Basic Flour Blend (page 23)\n40 grams (about 1/4 cup) buckwheat flour\n¼ teaspoon xanthan gum\n¼ cup (26 g) natural unsweetened cocoa powder\n½ teaspoon baking powder\n¼ teaspoon salt\n½ cup plus 1 tablespoon (87 g) organic cane sugar\n¼ cup plus 2 tablespoons (90 g) Applesauce (page 45)\n¼ cup (60 ml) chocolate Hemp Milk (see pages 31 and 33) or non-dairy chocolate milk of choice\n1 teaspoon Vanilla Extract (page 288)\n¼ to ½ cup (60 to 120 g) mini chocolate chips\n¼ cup (60 ml) grapeseed oil\n1. Preheat the oven to 350°F (180°C). Grease the cups of a mini-muffin pan.\n2. Combine the flours, xanthan gum, cocoa powder, baking powder, salt, and sugar in a bowl.\n3. In a large bowl, combine the applesauce, chocolate milk, and vanilla using a mixer on medium speed for about 1 minute.\n4. Melt ¼ cup (60 g) of chocolate chips together with the oil in a microwave for 20 to 30 seconds. Stir the mixture together completely, ensuring that\nall of the chocolate is melted.\n5. Add the chocolate mixture to the wet ingredients and blend on medium speed for about 2 minutes.\n6. Add the dry ingredients and blend on medium-high speed until smooth, about 2 minutes. The batter will be thick.\n7. Stir in an additional 1/4 cup (60 g) of chocolate chips, if desired, by hand.\n8. Spoon the batter into the cups of the prepared mini-muffin pan, no more than three-quarters full.\n9. Bake for 14 to 15 minutes, until a toothpick inserted comes out clean. Allow the brownie bites to cool for 10 to 15 minutes in the pan before\ntransferring them to a cooling rack. Store them in an airtight container at room temperature for 3 to 4 days.\nTO FREEZE\nFreeze Brownie Bites in an airtight container for up to 6 months. Thaw them at room temperature before serving.\nA NOTE ABOUT PAPER LINERS\nI don't recommend paper liners when baking with gluten-free grains, as they have a tendency to hold in moisture. Instead, bake directly in the\nmuffin pan and add the paper cups, if desired, after cooling."}
- Assistantjson
{ "NbPersons": 8, "Language": "en", "Category": "dessert", "Title": "Brownie Bites", "Subtitle": "MAKE 8 24 BITES", "Preparation_Time": 15, "Cooking_Time": 15, "Difficulty": "easy", "Ingredients": [ { "section": "Pour la recette", "ingredients": [ "64 grams (about ½ cup) Basic Flour Blend (page 23)", "40 grams (about 1/4 cup) buckwheat flour", "¼ teaspoon xanthan gum", "¼ cup (26 g) natural unsweetened cocoa powder", "½ teaspoon baking powder", "¼ teaspoon salt", "½ cup plus 1 tablespoon (87 g) organic cane sugar", "¼ cup plus 2 tablespoons (90 g) Applesauce (page 45)", "¼ cup (60 ml) chocolate Hemp Milk (see pages 31 and 33) or non-dairy chocolate milk of choice", "1 teaspoon Vanilla Extract (page 288)", "¼ to ½ cup (60 to 120 g) mini chocolate chips", "¼ cup (60 ml) grapeseed oil" ] } ], "Description": "If I had my way all chocolate would be just that-luscious, dark, without too much sugar and especially without milk and nuts. My version of the traditional brownie takes on an easy bite-sized form that emphasizes the chocolate. Brownie Bites are ideal for an afternoon pick-me-up or simple dessert. If your daughter forgot to tell you about the birthday celebration at school tomorrow, top them with Vanilla Frosting (page 294) to make a stand-in for cupcakes.", "Instructions": [ "Preheat the oven to 350°F (180°C). Grease the cups of a mini-muffin pan.", "Combine the flours, xanthan gum, cocoa powder, baking powder, salt, and sugar in a bowl.", "In a large bowl, combine the applesauce, chocolate milk, and vanilla using a mixer on medium speed for about 1 minute.", "Melt ¼ cup (60 g) of chocolate chips together with the oil in a microwave for 20 to 30 seconds. Stir the mixture together completely, ensuring that all of the chocolate is melted.", "Add the chocolate mixture to the wet ingredients and blend on medium speed for about 2 minutes.", "Add the dry ingredients and blend on medium-high speed until smooth, about 2 minutes. The batter will be thick.", "Stir in an additional 1/4 cup (60 g) of chocolate chips, if desired, by hand.", "Spoon the batter into the cups of the prepared mini-muffin pan, no more than three-quarters full.", "Bake for 14 to 15 minutes, until a toothpick inserted comes out clean. Allow the brownie bites to cool for 10 to 15 minutes in the pan before transferring them to a cooling rack. Store them in an airtight container at room temperature for 3 to 4 days.", "Freeze Brownie Bites in an airtight container for up to 6 months. Thaw them at room temperature before serving." ], "AuthorName": "", "Notes_Ingredients": "1 teaspoon Vanilla Extract (page 288), alternative non-dairy chocolate milk.", "Notes_Instructions": "I don't recommend paper liners when baking with gluten-free grains, as they have a tendency to hold in moisture. Instead, bake directly in the muffin pan and add the paper cups, if desired, after cooling." }