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": "150 MEATS\nBENOIT\nPAN-ROASTED\nFARMHOUSE PORK CHOP\nStuffed Cabbage, Au Jus\nSERVES 4\nPREPARATION: 1 HOUR\nCOOKING: 1 HOUR\nPORK CHOP\n1 DOUBLE-CUT PORK CHOP, FAT\nREMOVED, TRIMMED, AND TIED\nOLIVE OIL\nGARNISH\n1/2 HEAD SAVOY CABBAGE\nSALT\n250G 8.82 OUNCES HEDGEHOG\nMUSHROOMS\nOLIVE OIL\n1 WHITE ONION\n150G 5.29 OUNCES CURED PORK\nSIDE (BELLY)\n50G 1.76 OUNCES (1/4 CUP)\nDUCK FAT\n3 JUNIPER BERRIES\n10G 0.35 OUNCE (5 TEASPOONS)\nCOARSELY GROUND PEPPER\n250ML 1 CUP DRY WHITE WINE\n100ML 3/4 CUP PLUS\n1 TABLESPOON PORK JUS (SEE\nP. 249)\n100G 3.53 OUNCES CHESTNUTS\n(ABOUT 9), COOKED\nFINISHING\n30G 1.06 OUNCES.\n(2 TABLESPOONS) BUTTER\n100ML 3/4 CUP PLUS\n1 TABLESPOON PORK JUS\n(SEE P. 249)\nFRESHLY GROUND PEPPER\nFLEUR DE SEL\nMAKE THE PORK CHOP\nPreheat the oven to 180°C - 350°F (gas mark 4). Brown the pork\nchop on all sides in a Dutch oven (cast-iron casserole) with a little\nolive oil, then roast in the oven for 15 minutes. Let stand.\nMAKE THE GARNISH\nSelect the prettiest cabbage leaves and blanch in boiling salted water\nfor 5 minutes. Let cool, drain, and remove the thick central rib. Set.\naside. Dice the mushrooms and sauté for 5 minutes in olive oil.\nSlice the rest of the cabbage and the onion. Cut the pork side into\ncubes. Melt the duck fat with the crushed juniper berries and pepper\nin a Dutch oven. Add the onion and pork side, and sweat* without\ncoloring. Add the sliced cabbage and sweat, then deglaze* with\nthe white wine. Add the pork jus. Cook for about 45 minutes, until\nthe cabbage is very soft. Add the sautéed mushrooms and cooked\nchestnuts. Set aside. Roll 2 tablespoons of the braised cabbage in\nthe blanched cabbage leaves and wrap tightly with plastic wrap.\nRemove the plastic wrap and glaze the stuffed cabbage rolls in a\nsauté pan with pork jus.\nFINISHING\nMelt the butter in a Dutch oven and brown the cooked pork chop.\nArrange on a plate with two glazed cabbage rolls. Cover with the jus,\nand finish by seasoning with a turn of the pepper mill and fleur de sel.\nTHE WINE:\nA RED BURGUNDY, SUCH AS VOSNE ROMANEE"}
- Assistant
{ "NbPersons": 4, "Language": "en", "Category": "main", "Title": "PAN-ROASTED FARMHOUSE PORK CHOP", "Subtitle": "Stuffed Cabbage, Au Jus", "Preparation_Time": 60, "Cooking_Time": 60, "Difficulty": "medium", "Ingredients": [ { "section": "Pour la recette", "ingredients": [ "1 DOUBLE-CUT PORK CHOP, FAT REMOVED, TRIMMED, AND TIED", "1/2 HEAD SAVOY CABBAGE", "250G 8.82 OUNCES HEDGEHOG MUSHROOMS", "1 WHITE ONION", "150G 5.29 OUNCES CURED PORK SIDE (BELLY)", "50G 1.76 OUNCES (1/4 CUP) DUCK FAT", "3 JUNIPER BERRIES", "10G 0.35 OUNCE (5 TEASPOONS) COARSELY GROUND PEPPER", "250ML 1 CUP DRY WHITE WINE", "100ML 3/4 CUP PLUS 1 TABLESPOON PORK JUS (SEE P. 249)", "100G 3.53 OUNCES CHESTNUTS (ABOUT 9), COOKED", "30G 1.06 OUNCES (2 TABLESPOONS) BUTTER", "100ML 3/4 CUP PLUS 1 TABLESPOON PORK JUS (SEE P. 249)", "FRESHLY GROUND PEPPER", "FLEUR DE SEL" ] } ], "Description": "A hearty and flavorful dish featuring a perfectly cooked pork chop accompanied by savory stuffed cabbage and a rich jus.", "Instructions": [ "Preheat the oven to 180°C - 350°F (gas mark 4). Brown the pork chop on all sides in a Dutch oven (cast-iron casserole) with a little olive oil, then roast in the oven for 15 minutes. Let stand.", "Select the prettiest cabbage leaves and blanch in boiling salted water for 5 minutes. Let cool, drain, and remove the thick central rib. Set aside.", "Dice the mushrooms and sauté for 5 minutes in olive oil.", "Slice the rest of the cabbage and the onion. Cut the pork side into cubes.", "Melt the duck fat with the crushed juniper berries and pepper in a Dutch oven. Add the onion and pork side, and sweat without coloring.", "Add the sliced cabbage and sweat, then deglaze with the white wine. Add the pork jus. Cook for about 45 minutes, until the cabbage is very soft.", "Add the sautéed mushrooms and cooked chestnuts. Set aside.", "Roll 2 tablespoons of the braised cabbage in the blanched cabbage leaves and wrap tightly with plastic wrap.", "Remove the plastic wrap and glaze the stuffed cabbage rolls in a sauté pan with pork jus.", "Melt the butter in a Dutch oven and brown the cooked pork chop. Arrange on a plate with two glazed cabbage rolls. Cover with the jus, and finish by seasoning with a turn of the pepper mill and fleur de sel." ], "AuthorName": "BENOIT", "Notes_Ingredients": "", "Notes_Instructions": "Sweating is the process of cooking onions and other vegetables in fat over low heat until they become translucent and soft but not browned. Deglazing is the technique of adding liquid to a pan to loosen food particles that are stuck to the bottom." }