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": "116 ORGAN MEATS\nAUX LYONNAIS\nSABODET COOKED IN\nRASTEAU WINE\nwith Leek and Mashed Potatoes.\nSERVES 4\nPREPARATION: 30 MINUTES\nCOOKING: 1 HOUR 15 MINUTES\nSAUSAGE\n1 SABODET (PIG'S HEAD SAUSAGE)\n1 LITER 4 1/4 CUPS RASTEAU WINE\n(OR OTHER RHÔNE RED)\nLEEK AND MASHED POTATOES\n1 LEEK\n40G 1.41 OUNCES (3\nTABLESPOONS) BUTTER\n2 SPRIGS THYME\nSALT\nPEPPER\n800G 1 POUND 12 OUNCES\nCHARLOTTE POTATOES.\n150ML 2/3 CUP WHITE CHICKEN\nSTOCK (P. 246)\nSAUCE\n2 BOTTLES RED RASTEAU WINE\n(OR OTHER RHÔNE RED),\nPLUS 500ML - 2 CUPS\n1 CARROT\n1 ONION\n20G 0.71 OUNCE\n(1 1/2 TABLESPOONS) BUTTER\n1 CLOVE GARLIC\n1 SPRIG THYME\n300ML\n1 1/4 CUPS VEAL JUS\nMAKE THE\nSAUSAGE\nPrick the sausage with a fork. Put the red wine into a Dutch oven\n(cast-iron casserole), add the sausage, and simmer* for 30 minutes.\nMAKE THE LEEK AND\nMASHED\nPOTATOES\nRemove the roots and outer leaf from the leek, and cut off the\ngreen part. Carefully wash and cut the white part of the leek into\n3cm-1 1/4 inch-thick slices, then finely julienne*. Sweat* the leek\nin a saucepan with a tablespoon of butter and a sprig of thyme for\n10 minutes, seasoning with salt and pepper. Boil the potatoes in\nsalted water. When cooked, drain, peel, and coarsely mash with a\nfork, adding the leek, chicken stock, the remaining butter, and the\nleaves from the remaining thyme sprig. Season with salt and pepper.\nMAKE THE SAUCE\nPour one bottle of wine into a large saucepan, bring to a boil, light\nwith a match, and flambé. Reduce* to a syrupy consistency. Add the\nsecond bottle and reduce to 400ml - 1 2/3 cups.\nPeel the carrot and onion. Cut into small dice. In a Dutch oven\n(cast-iron casserole), brown the carrot and onion in the butter. Add\nthe unpeeled garlic and the thyme, and deglaze* with the 500ml -\n2 cups wine. Reduce, then add the veal jus and reduce again. Filter\nthrough a very fine strainer (sieve) into another Dutch oven, then\nincorporate the 400ml - 1 2/3 cups wine reduction and season with\nsalt and pepper.\nFINISHING\nCut the sausage into thick slices and reheat in the Dutch oven with\nthe sauce. Serve the mashed potatoes with leek in another Dutch\noven. Season with pepper.\n(SEE P. 250)\nSALT\nPEPPER\nTHE WINE\nA RED RHÔNE WINE, SUCH AS COTES DU RHÔNE\nVILLAGE CHUSCLAN"
}
json
{
"NbPersons": 4,
"Language": "en",
"Category": "main",
"Title": "116 ORGAN MEATS",
"Subtitle": "AUX LYONNAIS SABODET COOKED IN RASTEAU WINE with Leek and Mashed Potatoes.",
"Preparation_Time": 30,
"Cooking_Time": 75,
"Difficulty": "medium",
"Ingredients": [
{
"section": "Sausage",
"ingredients": [
"1 SABODET (PIG'S HEAD SAUSAGE)",
"1 LITER 4 1/4 CUPS RASTEAU WINE (OR OTHER RHÔNE RED)"
]
},
{
"section": "Leek and Mashed Potatoes",
"ingredients": [
"1 LEEK",
"40G 1.41 OUNCES (3 TABLESPOONS) BUTTER",
"2 SPRIGS THYME",
"SALT",
"PEPPER",
"800G 1 POUND 12 OUNCES CHARLOTTE POTATOES.",
"150ML 2/3 CUP WHITE CHICKEN STOCK (P. 246)"
]
},
{
"section": "Sauce",
"ingredients": [
"2 BOTTLES RED RASTEAU WINE (OR OTHER RHÔNE RED), PLUS 500ML - 2 CUPS",
"1 CARROT",
"1 ONION",
"20G 0.71 OUNCE (1 1/2 TABLESPOONS) BUTTER",
"1 CLOVE GARLIC",
"1 SPRIG THYME",
"300ML 1 1/4 CUPS VEAL JUS"
]
}
],
"Description": "A hearty dish featuring a pig's head sausage braised in rich Rasteau wine, served with a delicate leek and mashed potato accompaniment, perfect for a comforting meal.",
"Instructions": [
"Prick the sausage with a fork.",
"Put the red wine into a Dutch oven (cast-iron casserole), add the sausage, and simmer* for 30 minutes.",
"Remove the roots and outer leaf from the leek, and cut off the green part.",
"Carefully wash and cut the white part of the leek into 3cm-1 1/4 inch-thick slices, then finely julienne*.",
"Sweat* the leek in a saucepan with a tablespoon of butter and a sprig of thyme for 10 minutes, seasoning with salt and pepper.",
"Boil the potatoes in salted water.",
"When cooked, drain, peel, and coarsely mash with a fork, adding the leek, chicken stock, the remaining butter, and the leaves from the remaining thyme sprig.",
"Season with salt and pepper.",
"Pour one bottle of wine into a large saucepan, bring to a boil, light with a match, and flambé.",
"Reduce* to a syrupy consistency.",
"Add the second bottle and reduce to 400ml - 1 2/3 cups.",
"Peel the carrot and onion.",
"Cut into small dice.",
"In a Dutch oven (cast-iron casserole), brown the carrot and onion in the butter.",
"Add the unpeeled garlic and the thyme, and deglaze* with the 500ml - 2 cups wine.",
"Reduce, then add the veal jus and reduce again.",
"Filter through a very fine strainer (sieve) into another Dutch oven, then incorporate the 400ml - 1 2/3 cups wine reduction and season with salt and pepper.",
"Cut the sausage into thick slices and reheat in the Dutch oven with the sauce.",
"Serve the mashed potatoes with leek in another Dutch oven.",
"Season with pepper."
],
"AuthorName": "",
"Notes_Ingredients": "A RED RHÔNE WINE, SUCH AS COTES DU RHÔNE VILLAGE CHUSCLAN",
"Notes_Instructions": ""
}