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: 15 min\nFreezing time: 1 h\nCooking time: 20 min\nTuna tartlet\nwith sauce vierge\nServed on a sunny summer's day, this is a complete delight: tempting,\nrefreshing and simply delicious. The combination of tuna, sauce vierge\nand puff pastry works very well. Choose some beautiful red tuna for this -\nsuper-fresh, of course!\nThe tuna and the pastry\n100 g/3½ oz puff pastry\n400 g/14 oz fresh red tuna from\nthe Mediterranean\nThe tomato concassé\n5 vine tomatoes.\nI onion\nolive oil\nI garlic clove\nsprig of thyme\nI small bay leaf\nfine salt, freshly ground pepper\nThe sauce vierge\n20 g/4 oz fresh broad (fava) beans\n3 Roma tomatoes\n20 g/4 oz Taggiasche black olives\n4 sprigs of basil\n3 shallots\n100 ml/3½ fl oz olive oil\njuice of 1 lemon\nfine salt, freshly ground pepper\nFinishing off\n2 teaspoons black olive tapenade\n½ teaspoon Espelette chilli powder\na few leaves of basil\nolive oil\n40 g/1½ oz Parmesan shavings\nGuérande salt\n1-The tartlet\nRoll the puff pastry out thinly. Cut out four 12 cm x 10 cm/4 in x 4 in rectangles.\nBake them between two sheets of baking parchment, sandwiched between two\nbaking trays, in an oven preheated to 190°C (375°F: gas mark 5) for 10-12 minutes.\nLeave to cool at room temperature.\n2-The tuna\nWrap the tuna in cling film and put it in the freezer for about an hour. As soon as it\nstarts to freeze and solidify a little (but before it gets too hard), remove it from the\nfreezer, slice thinly and keep to one side.\n3-The tomato concassé\nPeel and deseed the tomatoes. Trim and finely slice the onion, then soften it in a little\nolive oil, without letting it colour, along with the garlic clove, thyme and bay leaf.\nAdd the tomatoes, then leave to cook and reduce until the liquid has all evaporated.\nCheck the seasoning. (See step-by-step method on p. 50.)\n4-The sauce vierge\nCook the broad beans in boiling, salted water for 30 seconds then remove their skins\nand any sprouts. Peel, deseed and dice the tomatoes (see step-by-step method on\np. 22). Quarter the olives lengthways. Chop the basil and the shallots. Mix the broad\nbeans, diced tomato, olives, basil and shallots with the olive oil and a splash of lemon\njuice, then check the seasoning.\n5-Finishing off\nWarm the pastry rectangles in the oven, then spread first with tapenade, followed\nby a layer of tomato concassé, then a layer of tuna. Sprinkle on the Espelette chilli\npowder, Guérande salt and basil leaves, then drizzle with olive oil. Grill for a few\nseconds, then scatter over the Parmesan shavings and finish with the sauce vierge.\nEntertaining\n21"
    

    }

  2. Assistant
    {
        "NbPersons": 4,
        "Language": "en",
        "Category": "starter",
        "Title": "Tuna tartlet",
        "Subtitle": "with sauce vierge",
        "Preparation_Time": 15,
        "Cooking_Time": 20,
        "Difficulty": "medium",
        "Ingredients": [
            {
                "section": "The tuna and the pastry",
                "ingredients": [
                    "100 g/3½ oz puff pastry",
                    "400 g/14 oz fresh red tuna from the Mediterranean"
                ]
            },
            {
                "section": "The tomato concassé",
                "ingredients": [
                    "5 vine tomatoes",
                    "1 onion",
                    "olive oil",
                    "1 garlic clove",
                    "sprig of thyme",
                    "1 small bay leaf",
                    "fine salt",
                    "freshly ground pepper"
                ]
            },
            {
                "section": "The sauce vierge",
                "ingredients": [
                    "20 g/4 oz fresh broad (fava) beans",
                    "3 Roma tomatoes",
                    "20 g/4 oz Taggiasche black olives",
                    "4 sprigs of basil",
                    "3 shallots",
                    "100 ml/3½ fl oz olive oil",
                    "juice of 1 lemon",
                    "fine salt",
                    "freshly ground pepper"
                ]
            },
            {
                "section": "Finishing off",
                "ingredients": [
                    "2 teaspoons black olive tapenade",
                    "½ teaspoon Espelette chilli powder",
                    "a few leaves of basil",
                    "olive oil",
                    "40 g/1½ oz Parmesan shavings",
                    "Guérande salt"
                ]
            }
        ],
        "Description": "Served on a sunny summer's day, this is a complete delight: tempting, refreshing and simply delicious. The combination of tuna, sauce vierge and puff pastry works very well. Choose some beautiful red tuna for this - super-fresh, of course!",
        "Instructions": [
            "1-The tartlet\nRoll the puff pastry out thinly. Cut out four 12 cm x 10 cm/4 in x 4 in rectangles. Bake them between two sheets of baking parchment, sandwiched between two baking trays, in an oven preheated to 190°C (375°F: gas mark 5) for 10-12 minutes. Leave to cool at room temperature.",
            "2-The tuna\nWrap the tuna in cling film and put it in the freezer for about an hour. As soon as it starts to freeze and solidify a little (but before it gets too hard), remove it from the freezer, slice thinly and keep to one side.",
            "3-The tomato concassé\nPeel and deseed the tomatoes. Trim and finely slice the onion, then soften it in a little olive oil, without letting it colour, along with the garlic clove, thyme and bay leaf. Add the tomatoes, then leave to cook and reduce until the liquid has all evaporated. Check the seasoning. (See step-by-step method on p. 50.)",
            "4-The sauce vierge\nCook the broad beans in boiling, salted water for 30 seconds then remove their skins and any sprouts. Peel, deseed and dice the tomatoes (see step-by-step method on p. 22). Quarter the olives lengthways. Chop the basil and the shallots. Mix the broad beans, diced tomato, olives, basil and shallots with the olive oil and a splash of lemon juice, then check the seasoning.",
            "5-Finishing off\nWarm the pastry rectangles in the oven, then spread first with tapenade, followed by a layer of tomato concassé, then a layer of tuna. Sprinkle on the Espelette chilli powder, Guérande salt and basil leaves, then drizzle with olive oil. Grill for a few seconds, then scatter over the Parmesan shavings and finish with the sauce vierge."
        ],
        "AuthorName": "",
        "Notes_Ingredients": "",
        "Notes_Instructions": ""
    }