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": "Everyday\nFor 4\nPreparation time: 40 min\nCooking time: 30 min (sweet\npotatoes) +45 min (oxtail)\n+ 20 min (baking\nResting time: 30 min\nOxtail Parmentier with\nsweet potato mash\nRediscover the great pleasure of a classic that is both homely and\nsophisticated. Make sure you use oxtail, not another cut of beef- it will\nmake all the difference to the flavour. Brown stock is a very concentrated\nbeef reduction that adds even more depth to the oxtail; you should be able\nto find it in specialist food stores and some supermarkets.\nThe oxtail\n½ oxtail, cut into slices\noil\nbutter\n100 g/3½ oz diced onion, carrot,\nleek and celery\nI clove\n50 ml/14 fl oz Cognac\n250 ml/9 fl oz red wine\n1 litre/14 pints brown stock\nI generous tablespoon chopped\nparsley\nfine salt, freshly ground pepper\nSweet potato mash\n600 g/1 lb 5 oz sweet potatoes\n300 g/10½ oz potatoes\n2 large knobs of butter\n50 ml/14 fl oz cream\n3 tablespoons breadcrumbs\nfine salt\n1-The oxtail\nIn a pressure cooker, brown the oxtail in a little oil and butter for 5 minutes.\nAdd the diced vegetables and cook for 2-3 minutes. Skim off any excesss fat, then\nadd the clove and pour in the Cognac, wine and stock. Follow the manufacturer's\ninstructions for bringing the cooker up to pressure, then cook the oxtail for\n45 minutes. Remove from the heat at the end of the cooking time and leave to cool\nfor 15-20 minutes before opening the pressure cooker. Drain the oxtail, reserving\nthe cooking juices, and leave to cool for 15 minutes. Remove the meat from the\nbones with your fingers, then shred it with a fork. Place the meat in a large bowl and\nadd a ladleful of the degreased cooking juices, along with the parsley. Season with\nsalt and pepper, mix well, then put to one side.\n2-Sweet potato mash\nWash and peel both the sweet potatoes and the potatoes. Put them in a saucepan of\ncold salted water, bring to the boil and simmer for 20-25 minutes, or until tender.\nDrain, then push through a mouli or potato ricer. Mix with the butter and cream,\nthen season with a little salt.\n3-Finishing off\nPut the oxtail mixture in the base of a gratin dish, then cover with the mash.\nSprinkle over the breadcrumbs and cook in an oven preheated to 180°C (350°F;\ngas mark 4) for 15-20 minutes. Serve hot.\nTip The amount of stock added to the beef at the end of step 1 is just a suggestion. You want\na smooth mixture that's not too dry, so add as much as you need to get the right consistency.\n103" - Assistant