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": "Cooking 2 h 30\nPreparation 10 mins.\nMeat\nSlow-cooked lamb\nwith sage and\npearl barley\nServes 4 to 6\n... Trim the fat from 1 shoulder of young lamb. Peel, wash and thinly\nslice 4 carrots and 2 sticks of celery. Peel 4 red onions and cut\ninto small wedges.\nCook the shoulder of lamb\nPreheat the oven to 140 °C (gas mark 1). Heat a flameproof casserole\ndish with a splash of olive oil and brown the shoulder on all\nsides. Take it out, throw away the cooking fat, wipe the casserole\ndish clean and put it back on the heat with a further splash of\nolive oil.\nPut in half the vegetables and sweat for 2 to 3 minutes, stirring.\nAdd 3 squashed garlic cloves, 12 sage leaves, 8 peppercorns, mix\nwell and return the shoulder of lamb to the casserole dish.\n...Pour in 250 ml of red wine and reduce by half. Then add 250 ml of\nchicken stock (page 10), cover the casserole dish with a lid and\nput in the oven for 2 1/2 hours, basting the shoulder from time\nto time.\n... Take out the casserole dish. Remove the shoulder, wrap it in\naluminium foil and keep warm. Keep the casserole dish to hand.\nPrepare the pearl barley\n... Shortly before the end of cooking the lamb, put 160 g of pearl\nbarley to soak for 10 minutes.\n... Heat another casserole dish with a splash of olive oil, put in the\nrest of the vegetables and cook for 2 minutes, stirring. Drain the\npearl barley and add to the vegetables. Stir, salt and cook for\n1 to 2 minutes.\n... Take a ladleful of the cooking liquid from the lamb casserole dish\nand pour it into the barley casserole dish. Let it swell with the\nliquid and cook for 15 to 18 minutes, adding more of the liquid as\nand when it is absorbed.\n... Peel 12 fresh almonds and add them at the end of cooking with\na splash of olive oil. Stir and check the seasoning.\nTo finish your dish\n... Cut the shoulder into large pieces and return them to their\ncasserole dish. Add the contents of the other casserole dish, a\ngenerous twist of freshly ground black pepper and serve in the\ncasserole dish.\nAD- If you have cooking juices\nleft over in the lamb casserole dish\nand it seems too much, put it back\non the heat and reduce.\nPN- In pearl barley all the husks\nhave been removed. As a result\nit keeps its richness in\ncarbohydrates but loses most of\nito vitamins and mineral salts.\nFortunately, the vegetables make\nup for this.\nLand ... 307"}
- Assistant
{ "NbPersons": 5, "Language": "en", "Category": "main", "Title": "Slow-cooked lamb with sage and pearl barley", "Subtitle": "", "Preparation_Time": 10, "Cooking_Time": 150, "Difficulty": "medium", "Ingredients": [ { "section": "Pour la recette", "ingredients": [ "1 shoulder of young lamb", "4 carrots", "2 sticks of celery", "4 red onions", "3 squashed garlic cloves", "12 sage leaves", "8 peppercorns", "250 ml of red wine", "250 ml of chicken stock", "160 g of pearl barley", "12 fresh almonds", "olive oil", "salt" ] } ], "Description": "Delve into the rich flavors of slow-cooked lamb, tender and infused with sage, accompanied by creamy pearl barley—a hearty dish perfect for any occasion.", "Instructions": [ "Trim the fat from 1 shoulder of young lamb.", "Peel, wash and thinly slice 4 carrots and 2 sticks of celery.", "Peel 4 red onions and cut into small wedges.", "Preheat the oven to 140 °C (gas mark 1).", "Heat a flameproof casserole dish with a splash of olive oil and brown the shoulder on all sides.", "Take it out, throw away the cooking fat, wipe the casserole dish clean and put it back on the heat with a further splash of olive oil.", "Put in half the vegetables and sweat for 2 to 3 minutes, stirring.", "Add 3 squashed garlic cloves, 12 sage leaves, 8 peppercorns, mix well and return the shoulder of lamb to the casserole dish.", "Pour in 250 ml of red wine and reduce by half.", "Then add 250 ml of chicken stock, cover the casserole dish with a lid and put in the oven for 2 1/2 hours, basting the shoulder from time to time.", "Take out the casserole dish.", "Remove the shoulder, wrap it in aluminium foil and keep warm.", "Keep the casserole dish to hand.", "Shortly before the end of cooking the lamb, put 160 g of pearl barley to soak for 10 minutes.", "Heat another casserole dish with a splash of olive oil, put in the rest of the vegetables and cook for 2 minutes, stirring.", "Drain the pearl barley and add to the vegetables.", "Stir, salt and cook for 1 to 2 minutes.", "Take a ladleful of the cooking liquid from the lamb casserole dish and pour it into the barley casserole dish.", "Let it swell with the liquid and cook for 15 to 18 minutes, adding more of the liquid as and when it is absorbed.", "Peel 12 fresh almonds and add them at the end of cooking with a splash of olive oil.", "Stir and check the seasoning.", "Cut the shoulder into large pieces and return them to their casserole dish.", "Add the contents of the other casserole dish, a generous twist of freshly ground black pepper and serve in the casserole dish." ], "AuthorName": "", "Notes_Ingredients": "", "Notes_Instructions": "If you have cooking juices left over in the lamb casserole dish and it seems too much, put it back on the heat and reduce." }