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": "AUX LYONNAIS\nGAME 189\nCIVET OF WILD BOAR\nwith Chestnuts, Porcini, and Crabapples\nTHE WINE A RED RHÔNE WINE, SUCH AS VACQUEYRAS\nMAKE THE\nCIVET MARINADE\nOne day ahead, cut the haunch into large pieces. Peel and cut the\ncarrots, onion, and shallots into mirepoix* with the celery. Heat a\nlittle olive oil in a Dutch oven (cast-iron casserole) and sweat* the\nmirepoix and unpeeled garlic. Add the bouquet garni, juniper berries,\nand cloves. Add the wine and bring to a boil. Transfer to a container\nand let cool. Put all the meat pieces into a deep dish and cover with\nthe marinade. Cover with plastic wrap and marinate for 24 hours in\nthe refrigerator.\nCOOK THE CIVET\nThe day of serving, drain the meat pieces and vegetables, including\nthe aromatics, separately. Collect the marinade liquid and set aside.\nSeason the meat with salt. Heat a little olive oil in a Dutch oven. Pat\nthe meat pieces dry with paper towels, then brown them on all sides.\nAdd all the vegetables from the marinade, except the bouquet garni,\nand sweat them; reserve the bouquet garni. Deglaze* with the vinegar\nand reduce* for several minutes. Add the marinade liquid and the\nbouquet garni. Bring to a boil, skim regularly, cover with a lid, and\ncook for 30 minutes. Preheat the oven to 150°C - 300°F (gas mark\n2). Put the covered Dutch oven into the oven and cook for about 2\nhours. Remove from the oven and rest for 30 minutes. Transfer the\nmeat to another dish and filter the cooking liquid through a strainer\n(sieve) into a saucepan.\nMAKE THE CIVET\nSAUCE\nBring the cooking liquid to a boil. Remove from heat, add the blood\nand butter, and beat*. Season with the sherry vinegar and a turn of\nthe pepper mill. Set aside*.\nMAKE THE\nGARNISH\nQuarter the apples and remove the seeds. Brown them in a little\nolive oil in a hot skillet or frying pan, then finish with the butter to\ncaramelize well. Scrape the stems of the porcinis with a knife and\nclean them by wiping with a damp cloth. Set aside three whole por-\ncinis for finishing, and cut the other two in half and sauté in olive oil.\nFINISHING\nGently heat the civet in a Dutch oven with the civet sauce. Set\nthe oven temperature to 150°C - 300°F (gas mark 2) and heat the\nmushrooms, apples, and chestnuts together. Thinly slice the whole\nporcinis. Arrange the meat pieces in a serving dish with the garnish.\nCover generously with sauce, and the slices of mushroom. Finish by\nseasoning with a turn of the pepper mill.\nSERVES 4\nPREPARATION: 1 HOUR\nCOOKING: 2 1/2 HOURS\nRESTING: 24 HOURS +\n30 MINUTES\nCIVET OF WILD BOAR\n1.5KG 3 POUNDS 4 OUNCES\nMARCASSIN (YOUNG WILD BOAR)\nHAUNCH\n2 CARROTS\n1 WHITE ONION\n2 SHALLOTS\n2 CELERY STALKS\nOLIVE OIL\n3 CLOVES GARLIC\n1 BOUQUET GARNI\n7 JUNIPER BERRIES\n3 CLOVES\n2 LITERS 8 1/2 CUPS RED WINE\nSALT\n100ML 1/3 CUP PLUS\n1 TABLESPOON AGED\nRED WINE VINEGAR\nCIVET SAUCE\n100ML 1/3 CUP PLUS\n1 TABLESPOON PIG'S BLOOD\n30G 1.06 OUNCES\n(2 TABLESPOONS) BUTTER.\n20ML 4 TEASPOONS SHERRY\nVINEGAR\nFRESHLY GROUND PEPPER\n10G\nGARNISH\n4 CRABAPPLES\nOLIVE OIL\n0.35 OUNCE\n(3/4 TABLESPOON) BUTTER\n5 YOUNG PORCINI (CEPS)\n12 CHESTNUTS, COOKED\nFINISHING\nFRESHLY GROUND PEPPER" - Assistant