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: 45 min\nA surprise sandwich loaf\nTo make this very simple surprise sandwich loaf (or 'pain surprise'), you\nneed to be quite precise. It's a lovely combination of healthy vegetables and\nthe sort of flavoured butters I use all the time in my dishes. You can make\ndifferent flavoured butters as you wish. Get the bread from a good baker,\nchoose interesting flavours and textures for the fillings, and serve with\na lovely chilled white wine, like a Sauvignon from the Loire. Easy to\ncarry, this is also great for a picnic.\nThe loaf\nI large cob or cottage loaf\nSmoked tea butter with\ncrunchy radishes\n50 g/14 oz salted butter\n½ teaspoon smoked tea\n(such as lapsang souchong)\nIO radishes\nfine salt\nGreen Szechuan pepper butter\nwith Parmesan\n50 g/14 oz salted butter\n½ teaspoon green Szechuan pepper\n10 slivers of very young Parmesan\nSaffron and tomato butter\n50 g/14 oz salted butter\npinch of ground saffron\nI tomato\nfine salt\nAniseed butter with cucumber\n50 g/14 oz salted butter\n½ teaspoon aniseed\nI cucumber\nfine salt\nEquipment\npestle and mortar\n1-The loaf\nCut and shape the loaf as shown on p. 290,\n2-Smoked tea butter and crunchy radishes\nBeat the butter until it is very soft and malleable. In a small mortar, crush the smoked\ntea to a fine powder with a pestle, then mix into the softened butter. Wash and trim the\nradishes, then slice finely (preferably with a mandoline). Spread the bread with a thin layer\nof tea butter, then cover with a thin layer of radishes. Season with salt and cover with\na second slice of bread, then cut into triangles.\n3-Green Szechuan pepper butter with Parmesan\nFollow step 2 but, instead of tea, crush the pepper and mix that into the softened\nbutter. Spread the bread with a thin layer of pepper butter, then put the Parmesan\nslivers on top. Cover with a second slice of bread, then cut into triangles.\n4-Saffron and tomato butter\nBeat the butter until it is very soft, then simply mix in the saffron. Wash the tomato,\nremove the stalk, then slice thinly and season with salt. Spread the bread with a thin\nlayer of saffron butter, then put the slices of tomato on top. Cover with a second slice\nof bread, then cut into triangles.\n5-Aniseed butter with cucumber\nFollow step 2 but, instead of tea, crush the aniseed and mix that into the softened\nbutter. Wash and peel the cucumber. Cut it in half lengthways, then remove all the seeds\nand slice very finely lengthways (as in the photo on p. 291). Spread the bread with a thin\nlayer of aniseed butter, then put the slices of cucumber on top. Season with salt and\ncover with a second slice of bread, then cut into triangles.\n6- Finishing off\nFill the surprise sandwich loaf by putting the triangular sandwiches inside, alternating\nthe different types in layers. Eat immediately.\nHomemade\n289"}
- Assistant
{ "NbPersons": 4, "Language": "en", "Category": "snack", "Title": "A surprise sandwich loaf", "Subtitle": "", "Preparation_Time": 45, "Cooking_Time": "", "Difficulty": "easy", "Ingredients": [ { "section": "The loaf", "ingredients": [ "I large cob or cottage loaf" ] }, { "section": "Smoked tea butter with crunchy radishes", "ingredients": [ "50 g/14 oz salted butter", "½ teaspoon smoked tea (such as lapsang souchong)", "10 radishes", "fine salt" ] }, { "section": "Green Szechuan pepper butter with Parmesan", "ingredients": [ "50 g/14 oz salted butter", "½ teaspoon green Szechuan pepper", "10 slivers of very young Parmesan" ] }, { "section": "Saffron and tomato butter", "ingredients": [ "50 g/14 oz salted butter", "pinch of ground saffron", "1 tomato", "fine salt" ] }, { "section": "Aniseed butter with cucumber", "ingredients": [ "50 g/14 oz salted butter", "½ teaspoon aniseed", "1 cucumber", "fine salt" ] } ], "Description": "To make this very simple surprise sandwich loaf (or 'pain surprise'), you need to be quite precise. It's a lovely combination of healthy vegetables and the sort of flavoured butters I use all the time in my dishes. You can make different flavoured butters as you wish. Get the bread from a good baker, choose interesting flavours and textures for the fillings, and serve with a lovely chilled white wine, like a Sauvignon from the Loire. Easy to carry, this is also great for a picnic.", "Instructions": [ "1-The loaf", "Cut and shape the loaf as shown on p. 290.", "2-Smoked tea butter and crunchy radishes", "Beat the butter until it is very soft and malleable. In a small mortar, crush the smoked tea to a fine powder with a pestle, then mix into the softened butter. Wash and trim the radishes, then slice finely (preferably with a mandoline). Spread the bread with a thin layer of tea butter, then cover with a thin layer of radishes. Season with salt and cover with a second slice of bread, then cut into triangles.", "3-Green Szechuan pepper butter with Parmesan", "Follow step 2 but, instead of tea, crush the pepper and mix that into the softened butter. Spread the bread with a thin layer of pepper butter, then put the Parmesan slivers on top. Cover with a second slice of bread, then cut into triangles.", "4-Saffron and tomato butter", "Beat the butter until it is very soft, then simply mix in the saffron. Wash the tomato, remove the stalk, then slice thinly and season with salt. Spread the bread with a thin layer of saffron butter, then put the slices of tomato on top. Cover with a second slice of bread, then cut into triangles.", "5-Aniseed butter with cucumber", "Follow step 2 but, instead of tea, crush the aniseed and mix that into the softened butter. Wash and peel the cucumber. Cut it in half lengthways, then remove all the seeds and slice very finely lengthways (as in the photo on p. 291). Spread the bread with a thin layer of aniseed butter, then put the slices of cucumber on top. Season with salt and cover with a second slice of bread, then cut into triangles.", "6- Finishing off", "Fill the surprise sandwich loaf by putting the triangular sandwiches inside, alternating the different types in layers. Eat immediately." ], "AuthorName": "", "Notes_Ingredients": "", "Notes_Instructions": "" }