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": "139\nROASTED\nMADAME BURGAUD DUCK\nwith Orange, Braised Duck Legs, Turnips, and Quince\nBENOIT\nMAKE THE DUCK\nUse a sharp knife to cut the legs off the ducks. Keep the rest of the\nducks in one piece and set aside* in the refrigerator. Put a little oil in\na Dutch oven (cast-iron casserole) and fry the legs, coloring them well.\nSeason the legs with gray salt and pepper and set aside* on a rack.\nPeel and slice* the shallots. Sweat* them with the unpeeled garlic,\nthe thyme, and some coarsely ground pepper, then season with\nsalt. Deglaze with the wine and reduce by three-quarters. Add the\nduck jus and the legs, cover with a lid, and cook for 2 hours, until\nsoft. Transfer to a bowl and set aside. Filter the duck cooking liquid\nthrough a conical strainer* (sieve) and set aside for the orange sauce.\nMAKE THE ORANGE SAUCE\nChop and roast* the spices. Heat the honey in a sauté pan*. Just\nbefore the honey caramelizes, add the spices. Deglaze with the vin-\negar and reduce, then add the orange juice and reduce by half. Add\nthe duck cooking liquid. Let infuse for 45 minutes off heat, then\ngently reduce for 1 hour to the desired consistency.\nMAKE THE\nGARNISH\nCombine 700ml - 3 cups water and the sugar and bring to a boil to\nmake a syrup. Set aside. Turn* the turnips, leaving their greens intact,\nand shallow braise them. Peel and quarter the quince. Transfer half\nthe syrup to a bowl with a dash of lemon juice, add the quince, and\nlet candy for 1 hour, until soft.\nHalve the kumquats and blanch* for a few seconds in boiling water.\nCandy them in the other half of the syrup until soft. Set aside. Dry\nthe orange zest in the oven at 60°C - 140°F. Grind to a powder.\nFINISHING\nRaise the oven temperature to 180°C - 350°F (gas mark 4) on the\nconvection (fan) setting. Remove the duck breasts from the rib cage,\nseason, and then brown the duck breasts on all sides in a Dutch oven\nwith a little olive oil, and finish by roasting in the oven for 15 minutes.\nRest for about 10 minutes. Cut and place a duck breast in the center\nof a silver oval platter. Arrange the turnip and candied quince and\nkumquats around it. Cover with a little sauce, and season with fleur\nde sel and freshly ground pepper. Heat the duck legs and glaze* in\nthe orange sauce. Serve them separately. Sprinkle with orange zest\npowder and drizzle with a line of sauce.\nPOULTRY 159\nSERVES 4\nPREPARATION: 1 HOUR\nCOOKING: 4 HOURS\nDUCK\n2 (1.4KG 3 POUND) DUCKS\nOLIVE OIL\nFINE GRAY SEA SALT\nFRESHLY GROUND PEPPER\n2 SHALLOTS\n3 CLOVES GARLIC\n1 SPRIG THYME\n1 LITER 4 1/4 CUPS STRONG RED\nWINE\n1 LITER 4 1/4 CUPS DUCK JUS (SEE\nP. 248)\nORANGE SAUCE\nA PINCH OF GROUND CARDAMOM,\nMACE, LONG PEPPER, STAR ANISE,\nAND CORIANDER SEEDS\n150G 5.29 OUNCES (2/3 CUP)\n50ML 3 1/2 TABLESPOONS AGED\nRED WINE VINEGAR\nHONEY\n1 LITER 4 1/4 CUPS ORANGE JUICE\n1 LITER 4 1/4 CUPS DUCK\nCOOKING LIQUID\nGARNISH\n500G 1 POUND 2 OUNCES\n(2 1/2 cups) SUGAR\n8 TURNIPS, WITH GREENS\n1 QUINCE\nLEMON JUICE\n100G 3.53 OUNCES KUMQUATS\nZEST OF 1 ORANGE\nFINISHING\nFLEUR DE SEL\nFRESHLY GROUND PEPPER\nOLIVE OIL\nTHE WINE: A RED LANGUEDOC WINE, SUCH AS MINERVOIS LA LIVINIÈRE" - Assistant