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": "98 FISH\nCRAYFISH\n20 CRAYFISH\n1 SHALLOT\n1 CLOVE GARLIC\n1 SPRIG TARRAGON\n1 TABLESPOON OLIVE OIL\n25G 0.88 OUNCE (1 3/4\nTABLESPOONS) SEMI-SALTED BUTTER\n2 SPRIGS FRESH THYME\n5 BLACK PEPPERCORNS\n50ML 3 1/2 TABLESPOONS COGNAC\n50ML 3 1/2 TABLESPOONS\nDRY WHITE WINE\nNANTUA SAUCE\nHEADS OF THE CRAYFISH\n1 TABLESPOON OLIVE OIL\n60G -2.12 OUNCES (4 TABLESPOONS)\nBUTTER\n50G 1.76 OUNCES CARROT (1 SMALL)\n1 SHALLOT\n2 CLOVES GARLIC\n50G 1.76 OUNCES FENNEL\n(ABOUT 1/5 BULB)\n1 TABLESPOON TOMATO PASTE\n30ML 2 TABLESPOONS COGNAC\n50ML 3 1/2 TABLESPOONS DRY\nWHITE WINE\n1 TABLESPOON SOFT (SEMI-) WHIPPED CREAM*\n250ML 1 CUP WHITE CHICKEN STOCK\n(SEE P. 246)\n100G 3.53 OUNCES TOMATO\n(1 SMALL-MEDIUM)\n1 BOUQUET GARNI\n1 DRIED FENNEL STICK\n5 BLACK PEPPERCORNS\nMAKE THE FISH\n12 (60G\nSOLE FILLETS\n2.12 OUNCE) LINE-CAUGHT\n10G -0.35 OUNCE (3/4 TABLESPOON)\nBUTTER\nFINISHING\n800G 1 POUND 12 OUNCES SPINACH\nLEAVES\n15G -0.35 OUNCE (1 TABLESPOON)\nBUTTER\n1 CLOVE GARLIC\n15G 0.35 OUNCE (1 TABLESPOON)\nSHELLFISH BUTTER (SEE P. 245)\n250ML 1 CUP LIGHT CREAM\n12G 0.42 OUNCE TRUFFLE PUREE\nFILLET OF SOLE\nNanta Sauce, and\nLightly Creamed Spinach\nSERVES 4\nPREPARATION: 1 HOUR\nCOOKING: 30 MINUTES\nMAKE THE CRAYFISH\nRinse the crayfish in cold water. Devein* them: Prick\nthe tail fin with a toothpick to draw out and remove\nthe black vein (intestine). Then separate the heads\nand claws from the tails. Cut the unpeeled shallot\ninto 3mm 1/8 inch-thick rounds. Crush the garlic\nclove, and crush the tarragon sprig with your hands.\nPlace a Dutch oven (cast-iron casserole) over high\nheat with the olive oil, and sear* the tails until\nthey turn red. Lower the heat and add the butter,\nshallot, garlic, tarragon, thyme, and peppercorns.\nDeglaze with the cognac and wine and cover the\npan with a damp cloth. Let cool a little at room\ntemperature. Peel the still warm tails and set aside*.\nMAKE THE\nNANTUA SAUCE\nUse scissors to cut up the crayfish heads and claws.\nHeat the olive oil in a Dutch oven and sear the\ncrayfish pieces over high heat. When the crayfish\npieces have turned very red, lower the heat and\nadd the butter. Peel and slice* the carrot, shallot,\nand garlic, and slice the fennel. Add the vegetables\nand the tomato paste to the crayfish and cook until\nsoft. Deglaze with the cognac and wine. Reduce*\ncompletely. Add the cream and the chicken stock.\nQuarter the tomato. Add the tomato to the pan\nwith the bouquet garni, fennel stick, and pepper-\ncorns. Simmer* for 25 minutes, skimming regularly.\nRemove the pan from the heat. Remove one-quar-\nter of the liquid and set aside. Remove bouquet\ngarni, fennel stick, peppercorns, and crayfish heads\nand claws. Use a handheld blender to blend the\nsauce until smooth, then press* through a conical\nstrainer (sieve) as firmly as possible into a bowl.\nMAKE THE FISH\nFISH 99\nBENOIT\nPreheat the oven to 180°C - 350°F (gas mark 4).\nMelt the butter and brush the fillets with it. Roll up\nthe fillets, place them in an oval porcelain baking\ndish, and sear in the oven for 1 minute.\nFINISHING\nCarefully wash and dry the spinach. Heat a sauté\npan and add the butter and spinach. Prick the\ngarlic clove with a fork and use it to stir. Drain the\nspinach once it is wilted. Sear the crayfish tails in\na sauté pan* and add the shellfish butter. Reduce\nthe cream in a small saucepan until it thickens..\nArrange the spinach on plates and drizzle with the\nreduced cream. Put the sole fillets and crayfish tails\non top. Drizzle the sauce over the fillets and add\na few dots of truffle puree.\nTHE WINE\nA WHITE RHÔNE WINE, SUCH AS\nSAINT JOSEPH"
}
json
{
"NbPersons": 4,
"Language": "en",
"Category": "main",
"Title": "Fillet of Sole, Nanta Sauce, and Lightly Creamed Spinach",
"Subtitle": "",
"Preparation_Time": 60,
"Cooking_Time": 30,
"Difficulty": "medium",
"Ingredients": [
{
"section": "For the recipe",
"ingredients": [
"20 CRAYFISH",
"1 SHALLOT",
"1 CLOVE GARLIC",
"1 SPRIG TARRAGON",
"1 TABLESPOON OLIVE OIL",
"25G 0.88 OUNCE (1 3/4 TABLESPOONS) SEMI-SALTED BUTTER",
"2 SPRIGS FRESH THYME",
"5 BLACK PEPPERCORNS",
"50ML 3 1/2 TABLESPOONS COGNAC",
"50ML 3 1/2 TABLESPOONS DRY WHITE WINE",
"1 TABLESPOON OLIVE OIL",
"60G -2.12 OUNCES (4 TABLESPOONS) BUTTER",
"50G 1.76 OUNCES CARROT (1 SMALL)",
"1 SHALLOT",
"2 CLOVES GARLIC",
"50G 1.76 OUNCES FENNEL (ABOUT 1/5 BULB)",
"1 TABLESPOON TOMATO PASTE",
"30ML 2 TABLESPOONS COGNAC",
"50ML 3 1/2 TABLESPOONS DRY WHITE WINE",
"1 TABLESPOON SOFT (SEMI-) WHIPPED CREAM*",
"250ML 1 CUP WHITE CHICKEN STOCK (SEE P. 246)",
"100G 3.53 OUNCES TOMATO (1 SMALL-MEDIUM)",
"1 BOUQUET GARNI",
"1 DRIED FENNEL STICK",
"5 BLACK PEPPERCORNS",
"12 (60G SOLE FILLETS 2.12 OUNCE)",
"10G -0.35 OUNCE (3/4 TABLESPOON) BUTTER",
"800G 1 POUND 12 OUNCES SPINACH LEAVES",
"15G -0.35 OUNCE (1 TABLESPOON) BUTTER",
"1 CLOVE GARLIC",
"15G 0.35 OUNCE (1 TABLESPOON) SHELLFISH BUTTER (SEE P. 245)",
"250ML 1 CUP LIGHT CREAM",
"12G 0.42 OUNCE TRUFFLE PUREE"
]
}
],
"Description": "This exquisite dish combines tender fillets of sole with a rich Nantua sauce and delicate creamed spinach, making it a luxurious meal perfect for special occasions.",
"Instructions": [
"Rinse the crayfish in cold water. Devein* them: Prick the tail fin with a toothpick to draw out and remove the black vein (intestine). Then separate the heads and claws from the tails. Cut the unpeeled shallot into 3mm 1/8 inch-thick rounds. Crush the garlic clove, and crush the tarragon sprig with your hands.",
"Place a Dutch oven (cast-iron casserole) over high heat with the olive oil, and sear* the tails until they turn red. Lower the heat and add the butter, shallot, garlic, tarragon, thyme, and peppercorns. Deglaze with the cognac and wine and cover the pan with a damp cloth. Let cool a little at room temperature. Peel the still warm tails and set aside*.",
"Make the Nantua sauce: Use scissors to cut up the crayfish heads and claws. Heat the olive oil in a Dutch oven and sear the crayfish pieces over high heat. When the crayfish pieces have turned very red, lower the heat and add the butter. Peel and slice* the carrot, shallot, and garlic, and slice the fennel.",
"Add the vegetables and the tomato paste to the crayfish and cook until soft. Deglaze with the cognac and wine. Reduce* completely. Add the cream and the chicken stock. Quarter the tomato. Add the tomato to the pan with the bouquet garni, fennel stick, and peppercorns. Simmer* for 25 minutes, skimming regularly.",
"Remove the pan from the heat. Remove one-quarter of the liquid and set aside. Remove bouquet garni, fennel stick, peppercorns, and crayfish heads and claws. Use a handheld blender to blend the sauce until smooth, then press* through a conical strainer (sieve) as firmly as possible into a bowl.",
"Make the fish: Preheat the oven to 180°C - 350°F (gas mark 4). Melt the butter and brush the fillets with it. Roll up the fillets, place them in an oval porcelain baking dish, and sear in the oven for 1 minute.",
"Finishing: Carefully wash and dry the spinach. Heat a sauté pan and add the butter and spinach. Prick the garlic clove with a fork and use it to stir. Drain the spinach once it is wilted. Sear the crayfish tails in a sauté pan* and add the shellfish butter. Reduce the cream in a small saucepan until it thickens.",
"Arrange the spinach on plates and drizzle with the reduced cream. Put the sole fillets and crayfish tails on top. Drizzle the sauce over the fillets and add a few dots of truffle puree."
],
"AuthorName": "Benoit",
"Notes_Ingredients": "",
"Notes_Instructions": "Deveining the crayfish is essential for taste; ensure to do this carefully."
}