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, 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": "Dinner Rolls\nMAKES 12 ROLLS\nor years I have been searching for the perfect dinner roll. I have found some great gluten-free and dairy-free options, but egg-free? That's a\nF challenge most gluten-free food vendors haven't yet stepped up to. This recipe has the perfect mix of flours to create a great-tasting dinner roll\nthat can be topped with Homemade Buttery Spread (page 37) or dipped in olive oil. These can be made as pull-apart rolls in a baking dish or\nstand-alone on a baking sheet.\n325 grams (page 23) Bread Flour Blend (about 2½ cups)\n60 grams (about ½ cup) superfine sweet rice flour\n34 grams (about 3 tablespoons) potato flour\n1 teaspoon xanthan gum\n2½ teaspoons quick-rising yeast\n1 tablespoon organic cane sugar\n3 teaspoons baking powder\n1 teaspoon salt\n¼ cup plus 2 tablespoons (90 ml) grapeseed oil\n2 Flaxseed Eggs (page 42)\n1 tablespoon apple cider vinegar\n1 cup (240 ml) plus 2 tablespoons warm water\n1. Grease a 7 by 9-inch (18 by 23 cm) baking dish (for pull-apart rolls) or line a large baking sheet with parchment paper (for individual rolls).\n2. Combine the flours, xanthan gum, yeast, sugar, baking powder, and salt a medium bowl.\n3. Blend the oil, flaxseed eggs, vinegar, and 1 cup (240 ml) of water together in a large bowl, using a mixer on medium speed, about 1 minute.\n4. Slowly add the dry ingredients to the wet ingredients and mix on medium-low speed until combined. Increase the speed to medium-high and beat\nfor 2 minutes. Add up to 2 tablespoons of water as needed, 1 tablespoon at a time, until the dough is thick and pliable.\n5. Divide the dough into 12 equal sections. Use damp hands to form each section into a ball and smooth the tops. Place them in the baking dish in 3\nrows of\nof 4 rolls each, with the sides touching (to make pull-apart rolls), or on the baking sheet with space in between (to make individual rolls).\n6. Let the rolls rise for 25 minutes in a warm, humid spot.\n7. Preheat the oven to 375°F (190°C). Allow the rolls to rise for another 5 to 10 minutes while the oven preheats.\n8. Bake for 24 to 25 minutes if using a baking dish or 19 to 20 minutes if using a baking sheet, until the internal temperature is 200°F to 205°F (93°C\nto 96°C).\nTO FREEZE\nRolls that you don't plan to use within 2 to 3 days can be frozen in an airtight container for up to 6 months. Thaw and reheat at 325°F (165°C) for\n8 to 10 minutes.\nTO SUBSTITUTE\nIf you are allergic to flaxseeds, substitute Chia Seed Eggs (page 42) or Ener-G Egg Replacer (see page 41) for the Flaxseed Eggs.\nE" - Assistant