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). 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": "For 4\nPreparation time: 1h\nSoaking time 20 min\nCooking time: 18 min\nMussel risotto\nDo your children eat rice without really enjoying it? Well, try making\nthem this soft, creamy risotto. Packed with slowly digested carbohydrates\nand the protective benefits of turmeric, it's a complete dish that will give\na child all the energy they need. Making a risotto with vegetable stock\nmeans it can be used as a base for lots of other variations. Here I use just\nmussels, but you could also add cockles or clams.\nThe risotto\n1/2 onion\n2 knobs of butter\n200 g/7 oz Arborio rice.\n100 ml/3½ fl oz white wine\n500 ml/18 fl oz vegetable stock\n(see step-by-step method on p. 126)\nI teaspoon ground turmeric\nfine salt\nThe shellfish\n400 g/14 oz mussels\nI shallot\nsplash of olive oil\n40 ml/1½ fl oz dry white wine\nI bay leaf\nsprig of thyme\n100 ml/3½ fl oz double (heavy) cream\nFinishing off\n60 g/21/4 oz grated Parmesan\n250 ml/9 fl oz double (heavy) cream\nI tablespoon finely chopped parsley\n1-The risotto\nFinely chop the onion. Melt the butter in a saucepan over a low heat, then add\nthe chopped onion and cook for 2-3 minutes, stirring constantly, without letting it\ncolour. Add the rice and cook for another 2-3 minutes, stirring all the time. Pour\nin the white wine and bring to the boil, then reduce until nearly all of the wine has\nevaporated. Add enough vegetable stock to just cover the rice and leave to cook over\na gentle heat. As soon as the stock has been absorbed, add more, ladleful by ladleful,\nstirring often. The whole process should take about 18 minutes. Finally, stir in the\nturmeric and season the risotto with a little salt. Remove from the heat, cover and\nput to one side.\n2-The mussels\nWhile the risotto is cooking, soak the mussels in cold water for 20 minutes to purge\nthem of any grit or sand, then drain in a sieve or colander. Peel and finely chop the\nshallot. Heat the olive oil in a large lidded saucepan over a low heat. Add the shallot\nand cook for about a minute, stirring all the time. Add the mussels, white wine, bay\nand thyme, then cover and cook for 2-3 minutes, or until the mussels have opened.\nTake off the heat and leave to cool, then shell most of the mussels (save a few in their\nshells for garnish), reserving the cooking liquid. Strain the mussel-cooking liquid\nthrough a muslin (cheesecloth)-lined sieve into a saucepan, then bring to the boil\nand reduce to almost nothing. Add the cream, bring to the boil and reduce again,\nthis time by half. Add the shelled mussels, then take off the heat and stir to coat the\nmussels in the sauce.\n3- Finishing off\nWhip the cream until stiff, then carefully stir it into the risotto with the Parmesan\nand the mussels in their sauce. Divide between 4 bowls and decorate with a couple\nof mussels in their shells and the finely chopped parsley.\nTip | Arborio is a short-grain rice that is rich in starch, making it perfect for risotto. It is easy to\nfind in supermarkets and delicatessens. If you want to get a head start, you can prepare the risotto\nand mussels in advance, which means the dish takes very little time to finish off and you can still\nkeep an eye on the children!\nFor children\n389"
    

    }

  2. Assistant
    {
        "NbPersons": 4,
        "Language": "en",
        "Category": "main",
        "Title": "Mussel risotto",
        "Subtitle": "",
        "Preparation_Time": 20,
        "Cooking_Time": 18,
        "Difficulty": "medium",
        "Ingredients": [
            {
                "section": "The risotto",
                "ingredients": [
                    "1/2 onion",
                    "2 knobs of butter",
                    "200 g/7 oz Arborio rice",
                    "100 ml/3½ fl oz white wine",
                    "500 ml/18 fl oz vegetable stock",
                    "1 teaspoon ground turmeric",
                    "fine salt"
                ]
            },
            {
                "section": "The shellfish",
                "ingredients": [
                    "400 g/14 oz mussels",
                    "1 shallot",
                    "splash of olive oil",
                    "40 ml/1½ fl oz dry white wine",
                    "1 bay leaf",
                    "sprig of thyme",
                    "100 ml/3½ fl oz double (heavy) cream"
                ]
            },
            {
                "section": "Finishing off",
                "ingredients": [
                    "60 g/21/4 oz grated Parmesan",
                    "250 ml/9 fl oz double (heavy) cream",
                    "1 tablespoon finely chopped parsley"
                ]
            }
        ],
        "Description": "Do your children eat rice without really enjoying it? Well, try making them this soft, creamy risotto. Packed with slowly digested carbohydrates and the protective benefits of turmeric, it's a complete dish that will give a child all the energy they need. Making a risotto with vegetable stock means it can be used as a base for lots of other variations. Here I use just mussels, but you could also add cockles or clams.",
        "Instructions": [
            "1-The risotto",
            "Finely chop the onion. Melt the butter in a saucepan over a low heat, then add the chopped onion and cook for 2-3 minutes, stirring constantly, without letting it colour. Add the rice and cook for another 2-3 minutes, stirring all the time. Pour in the white wine and bring to the boil, then reduce until nearly all of the wine has evaporated. Add enough vegetable stock to just cover the rice and leave to cook over a gentle heat. As soon as the stock has been absorbed, add more, ladleful by ladleful, stirring often. The whole process should take about 18 minutes. Finally, stir in the turmeric and season the risotto with a little salt. Remove from the heat, cover and put to one side.",
            "2-The mussels",
            "While the risotto is cooking, soak the mussels in cold water for 20 minutes to purge them of any grit or sand, then drain in a sieve or colander. Peel and finely chop the shallot. Heat the olive oil in a large lidded saucepan over a low heat. Add the shallot and cook for about a minute, stirring all the time. Add the mussels, white wine, bay and thyme, then cover and cook for 2-3 minutes, or until the mussels have opened. Take off the heat and leave to cool, then shell most of the mussels (save a few in their shells for garnish), reserving the cooking liquid. Strain the mussel-cooking liquid through a muslin (cheesecloth)-lined sieve into a saucepan, then bring to the boil and reduce to almost nothing. Add the cream, bring to the boil and reduce again, this time by half. Add the shelled mussels, then take off the heat and stir to coat the mussels in the sauce.",
            "3- Finishing off",
            "Whip the cream until stiff, then carefully stir it into the risotto with the Parmesan and the mussels in their sauce. Divide between 4 bowls and decorate with a couple of mussels in their shells and the finely chopped parsley."
        ],
        "AuthorName": "",
        "Notes_Ingredients": "Arborio is a short-grain rice that is rich in starch, making it perfect for risotto. It is easy to find in supermarkets and delicatessens.",
        "Notes_Instructions": "If you want to get a head start, you can prepare the risotto and mussels in advance, which means the dish takes very little time to finish off and you can still keep an eye on the children!"
    }