gpt-4o-mini-2024-07-18· OpenAI WildChat-4.8M (AI2)
Goal Objectif est d'extraire et structurer les informations d'une recette de cuisine…
- 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: 1 h\nChilling time: overnight\nCooking time: 1 h\nLamb confit and mint\ntortellini with crushed\nlemon courgettes\nMaking this filled pasta is very simple, but you need to do it carefully.\nThe secret to its success lies in getting the texture of the meat filling just\nright, and balancing its richness with fresh herbs and lemon.\nThe pasta dough\n500 g/1 lb 2 oz plain (all purpose)\nor 'oo' flour\n2 whole eggs + 4 egg yolks\nfine salt\nThe lamb confit\nI onion\nknob of butter\nsplash of olive oil\n½ boned shoulder of lamb\n(about 600 g/1 lb 5 oz)\n500 ml/18 fl oz vegetable stock\n(see step-by-step method on p. 126)\nsprig of thyme\nsprig of bay leaves\nI garlic clove\nsprig of mint\nfine salt, freshly ground pepper\nThe crushed lemon courgettes\n2 large courgettes (zucchini)\nsplash of olive oil\n100 ml/32 fl oz vegetable stock\n(see step-by-step method on p. 126)\nzest of 1 unwaxed lemon\npinch of fine salt\nCooking the tortellini\n50 ml/1% fl oz hot vegetable stock\n(see step-by-step method on p. 126)\n50 g/14 oz butter\na few mint leaves\nEquipment\nfood processor\n8 cm/34 in round pastry cutter\n1- The pasta dough\nFollow the recipe for ravioli dough on p. 346 (step 1).\n2 The lamb confit\nPeel and finely chop the onion. Heat the butter and olive oil in a pressure cooker over\na medium heat. Add the chopped onion and cook for 2-3 minutes without letting it colour,\nstirring all the time. Season the shoulder of lamb with salt and pepper. Increase the heat to\nhigh, add the lamb to the onion and brown it all over. Add the vegetable stock, thyme, bay\nand peeled garlic clove. Follow the manufacturer's instructions for bringing the cooker up\nto pressure, then cook for 40 minutes. At the end of the cooking time, remove from the\nheat and let the pressure drop slowly. Remove the meat from the cooker, then strain the\ncooking juices through a fine sieve. Shred the meat with a fork and place in a large bowl.\nAdd a little of the cooking juices and the finely chopped mint and mix well. Season with\nsalt and pepper if necessary, then set aside somewhere cool.\n3-The crushed lemon courgettes\nCut the courgettes in half lengthways, and then into quarters. Finely slice the\nquarters, then put in a saucepan with the olive oil and cook gently for about\nminutes. Season with salt, add the vegetable stock and bring to the boil. When the\nstock has evaporated and the courgettes are soft, take the pan off the heat. Crush the\ncourgettes with a fork, then add the grated lemon zest and a pinch of salt.\n4- Making the tortellini\nRoll out the pasta dough very thinly and use a pastry-cutter to cut out 8 cm/3% in\ncircles. Shape the tortellini following the step-by-step method on p. 358.\n5-Cooking the tortellini\nBring a pan of salted water to the boil, then cook the tortellini for 2-3 minutes.\nCarefully remove the tortellini from the pan with a slotted spoon. Put them in a large\nbowl with the stock and the butter and toss together gently.\n6- Plating up\nPut a pastry cutter on each plate, fill with the crushed lemon courgettes to a depth\nof about 1-2 cm/-% m, then remove the pastry cutter. Place the hot cooked\ntortellini on top and decorate with a few mint leaves.\nHomemade\n357"}
- Assistant
{ "NbPersons": 4, "Language": "en", "Category": "main", "Title": "Lamb confit and mint tortellini with crushed lemon courgettes", "Subtitle": "", "Preparation_Time": 60, "Cooking_Time": 60, "Difficulty": "medium", "Ingredients": [ { "section": "Pour la recette", "ingredients": [ "500 g/1 lb 2 oz plain (all purpose) or 'oo' flour", "2 whole eggs + 4 egg yolks", "fine salt", "1 onion", "knob of butter", "splash of olive oil", "½ boned shoulder of lamb (about 600 g/1 lb 5 oz)", "500 ml/18 fl oz vegetable stock", "sprig of thyme", "sprig of bay leaves", "1 garlic clove", "sprig of mint", "2 large courgettes (zucchini)", "100 ml/32 fl oz vegetable stock", "zest of 1 unwaxed lemon", "pinch of fine salt", "50 ml/1% fl oz hot vegetable stock", "50 g/14 oz butter", "a few mint leaves" ] } ], "Description": "Making this filled pasta is very simple, but you need to do it carefully. The secret to its success lies in getting the texture of the meat filling just right, and balancing its richness with fresh herbs and lemon.", "Instructions": [ "1- The pasta dough Follow the recipe for ravioli dough on p. 346 (step 1).", "2 The lamb confit Peel and finely chop the onion. Heat the butter and olive oil in a pressure cooker over a medium heat. Add the chopped onion and cook for 2-3 minutes without letting it colour, stirring all the time. Season the shoulder of lamb with salt and pepper. Increase the heat to high, add the lamb to the onion and brown it all over. Add the vegetable stock, thyme, bay and peeled garlic clove. Follow the manufacturer's instructions for bringing the cooker up to pressure, then cook for 40 minutes. At the end of the cooking time, remove from the heat and let the pressure drop slowly. Remove the meat from the cooker, then strain the cooking juices through a fine sieve. Shred the meat with a fork and place in a large bowl. Add a little of the cooking juices and the finely chopped mint and mix well. Season with salt and pepper if necessary, then set aside somewhere cool.", "3-The crushed lemon courgettes Cut the courgettes in half lengthways, and then into quarters. Finely slice the quarters, then put in a saucepan with the olive oil and cook gently for about minutes. Season with salt, add the vegetable stock and bring to the boil. When the stock has evaporated and the courgettes are soft, take the pan off the heat. Crush the courgettes with a fork, then add the grated lemon zest and a pinch of salt.", "4- Making the tortellini Roll out the pasta dough very thinly and use a pastry-cutter to cut out 8 cm/3% in circles. Shape the tortellini following the step-by-step method on p. 358.", "5-Cooking the tortellini Bring a pan of salted water to the boil, then cook the tortellini for 2-3 minutes. Carefully remove the tortellini from the pan with a slotted spoon. Put them in a large bowl with the stock and the butter and toss together gently.", "6- Plating up Put a pastry cutter on each plate, fill with the crushed lemon courgettes to a depth of about 1-2 cm/-% m, then remove the pastry cutter. Place the hot cooked tortellini on top and decorate with a few mint leaves." ], "AuthorName": "Homemade", "Notes_Ingredients": "", "Notes_Instructions": "" }