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": "291\nFor 4\nPreparation time: 1 h\nCooking time: 20 min (meat)\n+45 min (chutney\nand potatoes)\nResting time: 10 min\nThe plum chutney\n250 g/8½ oz red plums\n10 g/3 oz fresh ginger\n½ onion\nI clove of wet (spring) garlic\nsmall knob of butter\n2 pinches of ground cassia bark\n40 g/1½ oz white balsamic vinegar\n65 g/2½ oz caster (superfine) sugar\n14 bunch of lovage, or the leaves from\na bunch of celery\nfine salt\nThe potato mousseline\n400 g/14 oz potatoes\n100 ml/3½ fl oz cream\n100 ml/3½ fl oz milk\nlarge knob of butter\nfine salt\nThe veal\n40 g/1½ oz salted butter\ngroundnut (peanut) oil\n4 x 150 g/5½ oz veal fillet steaks\nfine salt, freshly ground pepper\nRoast veal\nwith potato mousseline\nand plum chutney\nChutneys are really easy to make. Some fruit, a little time and attention,\nand you're done. And, whether you use plums or mangoes, they are\ndelicious. Here I've made one to go with the subtle flavour of veal fillet.\n1-The plum chutney\nBring a pan of water to the boil, then immerse the plums in it for 1-2 minutes. Drain\nand leave to cool, then peel, remove the stones and dice the flesh. Peel and trim the\nginger and onion, then dice. Heat the butter in a saucepan over a gentle heat, add\nthe peeled and chopped garlic and the ginger and cook for 2-3 minutes. Add the\ndiced onion and cook for a few minutes without letting it colour. Add the plums,\ncassia, vinegar and sugar, then leave the chutney to cook over a very low heat for\n45 minutes. Finally, add the chopped lovage, season with salt and put to one side.\n2-The potato mousseline\nPreheat the oven to 170°C (325°F: gas mark 3). Wash the potatoes, but don't peel\nthem. Season with salt, then wrap them all in a large sheet of foil, folding the edges\ntogether to make a parcel, and bake for 45 minutes. Remove from the oven, then\nincrease the oven temperature to 180°C (350°F; gas mark 4). Open the parcel and,\nwhile the potatoes are still hot, scoop the flesh from the skins. Purée with a food mill\nor potato ricer, then stir in the cream, milk and butter and season with a little salt.\n3-The veal\nHeat the butter and oil in an ovenproof frying pan over a high heat, then add the\nseasoned veal fillets and colour on both sides. Transfer the pan to the oven and roast\nthe veal for 20 minutes.\n4-Serving\nRemove the veal fillets from the oven and leave to rest for 10 minutes. Serve them\nwith the warm chutney and the hot mousseline.\nSpicing it up The chutney recipe I've given you here is very mild and gentle, but you can easily\nadd chilli powder, pepper or cumin to give it more personality.\nTip You must use spring or 'wet' garlic (also sometimes called green garlic) for this. Dried garlic\nwould overwhelm the dish.\nEveryday" - Assistant