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": "136 MEATS\nBENOIT\nSERVES 4\nPREPARATION: 1 HOUR 15\nMINUTES\nCOOKING: 45 MINUTES\nLAMB\n1 (1KG 2 POUND) LEG OF\nMILK-FED LAMB\n5 CLOVES PINK GARLIC\n1 TABLESPOON OLIVE OIL\n1/2 BUNCH SAVORY\nCOARSE SEA SALT\nFRESHLY GROUND PEPPER\nJUS\n500G 1 POUND 2 OUNCES LAMB NECK\n1 TABLESPOON GRAPESEED OIL\n1/3 BUNCH SAVORY\n1/2 HEAD PINK GARLIC\nSALT\nPEPPER\n500ML 2 CUPS WHITE CHICKEN STOCK\n(SEE P. 246), PLUS MORE AS NEEDED\n250ML 1 CUP LAMB JUS (SEE P. 247)\nVEGETABLES\n100G 3.53 OUNCES (1 CUP) EXTRA\nFINE GREEN BEANS\n100G 3.53 OUNCES (2/3 CUP)\nSHELLED PEAS\n4 MEDIUM GREEN ASPARAGUS SPEARS\n4 ROUND TURNIPS, WITH GREENS\n4 SMALL NEW CARROTS, WITH GREENS\n4 SCALLIONS\n4 ZUCCHINI FLOWERS\n4 POIVRADE ARTICHOKES\nASCORBIC ACID\n1/2 HEAD ROMAINE LETTUCE\nOLIVE OIL\n200ML 3/4 CUP PLUS 1 TABLESPOON\nWHITE CHICKEN STOCK (SEE P. 246)\n100G 3.53 OUNCES (2/3 CUP)\nSHELLED BABY FAVA BEANS\nSALT\nPEPPER\n20ML 4 TEASPOONS SHERRY VINEGAR\nMAKE THE LAMB\nPreheat the oven to 180°C - 350°F (gas mark 4). Trim* the leg of\nlamb and rub it with a cut garlic clove. Set aside the scraps* (trim-\nmings) and tie the leg with kitchen twine. Heat the oil in a large\novenproof sauté pan* and sear the leg. When it is deep golden, add\nfour unpeeled garlic cloves and the savory, and season with salt and\npepper. Cook in the oven for 15 to 20 minutes, basting regularly,\nthen rest on a rack in a warm place.\nMAKE THE JUS\nCut the lamb neck and leg scraps into small pieces. Brown them in\na Dutch oven (cast-iron casserole) with the oil. Drain the pieces in a\nstrainer (sieve) and return them to the pan. Mince* the savory, then\nadd it to the pan with the garlic. Season with salt and pepper. Cover\nthe contents of the pan with chicken stock and simmer, skimming\nregularly, until the liquid thickens. Top up the liquid with chicken\nstock. Repeat the process. Add the lamb jus and simmer until the\nliquid acquires the desired consistency. Pour the contents of the pan\ninto a strainer and filter the sauce through a conical strainer*; set\naside for serving. Discard the solids.\nMAKE THE\nVEGETABLES\nTrim and boil the green beans. Boil the peas. Peel the asparagus\nand remove any scales from the spears. Tie into a bundle with kitchen\ntwine and boil*. Turn* the turnips and carrots, keeping their tops\nintact. Set aside in ice water. Trim* and cut the scallions. Remove the\npistil from the zucchini flowers and roll them up. Turn the artichokes.\nQuarter them and set aside in cold water with a little added ascorbic\nacid. Separate the lettuce leaves. Cut the large outer leaves, then pick\nthe leaves from the heart and the tender leaves. Heat 1 tablespoon\nof olive oil in a Dutch oven and sweat* the turnips without coloring.\nAdd the carrots, followed by the artichokes. When the vegetables are\nalmost cooked, add the scallions and zucchini flowers, then moisten\nwith the chicken stock. Finish by glazing* the vegetables.\nAdd the green beans, peas, asparagus, and fava beans to the other\nvegetables. Glaze all of the vegetables well, then adjust the seasoning\nwith salt and pepper and transfer to a serving dish. Add the lettuce\nleaves dressed with olive oil and the sherry vinegar. Place the leg on\na cutting (chopping) board and serve the jus in a sauceboat.\nLEG OF LAMB\nwith Seasonal Vegetables, Au Jus\nTHE WINE: A RED BORDEAUX WINE, SUCH AS SAINT-ESTÈPHE"}
- Assistant
{ "NbPersons": 4, "Language": "en", "Category": "main", "Title": "LEG OF LAMB", "Subtitle": "with Seasonal Vegetables, Au Jus", "Preparation_Time": 75, "Cooking_Time": 45, "Difficulty": "medium", "Ingredients": [ { "section": "Pour la recette", "ingredients": [ "1 (1KG 2 POUND) LEG OF MILK-FED LAMB", "5 CLOVES PINK GARLIC", "1 TABLESPOON OLIVE OIL", "1/2 BUNCH SAVORY", "COARSE SEA SALT", "FRESHLY GROUND PEPPER", "500G 1 POUND 2 OUNCES LAMB NECK", "1 TABLESPOON GRAPESEED OIL", "1/3 BUNCH SAVORY", "1/2 HEAD PINK GARLIC", "SALT", "PEPPER", "500ML 2 CUPS WHITE CHICKEN STOCK", "250ML 1 CUP LAMB JUS", "100G 3.53 OUNCES (1 CUP) EXTRA FINE GREEN BEANS", "100G 3.53 OUNCES (2/3 CUP) SHELLED PEAS", "4 MEDIUM GREEN ASPARAGUS SPEARS", "4 ROUND TURNIPS, WITH GREENS", "4 SMALL NEW CARROTS, WITH GREENS", "4 SCALLIONS", "4 ZUCCHINI FLOWERS", "4 POIVRADE ARTICHOKES", "ASCORBIC ACID", "1/2 HEAD ROMAINE LETTUCE", "200ML 3/4 CUP PLUS 1 TABLESPOON WHITE CHICKEN STOCK", "100G 3.53 OUNCES (2/3 CUP) SHELLED BABY FAVA BEANS", "SALT", "PEPPER", "20ML 4 TEASPOONS SHERRY VINEGAR" ] } ], "Description": "A delectable leg of lamb served with a medley of seasonal vegetables and a rich au jus, perfect for a special meal.", "Instructions": [ "Preheat the oven to 180°C - 350°F (gas mark 4). Trim* the leg of lamb and rub it with a cut garlic clove. Set aside the scraps* (trim-mings) and tie the leg with kitchen twine. Heat the oil in a large ovenproof sauté pan* and sear the leg. When it is deep golden, add four unpeeled garlic cloves and the savory, and season with salt and pepper. Cook in the oven for 15 to 20 minutes, basting regularly, then rest on a rack in a warm place.", "Cut the lamb neck and leg scraps into small pieces. Brown them in a Dutch oven (cast-iron casserole) with the oil. Drain the pieces in a strainer (sieve) and return them to the pan. Mince* the savory, then add it to the pan with the garlic. Season with salt and pepper. Cover the contents of the pan with chicken stock and simmer, skimming regularly, until the liquid thickens. Top up the liquid with chicken stock. Repeat the process. Add the lamb jus and simmer until the liquid acquires the desired consistency. Pour the contents of the pan into a strainer and filter the sauce through a conical strainer*; set aside for serving. Discard the solids.", "Trim and boil the green beans. Boil the peas. Peel the asparagus and remove any scales from the spears. Tie into a bundle with kitchen twine and boil*. Turn* the turnips and carrots, keeping their tops intact. Set aside in ice water. Trim* and cut the scallions. Remove the pistil from the zucchini flowers and roll them up. Turn the artichokes. Quarter them and set aside in cold water with a little added ascorbic acid. Separate the lettuce leaves. Cut the large outer leaves, then pick the leaves from the heart and the tender leaves. Heat 1 tablespoon of olive oil in a Dutch oven and sweat* the turnips without coloring. Add the carrots, followed by the artichokes. When the vegetables are almost cooked, add the scallions and zucchini flowers, then moisten with the chicken stock. Finish by glazing* the vegetables. Add the green beans, peas, asparagus, and fava beans to the other vegetables. Glaze all of the vegetables well, then adjust the seasoning with salt and pepper and transfer to a serving dish. Add the lettuce leaves dressed with olive oil and the sherry vinegar. Place the leg on a cutting (chopping) board and serve the jus in a sauceboat." ], "AuthorName": "BENOIT", "Notes_Ingredients": "", "Notes_Instructions": "Trim* refers to the process of cutting away excess fat or undesirable parts. Sear means to brown the meat quickly. Sweat* is to cook gently in a small amount of fat to soften and release moisture." }