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": "144 MEATS\nAUX LYONNAIS\nPARMENTIER OF\nMONT MÉZENC BEEF\nwith Chanterelles\nSERVES 4\nPREPARATION: 1 HOUR\nCOOKING: 8 HOURS.\nMEAT\n3 CARROTS\n1 LEEK\n3 CELERY STALKS\n3 YELLOW ONIONS\n1KG\n2 POUNDS 4 OUNCES\nBEEF PLATE\n500G 1 POUND 2 OUNCES\nCHUCK STEAK\n500G 1 POUND 2 OUNCES BEEF\nBOTTOM ROUND\nCOARSE GRAY SEA SALT\nBLACK PEPPERCORNS\n3 CLOVES\n1 BOUQUET GARNI\nFRESHLY GROUND PEPPER\nBREAD CRUMBS\n1 (250G 8.82 OUNCE) LOAF\nSANDWICH BREAD\nMUSHROOMS\n500G 1 POUND 2 OUNCES MEDIUM\nCHANTERELLE MUSHROOMS\n2 SHALLOTS\n1/2 BUNCH FLAT-LEAF PARSLEY\nOLIVE OIL\nMASHED POTATOES\n1KG 2 POUNDS 4 OUNCES\nBINTJE OR OTHER YELLOW-SKINNED\nPOTATOES\nKOSHER (COARSE) SALT\n200ML 3/4 CUP PLUS\n1 TABLESPOON LIGHT CREAM\n200ML\n3/4 CUP PLUS\n1 TABLESPOON MILK\n200G 7 OUNCES (1 3/4 STICKS)\nBUTTER\nMAKE THE MEAT\nPeel and dice the carrots. Carefully wash the leek and cut into large\nchunks; cut the celery into chunks. Halve the unpeeled onions and\nchar them in a skillet or frying pan. Put the pieces of beef into a\nDutch oven (cast-iron casserole) with water to cover. Bring to a boil\nand skim off the scum. Season with the gray sea salt, peppercorns,\nand cloves. Add the carrots, leek, celery, charred onions, and bou-\nquet garni. Simmer for 6 hours. Remove the meat and, when cool\nenough to handle, shred it with your hands into a bowl. Adjust the\nseasoning with gray salt and pepper, then spread the meat out to a\nthickness of 2cm 3/4 inch in a gratin dish.\nMAKE THE BREAD\nCRUMBS\nRemove the crust from the loaf, cut the loaf into pieces, and dry out\nin the oven at 100°C -210°F (gas mark 1/4) for 1 hour. When very\ndry, grind in a food processor.\nMAKE THE\nMUSHROOMS\nCut off the stems and carefully wash the mushrooms. Dry them on a\ncloth. Peel and mince* the shallots. Pluck and mince the parsley. In\na skillet or frying pan, sweat the shallots in a little olive oil, add the\nmushrooms, and sauté very briskly. When cooked, add the parsley,\nthen spread over the meat in the dish.\nMAKE THE MASHED\nPOTATOES\nWash and peel the potatoes, then place in a saucepan with cold water\nto cover. Add a handful of kosher salt and place the saucepan over\nthe heat. Cook at a simmer, then drain and put through a food mill.\nHeat the cream and milk, and cut the butter into pieces. Incorporate\nthe milk-cream mixture into the mashed potatoes, add the butter, a\npiece at a time, and season with kosher salt.\nFINISHING\nPreheat the oven to 180°C - 350°F (gas mark 4). Finish preparing\nthe Parmentier: Spread the mashed potatoes over the meat and\nmushrooms, then cover with bread crumbs. Bake for 15 minutes,\nthen finish under the broiler to color evenly.\nTHE WINE\nA RED RHÔNE WINE, SUCH AS RASTEAU"
}
json
{
"NbPersons": 4,
"Language": "en",
"Category": "main",
"Title": "AUX LYONNAIS PARMENTIER OF MONT MÉZENC BEEF with Chanterelles",
"Subtitle": "",
"Preparation_Time": 60,
"Cooking_Time": 480,
"Difficulty": "medium",
"Ingredients": [
{
"section": "Pour la recette",
"ingredients": [
"3 CARROTS",
"1 LEEK",
"3 CELERY STALKS",
"3 YELLOW ONIONS",
"1KG 2 POUNDS 4 OUNCES BEEF PLATE",
"500G 1 POUND 2 OUNCES CHUCK STEAK",
"500G 1 POUND 2 OUNCES BEEF BOTTOM ROUND",
"COARSE GRAY SEA SALT",
"BLACK PEPPERCORNS",
"3 CLOVES",
"1 BOUQUET GARNI",
"FRESHLY GROUND PEPPER",
"BREAD CRUMBS",
"1 (250G 8.82 OUNCE) LOAF SANDWICH BREAD",
"500G 1 POUND 2 OUNCES MEDIUM CHANTERELLE MUSHROOMS",
"2 SHALLOTS",
"1/2 BUNCH FLAT-LEAF PARSLEY",
"OLIVE OIL",
"1KG 2 POUNDS 4 OUNCES BINTJE OR OTHER YELLOW-SKINNED POTATOES",
"KOSHER (COARSE) SALT",
"200ML 3/4 CUP PLUS 1 TABLESPOON LIGHT CREAM",
"200ML 3/4 CUP PLUS 1 TABLESPOON MILK",
"200G 7 OUNCES (1 3/4 STICKS) BUTTER"
]
}
],
"Description": "A hearty and comforting traditional dish featuring beef and chanterelles, perfect for sharing with family and friends.",
"Instructions": [
"Peel and dice the carrots. Carefully wash the leek and cut into large chunks; cut the celery into chunks. Halve the unpeeled onions and char them in a skillet or frying pan.",
"Put the pieces of beef into a Dutch oven (cast-iron casserole) with water to cover. Bring to a boil and skim off the scum.",
"Season with the gray sea salt, peppercorns, and cloves. Add the carrots, leek, celery, charred onions, and bouquet garni.",
"Simmer for 6 hours.",
"Remove the meat and, when cool enough to handle, shred it with your hands into a bowl.",
"Adjust the seasoning with gray salt and pepper, then spread the meat out to a thickness of 2cm 3/4 inch in a gratin dish.",
"Remove the crust from the loaf, cut the loaf into pieces, and dry out in the oven at 100°C -210°F (gas mark 1/4) for 1 hour.",
"When very dry, grind in a food processor.",
"Cut off the stems and carefully wash the mushrooms. Dry them on a cloth.",
"Peel and mince the shallots. Pluck and mince the parsley.",
"In a skillet or frying pan, sweat the shallots in a little olive oil, add the mushrooms, and sauté very briskly.",
"When cooked, add the parsley, then spread over the meat in the dish.",
"Wash and peel the potatoes, then place in a saucepan with cold water to cover.",
"Add a handful of kosher salt and place the saucepan over the heat. Cook at a simmer, then drain and put through a food mill.",
"Heat the cream and milk, and cut the butter into pieces. Incorporate the milk-cream mixture into the mashed potatoes, add the butter, a piece at a time, and season with kosher salt.",
"Preheat the oven to 180°C - 350°F (gas mark 4). Finish preparing the Parmentier: Spread the mashed potatoes over the meat and mushrooms, then cover with bread crumbs.",
"Bake for 15 minutes, then finish under the broiler to color evenly."
],
"AuthorName": "",
"Notes_Ingredients": "",
"Notes_Instructions": "A RED RHÔNE WINE, SUCH AS RASTEAU"
}