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": "186 GAME\nSERVES 4\nPREPARATION: 1 1/2 HOUR\nCOOKING: 3 1/2 HOURS\nHARE\n150G 5.29 OUNCES FATBACK\n(PORK FAT)\n1KG 2 POUNDS 4 OUNCES HARE\nFOREQUARTERS\n2 CLOVES GARLIC\n10G 0.35 OUNCE (4 TEASPOONS)\nCOARSELY GROUND PEPPER\nSEVERAL SPRIGS THYME\n5 JUNIPER BERRIES\n2 LITERS 8 1/2 CUPS STRONG RED.\nWINE, SUCH AS COTES DU RHÔNE\nSAUCE ROYALE\n1 (1KG 2 POUND 4 OUNCE)\nHARE CARCASS\n2 SHALLOTS\nOLIVE OIL\n50G 1.76 OUNCES (3 TABLESPOONS)\nBUTTER\n2 CLOVES GARLIC\n10G 0.35 OUNCE (4 TEASPOONS)\nCOARSELY GROUND PEPPER\n5 JUNIPER BERRIES\n1 LITER 4 1/4 CUPS STRONG RED WINE\nFIRST LIAISON\nHEART, LUNGS, AND KIDNEYS FROM\nTHE HARE\n2 SHALLOTS\n3 CLOVES GARLIC\nCIVET OF BEAUCE HARE\nFall Vegetables and Porcini,\nCooked Together\nTHE WINE\nA RED CORSICAN WINE.\nSUCH AS AJACCIO\nSECOND LIAISON\nLIVER AND ALL OF THE BLOOD FROM THE\nHARE\n60G 2.12 OUNCES DUCK FOIE GRAS\nCONFIT\n50G 1.76 OUNCES\n(3 1/2 TABLESPOONS) HEAVY CREAM\n20ML 4 TEASPOONS\nAGED RED WINE VINEGAR\nGARNISH\n2 SALSIFY ROOTS\n30G\nBUTTER\nSALT\n1.06 OUNCES (2 TABLESPOONS)\nFRESHLY GROUND PEPPER\n250ML 1 CUP WHITE CHICKEN STOCK\n(SEE P. 246)\n2 SMALL POTATOES\n2 MARTIN SEC PEARS\n8 YOUNG PORCINI (CEPS)\n50ML 3 1/2 TABLESPOONS OLIVE OIL\n2 SAVOY CABBAGE LEAVES\n8 CANDIED CHESTNUTS\nFINISHING\nFRESHLY GROUND PEPPER\n100ML 1/3 CUP AGED RED\nWINE VINEGAR\nMAKE THE HARE\nPreheat the oven to 140°C - 275°F. Line the bottom of a Dutch oven\n(cast-iron casserole) with the fatback and arrange the forequarters\nover it. Add the unpeeled garlic, the ground pepper, thyme, and\ncrushed juniper berries. Cover with more fatback and add the wine.\nCook for 3 hours. Debone and shred the meat. Set aside the cook-\ning liquid.\nMAKE THE SAUCE ROYALE\nChop the carcass into small pieces, and peel and slice* the shallots.\nHeat a little oil in a Dutch oven and brown* the carcasses. When they\nbegin to darken, add the butter, shallots, unpeeled garlic, coarsely\nground pepper, and crushed juniper berries, and cook over medium\nheat. When the carcass pieces are well-browned, take them out and\ndeglaze the pan with the wine. Reduce* by half and add the hare cook-\ning liquid. Simmer while skimming regularly. When the sauce becomes\nthick, filter through a conical strainer* (sieve) into a bowl. Keep warm.\nMAKE THE FIRST LIAISON\nPass the heart, lungs, and kidneys through a meat grinder (mincer)\nusing the small plate. Peel and mince* the shallots and garlic, and\nadd to the ground organ meat. Add 30 ml - 2 tablespoons sauce\nroyale to the mixture and whisk well. Add the mixture to the sauce\nand mix well.\nMAKE THE SECOND LIAISON\nBlend the hare liver and blood, foie gras confit, cream, and vinegar\ntogether in a food processor. Transfer the mixture to a sauté pan*\nand heat. Add 30 ml - 2 tablespoons warm first liaison sauce and\nwhisk well, then add this mixture to the rest of that sauce.\nPlace over very low heat to thicken, then pass through a fine conical\nstrainer into a bowl and set aside.\nMAKE THE GARNISH\nPreheat the oven to 180°C - 350°F. Peel the salsify roots and cut\ninto 8cm 3 1/4 inch-long batons. In a sauté pan with half the but-\nter, fry the salsify and color nicely. Season the salsify with salt and\npepper and cook with 100 ml - 1/3 cup of the chicken stock for 15\nminutes to soften. Halve the potatoes and pears and brown gently\nin a Dutch oven with the remaining butter and stock, then cook in\nthe oven for 10 minutes. Carefully scrape the porcinis and cut them\nin half. Heat the oil until very hot in a sauté pan*, then sear the\nporcinis, cut side down. Season them with salt and pepper, and once\nwell browned, turn them over and cook for another 5 minutes. Cut\nthe cabbage leaves into rectangles and brown them in a sauté pan.\nAdd the chestnuts, then the potatoes, pears, mushrooms, and salsify.\nFINISHING\nBind the shredded hare meat with the second liaison sauce. Season\nwith pepper and vinegar. Serve the hare and garnish in separate bowls." - Assistant