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": "VEAL LIVER\nwith Persillade and Fondant Potatoes\nORGAN MEATS 119\nAUX LYONNAIS\nMAKE THE\nFONDANT POTATOES\nPreheat the oven to 180°C - 350°F (gas mark 4). Peel and rinse\nthe potatoes, and cut them into 3cm- 1 1/4 inch-thick rounds. Lay\nthe potato slices flat in a Dutch oven (cast-iron casserole). Add the\nchicken stock, butter, unpeeled garlic, and thyme. Season with salt.\nCover with a lid and bring to a boil over high heat, then put the pan\nin the oven for 20 minutes. When the potatoes are cooked, remove\nthe lid and reduce* the liquid until the potatoes are caramelized.\nMAKE THE LIVER AND SAUCE\nRemove the membrane and nerves from the liver. Cut it into four\nuniform slices. Season the slices with fleur de sel and pepper. Sprinkle\nonly one side with flour, and tap lightly to remove the excess. Sear*\ngently, in a skillet or frying pan with the clarified butter, for 2 min-\nutes. Turn them over, add 10g - 0.35 ounce (3/4 tablespoon) butter,\nand baste until they are cooked to the desired degree. Transfer\nthe liver slices to a rack and rest. Peel the garlic clove, and mince.\nAdd the remaining butter to the pan and melt. Brown* the garlic\nand deglaze the pan with the vinegar. Season with fleur de sel and\npepper, if necessary.\nFINISHING\nMince the parsley. Serve the fondant potatoes in a large skillet or\nfrying pan. Arrange the liver slices over the potatoes, cover with\nsauce and minced parsley, and then top with the slices of bacon.\nSprinkle with freshly ground pepper.\nSERVES 4\nPREPARATION: 30 MINUTES\nCOOKING: 30 MINUTES\nFONDANT POTATOES\n10 LARGE ROSEVAL POTATOES\n(OR OTHER RED-SKINNED, WAXY,\nYELLOW-FLESHED POTATO)\n200ML 3/4 CUP PLUS\n1 TABLESPOON WHITE CHICKEN\nSTOCK (SEE P. 246)\n50G 1.76 OUNCES\n(3 1/2 TABLESPOONS) BUTTER\n1 CLOVE GARLIC\n5 SPRIGS THYME\nSALT\nLIVER AND SAUCE\n800G 1 POUND 12 OUNCES MILK-\nFED VEAL LIVER\nFLEUR DE SEL\nFRESHLY GROUND PEPPER\n100G 3.53 OUNCES (3/4 CUP\nPLUS 1 TABLESPOON) FLOUR\n80ML 1/3 CUP CLARIFIED BUTTER\n40G\n(SEE P. 245)\n1.41 OUNCES\n(3 TABLESPOONS) BUTTER\nPARSLEY\n100ML\n1 CLOVE GARLIC\n3/4 CUP PLUS\n1 TABLESPOON WINE VINEGAR\nTHE WINE\nA RED RHÔNE WINE, SUCH AS CÔTE-RÔTIE\nFINISHING\nLEAVES FROM 6 SPRIGS FLAT-LEAF\n4 VERY THIN SLICES DRY-CURED\nBACON"
}
json
{
"NbPersons": 4,
"Language": "fr",
"Category": "main",
"Title": "VEAL LIVER",
"Subtitle": "with Persillade and Fondant Potatoes",
"Preparation_Time": 30,
"Cooking_Time": 30,
"Difficulty": "medium",
"Ingredients": [
{
"section": "FONDANT POTATOES",
"ingredients": [
"10 LARGE ROSEVAL POTATOES (OR OTHER RED-SKINNED, WAXY, YELLOW-FLESHED POTATO)",
"200ML 3/4 CUP PLUS 1 TABLESPOON WHITE CHICKEN STOCK",
"50G 1.76 OUNCES (3 1/2 TABLESPOONS) BUTTER",
"1 CLOVE GARLIC",
"5 SPRIGS THYME",
"SALT"
]
},
{
"section": "LIVER AND SAUCE",
"ingredients": [
"800G 1 POUND 12 OUNCES MILK-FED VEAL LIVER",
"FLEUR DE SEL",
"FRESHLY GROUND PEPPER",
"100G 3.53 OUNCES (3/4 CUP PLUS 1 TABLESPOON) FLOUR",
"80ML 1/3 CUP CLARIFIED BUTTER",
"40G (1.41 OUNCES (3 TABLESPOONS) BUTTER",
"PARSLEY",
"100ML 1 CLOVE GARLIC",
"3/4 CUP PLUS 1 TABLESPOON WINE VINEGAR",
"THE WINE A RED RHÔNE WINE, SUCH AS CÔTE-RÔTIE"
]
},
{
"section": "FINISHING",
"ingredients": [
"LEAVES FROM 6 SPRIGS FLAT-LEAF",
"4 VERY THIN SLICES DRY-CURED BACON"
]
}
],
"Description": "Une recette délicieuse de foie de veau avec des pommes de terre fondantes, parfaite pour un repas réconfortant.",
"Instructions": [
"Preheat the oven to 180°C - 350°F (gas mark 4).",
"Peel and rinse the potatoes, and cut them into 3cm- 1 1/4 inch-thick rounds.",
"Lay the potato slices flat in a Dutch oven (cast-iron casserole).",
"Add the chicken stock, butter, unpeeled garlic, and thyme.",
"Season with salt.",
"Cover with a lid and bring to a boil over high heat, then put the pan in the oven for 20 minutes.",
"When the potatoes are cooked, remove the lid and reduce the liquid until the potatoes are caramelized.",
"Remove the membrane and nerves from the liver.",
"Cut it into four uniform slices.",
"Season the slices with fleur de sel and pepper.",
"Sprinkle only one side with flour, and tap lightly to remove the excess.",
"Sear gently, in a skillet or frying pan with the clarified butter, for 2 minutes.",
"Turn them over, add 10g - 0.35 ounce (3/4 tablespoon) butter, and baste until they are cooked to the desired degree.",
"Transfer the liver slices to a rack and rest.",
"Peel the garlic clove, and mince.",
"Add the remaining butter to the pan and melt.",
"Brown the garlic and deglaze the pan with the vinegar.",
"Season with fleur de sel and pepper, if necessary.",
"Mince the parsley.",
"Serve the fondant potatoes in a large skillet or frying pan.",
"Arrange the liver slices over the potatoes, cover with sauce and minced parsley, and then top with the slices of bacon.",
"Sprinkle with freshly ground pepper."
],
"AuthorName": "",
"Notes_Ingredients": "",
"Notes_Instructions": ""
}