Skip to content
TheChatArchiveThe Chat Archive
gpt-4o-mini-2024-07-18· OpenAIAi2 WildChat-4.8M (AI2)

Goal Objectif est d'extraire et structurer les informations d'une recette de cuisine…

  1. 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": "Powdered Doughnut Holes\nMAKES 24 DOUGHNUT HOLES\nhis is the solution for an early-morning status meeting or an allergen-free classroom treat. These muffins have that classic old-fashioned\nI doughnut taste and are easily made in less than 30 minutes using a mini-muffin pan or doughnut hole pan.\n288 grams (about 24 cups) Basic Flour Blend (page 23)\n½ teaspoon xanthan gum\n3 teaspoons baking powder\n½ teaspoon salt\n4 tablespoons shortening (see page 7), softened\n½ cup (110 g) organic cane sugar\n1 Flaxseed Egg (page 42)\n¼ cup (60 ml) Hemp Milk (page 31) or non-dairy milk of choice\n½ cup (120 g) Applesauce (page 45)\n2 tablespoons grapeseed oil\n1 teaspoon Vanilla Extract (page 288)\n½ cup (72 g) Powdered Sugar (page 286)\n1. Preheat the oven to 350°F (180°C). Grease the cups of a mini-muffin pan or doughnut hole pan.\n2. Combine the flour, xanthan gum, baking powder, and salt in a medium bowl.\n3. In a separate large bowl, cream together the shortening and sugar using a mixer on medium speed for 5 minutes. Scrape down the sides of the\nmixing bowl, as needed.\n4. Add the flaxseed egg and blend on medium speed for 1 minute. Add the milk, applesauce, oil, and vanilla, and blend for another minute.\n5. Add the dry ingredients and mix on medium speed for 2 to 3 minutes, until well blended. The batter will be thick with some graininess.\n6. Use a #40 cookie scoop or spoon to form balls of dough in tablespoon-sized portions. Dampen your hands with warm water and gently pass the\ndough from hand to hand until the ball is smooth. Place each ball of dough into the prepared pan. Dip the cookie scoop or spoon into warm water\nperiodically, if the dough starts to stick.\n7. Bake for 14 to 16 minutes, until a toothpick inserted comes out clean.\n8. Let the doughnut holes cool for 5 minutes in the pan, then transfer them to a cooling rack.\n9. Just prior to serving, roll the doughnut holes in the powdered sugar to coat them on all sides or sprinkle the powdered sugar on just the tops.\nStore (without the powdered sugar topping) in an airtight container at room temperature for 2 to 3 days.\nVARIATION\nTo make Cinnamon Sugar Doughnut Holes, sprinkle the tops of the doughnut holes with 3 tablespoons Cinnamon Sugar (page 286) prior to\nbaking. Omit the powdered sugar.\nTO FREEZE\nFreeze unpowdered doughnut holes for up to 6 months in an airtight container. Thaw at room temperature. Reheat at 325°F (165°C) for 7\nminutes and then add powdered sugar, if desired."
    

    }

  2. Assistant
    {
        "NbPersons": 24,
        "Language": "en",
        "Category": "dessert",
        "Title": "Powdered Doughnut Holes",
        "Subtitle": "This is the solution for an early-morning status meeting or an allergen-free classroom treat.",
        "Preparation_Time": 30,
        "Cooking_Time": 16,
        "Difficulty": "medium",
        "Ingredients": [
            {
                "section": "Pour la recette",
                "ingredients": [
                    "288 grams (about 24 cups) Basic Flour Blend (page 23)",
                    "½ teaspoon xanthan gum",
                    "3 teaspoons baking powder",
                    "½ teaspoon salt",
                    "4 tablespoons shortening (see page 7), softened",
                    "½ cup (110 g) organic cane sugar",
                    "1 Flaxseed Egg (page 42)",
                    "¼ cup (60 ml) Hemp Milk (page 31) or non-dairy milk of choice",
                    "½ cup (120 g) Applesauce (page 45)",
                    "2 tablespoons grapeseed oil",
                    "1 teaspoon Vanilla Extract (page 288)",
                    "½ cup (72 g) Powdered Sugar (page 286)"
                ]
            }
        ],
        "Description": "These muffins have that classic old-fashioned doughnut taste and are easily made in less than 30 minutes using a mini-muffin pan or doughnut hole pan.",
        "Instructions": [
            "Preheat the oven to 350°F (180°C). Grease the cups of a mini-muffin pan or doughnut hole pan.",
            "Combine the flour, xanthan gum, baking powder, and salt in a medium bowl.",
            "In a separate large bowl, cream together the shortening and sugar using a mixer on medium speed for 5 minutes. Scrape down the sides of the mixing bowl, as needed.",
            "Add the flaxseed egg and blend on medium speed for 1 minute. Add the milk, applesauce, oil, and vanilla, and blend for another minute.",
            "Add the dry ingredients and mix on medium speed for 2 to 3 minutes, until well blended. The batter will be thick with some graininess.",
            "Use a #40 cookie scoop or spoon to form balls of dough in tablespoon-sized portions. Dampen your hands with warm water and gently pass the dough from hand to hand until the ball is smooth. Place each ball of dough into the prepared pan. Dip the cookie scoop or spoon into warm water periodically, if the dough starts to stick.",
            "Bake for 14 to 16 minutes, until a toothpick inserted comes out clean.",
            "Let the doughnut holes cool for 5 minutes in the pan, then transfer them to a cooling rack.",
            "Just prior to serving, roll the doughnut holes in the powdered sugar to coat them on all sides or sprinkle the powdered sugar on just the tops.",
            "Store (without the powdered sugar topping) in an airtight container at room temperature for 2 to 3 days."
        ],
        "AuthorName": "",
        "Notes_Ingredients": "To make Cinnamon Sugar Doughnut Holes, sprinkle the tops of the doughnut holes with 3 tablespoons Cinnamon Sugar (page 286) prior to baking. Omit the powdered sugar.",
        "Notes_Instructions": "Freeze unpowdered doughnut holes for up to 6 months in an airtight container. Thaw at room temperature. Reheat at 325°F (165°C) for 7 minutes and then add powdered sugar, if desired."
    }