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": "BENOIT\nPOULTRY 173\nCHICKEN FRICAS SEE\nwith Crayfish\nTHE WINE: A WHITE JURA WINE, SUCH AS ARBOIS SAVAGNIN\nMAKE THE\nCHICKEN\nDress* the chicken. Cut off the legs and divide them into drum-\nsticks and thighs. Debone the thighs, then season the drumsticks\nand thighs with salt and pepper. Put 1 tablespoon olive oil into\na sauté pan and brown the drumsticks and thighs on all sides.\nAdd half the butter, 1 garlic clove, and 1 sprig of thyme. Baste\nregularly and cook over medium heat for 20 minutes. Transfer to a\nrack. Preheat the oven to 180°C - 350°F (gas mark 4). Brown* the\nchicken rib cage with breasts in a Dutch oven (cast-iron casserole)\nwith the remaining olive oil, then add the remaining butter, garlic\nclove, and thyme. Roast in the oven for 30 minutes, basting often.\nMAKE THE CRAYFISH\nRinse the crayfish in cold water. Devein* them. Separate the heads\nand claws from the tails and place in two different strainers (sieves)\nto drain. Cut the unpeeled shallot into 3mm- - 1/8 inch-thick\ndisks. Crush the garlic cloves, and crush the parsley sprig with\nyour hands. Heat the olive oil in a Dutch oven and sear* the\ncrayfish tails until they turn very red. Lower the heat and add the\nshallot, garlic, parsley, butter, fennel stick, bouquet garni, and\npeppercorns. Deglaze* with the cognac and cover the pan with\na damp cloth. Rest for a few minutes at room temperature. Peel\nthe still-warm tails and set aside*.\nMAKE THE SAUCE\nChop up the crayfish heads. Heat the oil in a Dutch oven and\nbrown the chicken breasts over high heat. When they are well\nbrowned, add the butter and crayfish heads, and brown everything.\nCut up and set aside the tomatoes. Peel and slice* the shallots\nand add to the Dutch oven with the peppercorns, salt, and bou-\nquet garni, then add the tomato paste. Deglaze with the wine and\ncognac, and reduce* completely. Add the tomato pieces, cover\nwith the stock, and reduce by one-third. Add the chicken jus and\nsimmer for 1 hour. Add the basil. Let stand at room temperature\nfor 1 hour. Pour the contents of the pan into a strainer and press*\nwell to extract as much liquid as possible. Filter the liquid through\na conical strainer* into a saucepan and return to the heat, if nec-\nessary, to thicken to the desired consistency.\nFINISHING\nReheat the chicken and halve the thighs. Remove the breasts from\nthe rib cage and cut them into four pieces. Sear the crayfish tails in\na sauté pan. Stir the soft whipped cream into the sauce. Arrange\nthe chicken pieces on plates with the crayfish, then add sauce\nand some chervil.\nSERVES 4\nPREPARATION: 1 HOUR\nCOOKING: 1 HOUR 50 MINUTES\nRESTING: 1 HOUR\nCHICKEN\n1 (1.8KG 4 POUND) BRESSE CHICKEN\nSALT\nFRESHLY GROUND PEPPER\n2 TABLESPOONS OLIVE OIL\n40G 1.41 OUNCES (3 TABLESPOONS)\nBUTTER\n2 CLOVES PINK GARLIC\n2 SPRIGS THYME\nCRAYFISH\n30 FRESHWATER CRAYFISH\n1 SHALLOT\n2 CLOVES PINK GARLIC\n1 SPRIG FLAT-LEAF PARSLEY\n1 TABLESPOON OLIVE OIL\n15G 0.53 OUNCE (1 TABLESPOON) BUTTER\n1 DRIED FENNEL STICK\n1 BOUQUET GARNI\n5 BLACK PEPPERCORNS\n50ML 3 1/2 TABLESPOONS COGNAC\nSAUCE\nHEADS OF THE CRAYFISH\n1 TABLESPOON OLIVE OIL\n1KG 2 POUNDS 4 OUNCES\nCHICKEN CARCASSES\n15G 0.53 OUNCE (1 TABLESPOON) BUTTER\n3 RIPE TOMATOES\n2 SHALLOTS\n5 BLACK PEPPERCORNS\nKOSHER (COARSE) SALT\n1 BOUQUET GARNI\n1 TABLESPOON TOMATO PASTE\n30ML 2 TABLESPOONS DRY WHITE WINE\n30ML 2 TABLESPOONS COGNAC\n500ML 2 CUPS CRAYFISH STOCK\n250ML 1 CUP CHICKEN JUS (SEE P. 250)\n1 SPRIG BASIL\nFINISHING\n1 TABLESPOON SOFT (SEMI-) WHIPPED\nCREAM*\nSEVERAL SPRIGS CHERVIL"
}
json
{
"NbPersons": 4,
"Language": "fr",
"Category": "main",
"Title": "CHICKEN FRICASSEE",
"Subtitle": "with Crayfish",
"Preparation_Time": 60,
"Cooking_Time": 110,
"Difficulty": "medium",
"Ingredients": [
{
"section": "Pour la recette",
"ingredients": [
"1 (1.8KG 4 POUND) BRESSE CHICKEN",
"SALT",
"FRESHLY GROUND PEPPER",
"2 TABLESPOONS OLIVE OIL",
"40G 1.41 OUNCES (3 TABLESPOONS) BUTTER",
"2 CLOVES PINK GARLIC",
"2 SPRIGS THYME",
"30 FRESHWATER CRAYFISH",
"1 SHALLOT",
"2 CLOVES PINK GARLIC",
"1 SPRIG FLAT-LEAF PARSLEY",
"1 TABLESPOON OLIVE OIL",
"15G 0.53 OUNCE (1 TABLESPOON) BUTTER",
"1 DRIED FENNEL STICK",
"1 BOUQUET GARNI",
"5 BLACK PEPPERCORNS",
"50ML 3 1/2 TABLESPOONS COGNAC",
"HEADS OF THE CRAYFISH",
"1 TABLESPOON OLIVE OIL",
"1KG 2 POUNDS 4 OUNCES CHICKEN CARCASSES",
"15G 0.53 OUNCE (1 TABLESPOON) BUTTER",
"3 RIPE TOMATOES",
"2 SHALLOTS",
"5 BLACK PEPPERCORNS",
"KOSHER (COARSE) SALT",
"1 BOUQUET GARNI",
"1 TABLESPOON TOMATO PASTE",
"30ML 2 TABLESPOONS DRY WHITE WINE",
"30ML 2 TABLESPOONS COGNAC",
"500ML 2 CUPS CRAYFISH STOCK",
"250ML 1 CUP CHICKEN JUS (SEE P. 250)",
"1 SPRIG BASIL",
"1 TABLESPOON SOFT (SEMI-) WHIPPED CREAM*",
"SEVERAL SPRIGS CHERVIL"
]
}
],
"Description": "Un plat savoureux et raffiné qui allie le poulet et les écrevisses pour une expérience culinaire exceptionnelle.",
"Instructions": [
"Dress* the chicken. Cut off the legs and divide them into drumsticks and thighs.",
"Debone the thighs, then season the drumsticks and thighs with salt and pepper.",
"Put 1 tablespoon olive oil into a sauté pan and brown the drumsticks and thighs on all sides.",
"Add half the butter, 1 garlic clove, and 1 sprig of thyme.",
"Baste regularly and cook over medium heat for 20 minutes.",
"Transfer to a rack.",
"Preheat the oven to 180°C - 350°F (gas mark 4).",
"Brown* the chicken rib cage with breasts in a Dutch oven (cast-iron casserole) with the remaining olive oil, then add the remaining butter, garlic clove, and thyme.",
"Roast in the oven for 30 minutes, basting often.",
"Rinse the crayfish in cold water. Devein* them.",
"Separate the heads and claws from the tails and place in two different strainers (sieves) to drain.",
"Cut the unpeeled shallot into 3mm- - 1/8 inch-thick disks.",
"Crush the garlic cloves, and crush the parsley sprig with your hands.",
"Heat the olive oil in a Dutch oven and sear* the crayfish tails until they turn very red.",
"Lower the heat and add the shallot, garlic, parsley, butter, fennel stick, bouquet garni, and peppercorns.",
"Deglaze* with the cognac and cover the pan with a damp cloth.",
"Rest for a few minutes at room temperature.",
"Peel the still-warm tails and set aside*.",
"Chop up the crayfish heads.",
"Heat the oil in a Dutch oven and brown the chicken breasts over high heat.",
"When they are well browned, add the butter and crayfish heads, and brown everything.",
"Cut up and set aside the tomatoes.",
"Peel and slice* the shallots and add to the Dutch oven with the peppercorns, salt, and bouquet garni, then add the tomato paste.",
"Deglaze with the wine and cognac, and reduce* completely.",
"Add the tomato pieces, cover with the stock, and reduce by one-third.",
"Add the chicken jus and simmer for 1 hour.",
"Add the basil.",
"Let stand at room temperature for 1 hour.",
"Pour the contents of the pan into a strainer and press* well to extract as much liquid as possible.",
"Filter the liquid through a conical strainer* into a saucepan and return to the heat, if necessary, to thicken to the desired consistency.",
"Reheat the chicken and halve the thighs.",
"Remove the breasts from the rib cage and cut them into four pieces.",
"Sear the crayfish tails in a sauté pan.",
"Stir the soft whipped cream into the sauce.",
"Arrange the chicken pieces on plates with the crayfish, then add sauce and some chervil."
],
"AuthorName": "BENOIT",
"Notes_Ingredients": "",
"Notes_Instructions": ""
}