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: 40 min\nCooking time: 20 min + 30 min\nPasteurizing time: 10 min\n2 carrots\nI onion\nI stalk celery\nI leek, white part only\nsplash of groundnut (peanut) oil\n20 g/4 oz butter\n500 g/1 lb 2 oz diced braising steak\n250 ml/9 fl oz red wine\n500 ml/18 fl oz chicken stock\n(see step-by-step method on p. 246)\n8 sprigs of thyme\n4 bay leaves\nI teaspoon black peppercorns\nI tablespoon tandoori spices\nfine salt, freshly ground pepper\nEquipment\n4 individual 'Le Parfait'\nor other sealable jars\nTandoori beef\nbourguignon\nTandoori combined with beef bourguignon is not the odd combination\nit might at first appear to be. The tandoori spices up the classic\nbourguignon, and when cooked in this way, it has a superb melting\ntexture. The secret is very simple - the meat is cooked twice in a\npressure cooker. This can be eaten up to two weeks after being cooked.\n1-The flavourings\nPeel and slice the carrots and onion. Wash the celery and leek, then dice them.\nPut all the vegetables to one side.\n2- The beef bourguignon\nHeat the oil and butter over a high heat in a pressure cooker. Add the diced beef and\nbrown all over, stirring now and again. Remove the meat from the pan and pour off\nmost of the fat, leaving just a little, then return the meat to the pan with the diced\nvegetables and red wine. Bring to the boil, then use a match to light the wine and\nflambé everything. When the flames die down, add the chicken stock, along with\nthe thyme, bay leaves and peppercorns. Following the manufacturer's instructions,\nbring the cooker up to pressure (on a 'vegetables' setting), then cook for 30 minutes.\nAt the end of the cooking time, remove from the heat and let the pressure drop\nslowly. Opening the cooker too soon may cause a sharp drop in pressure, which can\ndamage the texture of food. Once the pressure has dropped, open the cooker and,\nusing a slotted spoon, remove the meat and vegetables. Bring the cooking juices to\nthe boil and reduce for about 10 minutes, then add the tandoori spices and season\nwith salt and pepper if necessary.\n3-Finishing off\nDivide the meat and vegetables between the jars. Cover with the hot reduced\nsauce, then close and seal. Put the jars in the basket of the pressure cooker, then\npour some water into the bottom of the cooker and bring to the boil. Follow the\nmanufacturer's instructions for bringing the cooker up to pressure, then cook for\n10 minutes. At the end of the cooking time, remove from the heat and let the\npressure drop slowly. Open the pressure cooker, remove the jars and leave to cool.\nStore in the fridge until needed.\nTip When the jars are cold, check that the vacuum seal is secure. To do this you just need\nto remove the metal closures; the rubber seal should still hold the lid in place.\nHomemade\n361"
    

    }

  2. Assistant
    {
        "NbPersons": 4,
        "Language": "en",
        "Category": "main",
        "Title": "Tandoori beef bourguignon",
        "Subtitle": "Tandoori combined with beef bourguignon is not the odd combination it might at first appear to be.",
        "Preparation_Time": 40,
        "Cooking_Time": 60,
        "Difficulty": "medium",
        "Ingredients": [
            {
                "section": "Pour la recette",
                "ingredients": [
                    "2 carrots",
                    "I onion",
                    "I stalk celery",
                    "I leek, white part only",
                    "splash of groundnut (peanut) oil",
                    "20 g/4 oz butter",
                    "500 g/1 lb 2 oz diced braising steak",
                    "250 ml/9 fl oz red wine",
                    "500 ml/18 fl oz chicken stock",
                    "8 sprigs of thyme",
                    "4 bay leaves",
                    "I teaspoon black peppercorns",
                    "I tablespoon tandoori spices",
                    "fine salt, freshly ground pepper"
                ]
            }
        ],
        "Description": "Tandoori combined with beef bourguignon is not the odd combination it might at first appear to be. The tandoori spices up the classic bourguignon, and when cooked in this way, it has a superb melting texture. The secret is very simple - the meat is cooked twice in a pressure cooker. This can be eaten up to two weeks after being cooked.",
        "Instructions": [
            "1-The flavourings Peel and slice the carrots and onion. Wash the celery and leek, then dice them. Put all the vegetables to one side.",
            "2- The beef bourguignon Heat the oil and butter over a high heat in a pressure cooker. Add the diced beef and brown all over, stirring now and again. Remove the meat from the pan and pour off most of the fat, leaving just a little, then return the meat to the pan with the diced vegetables and red wine. Bring to the boil, then use a match to light the wine and flambé everything. When the flames die down, add the chicken stock, along with the thyme, bay leaves and peppercorns. Following the manufacturer's instructions, bring the cooker up to pressure (on a 'vegetables' setting), then cook for 30 minutes. At the end of the cooking time, remove from the heat and let the pressure drop slowly. Opening the cooker too soon may cause a sharp drop in pressure, which can damage the texture of food. Once the pressure has dropped, open the cooker and, using a slotted spoon, remove the meat and vegetables. Bring the cooking juices to the boil and reduce for about 10 minutes, then add the tandoori spices and season with salt and pepper if necessary.",
            "3-Finishing off Divide the meat and vegetables between the jars. Cover with the hot reduced sauce, then close and seal. Put the jars in the basket of the pressure cooker, then pour some water into the bottom of the cooker and bring to the boil. Follow the manufacturer's instructions for bringing the cooker up to pressure, then cook for 10 minutes. At the end of the cooking time, remove from the heat and let the pressure drop slowly. Open the pressure cooker, remove the jars and leave to cool. Store in the fridge until needed.",
            "Tip When the jars are cold, check that the vacuum seal is secure. To do this you just need to remove the metal closures; the rubber seal should still hold the lid in place."
        ],
        "AuthorName": "Homemade",
        "Notes_Ingredients": "",
        "Notes_Instructions": ""
    }