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 1 h 30\nPreparation 10 mins\nBeans and pulses\nChickpea\nand lentil salad\nwith hummus sauce\n...Serves 4.\nThe day before\nSoak 250 g of chickpeas.\nOn the day\n...Peel 2 onions and 2 carrots and cut into chunks.\nDrain the chickpeas, put them into a saucepan with 1 bay leaf\n(2 required in total for the recipe) and half the onions and\ncarrots. Cover well with water and cook for an hour and a half.\nAdd salt only at the end of cooking.\nIn another saucepan filled with water, cook 100 g of red lentils\nsimilarly with the rest of the onions and carrots and another\nbay leaf for 30 minutes. Leave to cool in their cooking water.\n... Peel and mince 1 garlic clove.\nTake out approximately two thirds of the chickpeas with a slotted\nspoon. Blend them with the garlic and 1 or 2 ladles of their\ncooking liquid until you have a smooth cream. Add the juice of\nhalf a lemon, a level teaspoon of ground cumin, a level teaspoon\nof ras el-hanout, 2 pinches of paprika and blend a little more to\nincorporate well. Taste the hummus and correct its seasoning with\nsalt and freshly ground black pepper.\n... Rinse and dry 50 g of bean sprouts and put in a salad bowl. Drain\nthe lentils and the rest of the chickpeas, and add them. Season\nwith 2 to 3 tablespoons of olive oil, 1 tablespoon of sherry\nvinegar, salt and freshly ground black pepper.\nDetach the leaves from 3 sprigs of mint.\n... Spoon the hummus into the centre of a round dish. Spread the\nchickpea / lentil / bean sprout salad all around. Sprinkle the mint\nleaves on top.\nAD Hummus (or houmous) is a\ngreat classic of Lebanese cooking.\nMake it with sufficient liquid so\nthat rather than the usual purée you\nhave a softer cream that will mix\nwell with the salad.\nPN\nChickpeas are the most usefu!\nof all the pulses, not only because\nthey're rich in carbohydrates,\nproteins and mineral salto but also\nbecause they contain antioxidants:\ncarotenoids and vitamin E.\nVegetables... 213"}
- Assistant
{ "NbPersons": 4, "Language": "en", "Category": "salad", "Title": "Chickpea and lentil salad with hummus sauce", "Subtitle": "", "Preparation_Time": 10, "Cooking_Time": 90, "Difficulty": "medium", "Ingredients": [ { "section": "Pour la recette", "ingredients": [ "250 g of chickpeas", "2 onions", "2 carrots", "1 bay leaf", "100 g of red lentils", "1 garlic clove", "juice of half a lemon", "1 or 2 ladles of chickpea cooking liquid", "1 level teaspoon of ground cumin", "1 level teaspoon of ras el-hanout", "2 pinches of paprika", "50 g of bean sprouts", "2 to 3 tablespoons of olive oil", "1 tablespoon of sherry vinegar", "salt", "freshly ground black pepper", "3 sprigs of mint" ] } ], "Description": "AD Hummus (or houmous) is a great classic of Lebanese cooking. Make it with sufficient liquid so that rather than the usual purée you have a softer cream that will mix well with the salad.", "Instructions": [ "The day before soak 250 g of chickpeas.", "On the day peel 2 onions and 2 carrots and cut into chunks.", "Drain the chickpeas, put them into a saucepan with 1 bay leaf (2 required in total for the recipe) and half the onions and carrots.", "Cover well with water and cook for an hour and a half.", "Add salt only at the end of cooking.", "In another saucepan filled with water, cook 100 g of red lentils similarly with the rest of the onions and carrots and another bay leaf for 30 minutes.", "Leave to cool in their cooking water.", "Peel and mince 1 garlic clove.", "Take out approximately two thirds of the chickpeas with a slotted spoon.", "Blend them with the garlic and 1 or 2 ladles of their cooking liquid until you have a smooth cream.", "Add the juice of half a lemon, a level teaspoon of ground cumin, a level teaspoon of ras el-hanout, 2 pinches of paprika and blend a little more to incorporate well.", "Taste the hummus and correct its seasoning with salt and freshly ground black pepper.", "Rinse and dry 50 g of bean sprouts and put in a salad bowl.", "Drain the lentils and the rest of the chickpeas, and add them.", "Season with 2 to 3 tablespoons of olive oil, 1 tablespoon of sherry vinegar, salt and freshly ground black pepper.", "Detach the leaves from 3 sprigs of mint.", "Spoon the hummus into the centre of a round dish.", "Spread the chickpea / lentil / bean sprout salad all around.", "Sprinkle the mint leaves on top." ], "AuthorName": "", "Notes_Ingredients": "Chickpeas are the most useful of all the pulses, not only because they're rich in carbohydrates, proteins and mineral salts but also because they contain antioxidants: carotenoids and vitamin E.", "Notes_Instructions": "Make it with sufficient liquid so that rather than the usual purée you have a softer cream that will mix well with the salad." }