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": "Classics\nFor 4\nPreparation time: 25 min\nCooking time: 7 min\nThe whiting\n4 whiting fillets\n2 eggs + 1 tablespoon oil\n100 g/3½ oz plain (all-purpose) flour\n200 g/7 oz breadcrumbs\n2 large knobs of butter for frying\n2 tablespoons oil for frying\nfine salt\nThe maître d'hôtel butter\n100 g/3½ oz soft butter\nI tablespoon finely chopped parsley\njuice and zest of 1 lemon\nfleur de sel\nThe fried vegetables\n2 carrots\nI potato\n2 courgettes (zucchini)\n2 litres/3½ pints groundnut\n(peanut) oil for deep-frying\n4 bunch of parsley\nfine salt\nEquipment\nsmall pastry cutter or glass\ncooking thermometer (optional)\nBreaded whiting with\nmaître d'hôtel butter\nand fried vegetables\nIt may not look like much, but fried whiting is well worth a second glance.\nI've updated this classic recipe so the fish is breaded with flour, egg and\nbreadcrumbs, then pan-fried and served with fried vegetables and a maître\nd'hôtel butter. You can also make this with pollock or cod.\n1-The whiting\nUsing small tongs or tweezers, remove any bones from the whiting fillets (or get the\nfishmonger to do it), then season with a little salt. Put the ingredients for the coating\nin three separate shallow bowls: flour in one; the eggs beaten with the oil and a little\nsalt in a second; and the breadcrumbs in a third. Dip both sides of each fillet in the\nflour, egg and breadcrumbs to coat them completely. Keep to one side.\n2-The maître d'hôtel butter\nBeat the butter to soften and reduce it to a paste. Finely chop the parsley, then mix\ninto the butter, along with the lemon juice and zest and a pinch of fleur de sel. Place\nthe butter between two pieces of baking parchment, then use a rolling pin to roll it\nout to a thickness of about 2 cm/4 in. Chill until firm, then cut out 4 small circles\nusing a pastry cutter or small glass.\n3-The fried vegetables\nPeel and trim the carrots and potato, and top and tail the courgettes. Cut all the\nvegetables into very fine julienne strips. Heat the oil in a deep-fryer or large\nsaucepan (the temperature of the oil should be 180°C/350°F - check with a\ncooking thermometer, if you have one), then fry the vegetables and the parsley\nleaves separately for about 1-2 minutes, or until crisp. Remove from the oil with\na slotted spoon, drain on kitchen paper and season with salt.\n4- Finishing off and plating up\nHeat the butter and oil in a frying pan over a medium heat, then cook the breaded\nwhiting for 5-6 minutes, basting the fish with the foaming butter and oil, and\nturning them once halfway through. Once cooked, remove and drain briefly on\nkitchen paper. Place the whiting on plates, then serve with a slice of maître d'hôtel\nbutter and the fried vegetables.\n231" - Assistant