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.
code
Assistant
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 181\nMALLARD DUCK PIE\nwith Morgon Wine Reduction\nTHE WINE: A RED BURGUNDY, SUCH AS GEVREY CHAMBERTIN\nMAKE THE GROUND (MINCED) FILLING\nUse a knife to chop the duck meat and fatback together.\nMAKE THE\nDICED\nFILLING\nChop the fillets, livers, and fatback into uniform 4mm - 1/8 inch\ndice. Peel and mince* the shallot. Gently melt the fatback in a\nsauté pan. Add the shallot, followed by the diced fillets and\nlivers. Fry quickly, keeping the meat pink. Cool rapidly in a bowl\nover ice cubes.\nMAKE THE\nFORCE MEAT\nFILLING\nRemove any bile from the livers and separate them into two lobes..\nCut the fatback and pork loin into small dice. Peel and mince the\nshallot. Fry the chicken livers, fatback, and pork loin over high heat,\nshaking the pan. Add the shallot, thyme, and bay leaf. Deglaze*\nwith the wine, then remove the thyme. Transfer to a blender and\nfinely purée. Pass the forcemeat through a strainer (sieve) to make\nit smooth and even. Cool as quickly as possible.\nMAKE THE MORGON\nWINE REDUCTION\nChop up the duck carcasses and slice* the shallot. Brown the carcass\npieces in a Dutch oven (cast-iron casserole) with the oil. Add the\nbutter and shallot, and sweat* gently, being careful not to color the\nshallot much. Deglaze with the wine and reduce* by half. Add half\nof the broth and simmer very gently. When the liquid is reduced to\na syrupy consistency, add the rest of the broth and the peppercorns.\nCook for 1 hour 30 minutes, reducing to a sauce thick enough\nto coat the back of a spoon. Filter the sauce through a very fine\nstrainer into a small saucepan. Set aside* in a warm place. Season\nwith salt and pepper.\nFINISHING\nPreheat the oven to 220°C - 425°F (gas mark 7). Mix together the\nground (minced) filling, the diced filling, and the forcemeat filling.\nFold in the juniper berry, thyme, Madeira, cognac, sherry vinegar,\nfleur de sel, and pepper. Mold the filling into four disks, 9cm - 3\n1/2 inches in diameter and 3cm - 1 1/4 inches thick. Insert a slice\nof foie gras into the middle. Roll out the puff pastry to an even\nthickness of 1.5mm - 1/16 inch, then cut out eight 12cm- - 4 3/4\ninch-diameter disks. Position the disks of filling in the center of four\npastry disks. Glaze the surface of the filling with egg yolk. Cover\nwith the remaining pastry disks. Glaze the tops of the puff pastry.\nMake a small vent in the middle of each. Bake for 16 minutes at\n190°C 375°F (gas mark 5). Serve the reduction separately.\nSERVES 4\nPREPARATION: 1 HOUR 30 MINUTES\nCOOKING: 2 HOURS.\nGROUND (MINCED) FILLING\n300G 10.58 OUNCES MALLARD DUCK MEAT\n100G 3.53 OUNCES FATBACK (PORK FAT)\n250G\n50G\nDICED FILLING\n8.82 OUNCES MALLARD DUCK FILLETS\n1.76 OUNCES MALLARD DUCK LIVERS\n50G 1.76 OUNCES FATBACK (PORK FAT)\n1 SHALLOT\n125G\nFORCEMEAT FILLING\n4.41 OUNCES CHICKEN LIVERS\n125G 4.41 OUNCES FATBACK (PORK FAT)\n125G 4.41 OUNCES PORK LOIN\n1 SHALLOT\n1 SPRIG THYME\n1/4 BAY LEAF\n200ML 3/4 CUP PLUS 1 TABLESPOON\nRED WINE\nMORGON WINE REDUCTION\n4 MALLARD DUCK CARCASSES\n1 SHALLOT\n30ML 2 TABLESPOONS OLIVE OIL\n50G 1.76 OUNCES BUTTER\n100ML 1/3 CUP PLUS 1 TABLESPOON\nMORGON WINE\n1 LITER 4 1/4 CUPS CHICKEN BROTH\n(SEE P. 245)\n5 BLACK PEPPERCORNS, PLUS FRESHLY\nGROUND PEPPER\nSALT\nFINISHING\n1 JUNIPER BERRY, CHOPPED*\nLEAVES OF 1 SPRIG THYME, MINCED\n10ML 2 TEASPOONS MADEIRA WINE\n10ML 2 TEASPOONS COGNAC\n10ML 2 TEASPOONS SHERRY VINEGAR\n10G 0.35 OUNCE (2 1/2 TEASPOONS)\nFLEUR DE SEL\n4G 0.14 OUNCE (2 TEASPOONS) FRESHLY\nGROUND PEPPER\n4 (50G 1.76 OUNCE) SLICES RAW FOIE GRAS\n250G 8.82 OUNCES PUFF PASTRY\n1 EGG YOLK"
}
json
{
"NbPersons": 4,
"Language": "en",
"Category": "main",
"Title": "MALLARD DUCK PIE",
"Subtitle": "with Morgon Wine Reduction",
"Preparation_Time": 90,
"Cooking_Time": 120,
"Difficulty": "hard",
"Ingredients": [
{
"section": "GROUND (MINCED) FILLING",
"ingredients": [
"300G 10.58 OUNCES MALLARD DUCK MEAT",
"100G 3.53 OUNCES FATBACK (PORK FAT)"
]
},
{
"section": "DICED FILLING",
"ingredients": [
"8.82 OUNCES MALLARD DUCK FILLETS",
"1.76 OUNCES MALLARD DUCK LIVERS",
"50G 1.76 OUNCES FATBACK (PORK FAT)",
"1 SHALLOT"
]
},
{
"section": "FORCEMEAT FILLING",
"ingredients": [
"4.41 OUNCES CHICKEN LIVERS",
"125G 4.41 OUNCES FATBACK (PORK FAT)",
"125G 4.41 OUNCES PORK LOIN",
"1 SHALLOT",
"1 SPRIG THYME",
"1/4 BAY LEAF",
"200ML 3/4 CUP PLUS 1 TABLESPOON RED WINE"
]
},
{
"section": "MORGON WINE REDUCTION",
"ingredients": [
"4 MALLARD DUCK CARCASSES",
"1 SHALLOT",
"30ML 2 TABLESPOONS OLIVE OIL",
"50G 1.76 OUNCES BUTTER",
"100ML 1/3 CUP PLUS 1 TABLESPOON MORGON WINE",
"1 LITER 4 1/4 CUPS CHICKEN BROTH (SEE P. 245)",
"5 BLACK PEPPERCORNS, PLUS FRESHLY GROUND PEPPER",
"SALT"
]
},
{
"section": "FINISHING",
"ingredients": [
"1 JUNIPER BERRY, CHOPPED*",
"LEAVES OF 1 SPRIG THYME, MINCED",
"10ML 2 TEASPOONS MADEIRA WINE",
"10ML 2 TEASPOONS COGNAC",
"10ML 2 TEASPOONS SHERRY VINEGAR",
"10G 0.35 OUNCE (2 1/2 TEASPOONS) FLEUR DE SEL",
"4G 0.14 OUNCE (2 TEASPOONS) FRESHLY GROUND PEPPER",
"4 (50G 1.76 OUNCE) SLICES RAW FOIE GRAS",
"250G 8.82 OUNCES PUFF PASTRY",
"1 EGG YOLK"
]
}
],
"Description": "A luxurious pie featuring mallard duck, expertly prepared and served with a rich Morgon wine reduction, perfect for impressing guests or treating yourself to a gourmet experience.",
"Instructions": [
"Use a knife to chop the duck meat and fatback together.",
"Chop the fillets, livers, and fatback into uniform 4mm - 1/8 inch dice. Peel and mince the shallot. Gently melt the fatback in a sauté pan. Add the shallot, followed by the diced fillets and livers. Fry quickly, keeping the meat pink. Cool rapidly in a bowl over ice cubes.",
"Remove any bile from the livers and separate them into two lobes. Cut the fatback and pork loin into small dice. Peel and mince the shallot. Fry the chicken livers, fatback, and pork loin over high heat, shaking the pan. Add the shallot, thyme, and bay leaf. Deglaze with the wine, then remove the thyme. Transfer to a blender and finely purée. Pass the forcemeat through a strainer (sieve) to make it smooth and even. Cool as quickly as possible.",
"Chop up the duck carcasses and slice the shallot. Brown the carcass pieces in a Dutch oven (cast-iron casserole) with the oil. Add the butter and shallot, and sweat gently, being careful not to color the shallot much. Deglaze with the wine and reduce by half. Add half of the broth and simmer very gently. When the liquid is reduced to a syrupy consistency, add the rest of the broth and the peppercorns. Cook for 1 hour 30 minutes, reducing to a sauce thick enough to coat the back of a spoon. Filter the sauce through a very fine strainer into a small saucepan. Set aside in a warm place. Season with salt and pepper.",
"Preheat the oven to 220°C - 425°F (gas mark 7). Mix together the ground (minced) filling, the diced filling, and the forcemeat filling. Fold in the juniper berry, thyme, Madeira, cognac, sherry vinegar, fleur de sel, and pepper. Mold the filling into four disks, 9cm - 3 1/2 inches in diameter and 3cm - 1 1/4 inches thick. Insert a slice of foie gras into the middle. Roll out the puff pastry to an even thickness of 1.5mm - 1/16 inch, then cut out eight 12cm - 4 3/4 inch-diameter disks. Position the disks of filling in the center of four pastry disks. Glaze the surface of the filling with egg yolk. Cover with the remaining pastry disks. Glaze the tops of the puff pastry. Make a small vent in the middle of each. Bake for 16 minutes at 190°C 375°F (gas mark 5). Serve the reduction separately."
],
"AuthorName": "AUX LYONNAIS",
"Notes_Ingredients": "",
"Notes_Instructions": ""
}