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": "Chocolate Chewy Rolls\nMAKE & ABOUT 24 CANDIES\nometimes a safe lollipop just doesn't do the trick. That's where these chocolate candies that replace the traditional Tootsie Roll come in. They are\nS a wonderful trade for Halloween candies, or to hide in an Easter egg. As a bonus, this no-bake treat is fun to make with the kids.\n¼ cup plus 2 tablespoons (39 g) natural unsweetened cocoa powder\n¼ cup (36 g) Powdered Sugar (page 286)\n1/4 cups (190 g) powdered rice milk\n½ cup (120 ml) honey\n1 tablespoon shortening (see page 7), melted\n1 teaspoon Vanilla Extract (page 288)\n1. Combine the cocoa, powdered sugar, and ½ cup (76 g) of powdered rice milk in a medium bowl. Mix the ingredients together well and set it aside.\nThis will be a very powdery mixture.\n2. In a large bowl, blend together the honey, shortening, and vanilla using a mixer on medium speed for about 1 minute.\n3. Add the dry ingredients, one third at a time, and blend on low speed until completely combined, about 5 minutes. Add up to 4 cup (38 g) more\npowdered rice milk, if needed, until a thick candy dough ball forms.\n4. Spread 2 tablespoons of rice milk on a smooth prep surface. Place the candy dough ball on top.\n5. Work the remaining powdered milk into the candy ball with your hands, a little bit at a time by flattening the ball, adding powdered rice milk,\nmassaging it into the dough with your hands, and rolling it into a ball. Repeat this process until you have used all of the rice milk or you can no\nlonger manipulate the ball with your hands.\n6. Flatten the candy ball into a 12-inch (13 mm) thick rectangle. Let it rest for 20 to 30 minutes.\n7. Use a sharp nonstick knife to cut the candies into desired size pieces. Roll them in any remaining powdered rice milk.\n8. Cut twenty-four 3-inch (7.5 cm) squares of wax paper. Wrap the candies individually in the papers and store them at room temperature for up to 2\nmonths."
    

    }

  2. Assistant
    {
        "NbPersons": 24,
        "Language": "en",
        "Category": "dessert",
        "Title": "Chocolate Chewy Rolls",
        "Subtitle": "A delicious alternative to traditional Tootsie Rolls",
        "Preparation_Time": 30,
        "Cooking_Time": 0,
        "Difficulty": "easy",
        "Ingredients": [
            {
                "section": "Pour la recette",
                "ingredients": [
                    "¼ cup plus 2 tablespoons (39 g) natural unsweetened cocoa powder",
                    "¼ cup (36 g) Powdered Sugar",
                    "1/4 cups (190 g) powdered rice milk",
                    "½ cup (120 ml) honey",
                    "1 tablespoon shortening, melted",
                    "1 teaspoon Vanilla Extract"
                ]
            }
        ],
        "Description": "Sometimes a safe lollipop just doesn't do the trick. That's where these chocolate candies that replace the traditional Tootsie Roll come in. They are a wonderful trade for Halloween candies, or to hide in an Easter egg. As a bonus, this no-bake treat is fun to make with the kids.",
        "Instructions": [
            "1. Combine the cocoa, powdered sugar, and ½ cup (76 g) of powdered rice milk in a medium bowl. Mix the ingredients together well and set it aside. This will be a very powdery mixture.",
            "2. In a large bowl, blend together the honey, shortening, and vanilla using a mixer on medium speed for about 1 minute.",
            "3. Add the dry ingredients, one third at a time, and blend on low speed until completely combined, about 5 minutes. Add up to 4 cup (38 g) more powdered rice milk, if needed, until a thick candy dough ball forms.",
            "4. Spread 2 tablespoons of rice milk on a smooth prep surface. Place the candy dough ball on top.",
            "5. Work the remaining powdered milk into the candy ball with your hands, a little bit at a time by flattening the ball, adding powdered rice milk, massaging it into the dough with your hands, and rolling it into a ball. Repeat this process until you have used all of the rice milk or you can no longer manipulate the ball with your hands.",
            "6. Flatten the candy ball into a 12-inch (13 mm) thick rectangle. Let it rest for 20 to 30 minutes.",
            "7. Use a sharp nonstick knife to cut the candies into desired size pieces. Roll them in any remaining powdered rice milk.",
            "8. Cut twenty-four 3-inch (7.5 cm) squares of wax paper. Wrap the candies individually in the papers and store them at room temperature for up to 2 months."
        ],
        "AuthorName": "",
        "Notes_Ingredients": "",
        "Notes_Instructions": ""
    }