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": "148 MEATS\nOur\nBURGER\nMEATS 149\nAUX LYONNAIS\nTHE WINE: A RED RHONE WINE SUCH AS CROZES HERMITAGE\nSERVES 8\nPREPARATION: 45 MINUTES\nCOOKING: 1 HOUR\nDIJON SAUCE\n1/2 BUNCH WATERCRESS\n60G 2.12 OUNCES PICKLED\nSHALLOTS (SEE P. 245)\n400G 14.11 OUNCES (1 3/4 CUPS\nPLUS 1 TABLESPOON) MAYONNAISE\nHOT SAUCE\nWORCESTERSHIRE SAUCE\nSALT\nFRESHLY GROUND PEPPERT\nONIONS\n2 SWEET ONIONS\n1 TABLESPOON OLIVE OIL\n4 SPRIGS THYME\nSALT\nFRESHLY GROUND PEPPER\n2 WHITE ONIONS\n50G\n1.76 OUNCES (1/3 CUP PLUS\n1 TABLESPOON) TYPE 55 FLOUR\n4L 16 CUPS SUNFLOWER OIL FOR\nDEEP-FRYING\nLYONNAISE SALAD\n3 EGGS\n2 HEADS YELLOW FRISEE\n1 TEASPOON DIJON MUSTARD\n2 TABLESPOONS AGED\nRED WINE VINEGAR\nSALT\nFRESHLY GROUND PEPPER\n4 TABLESPOONS GRAPESEED OIL,\nPLUS MORE FOR FRYING\n150G 5.29 OUNCES PEPPER BACON,\nSLICED\n2 (1CM\nSLICES PAIN DE CAMPAGNE\n3/8 INCH-THICK)\nTHICK-CUT FRENCH FRIES\n1.5KG 3 POUNDS 4 OUNCES\nCHARLOTTE OR OTHER YELLOW-\nSKINNED WAXY POTATOES\n100G 3.53 OUNCES (1/3 CUP PLUS\n2 TABLESPOONS) KOSHER (COARSE)\nSALT, PLUS MORE FOR SEASONING\n200G 7 OUNCES (1 CUP) LARD\n4 SPRIGS THYME\n10 BLACK PEPPERCORNS\n4 LITERS 16 CUPS SUNFLOWER OIL\nFINISHING\n40ML 2 TABLESPOONS PLUS\n2 TEASPOONS SUNFLOWER OIL\n16 (6MM 1/4 INCH-THICK) SLICES\nCOOKED CERVELAS SAUSAGE\n16 PISTACHIO BRIOCHE ROLLS (BUNS)\n250G 8.82 OUNCES FAISSELLE\nCHEESE (FROMAGE FRAIS) OR HALF\nCOTTAGE CHEESE AND HALF PLAIN\nGREEK YOGURT\n80G 2.82 OUNCES COMTÉ CHEESE\nSALT\nPEPPER\nMAKE THE DIJON\nSAUCE\nMince the watercress. Incorporate the watercress and pickled shallots\ninto the mayonnaise. Season with the hot sauce and Worcestershire\nsauces, and salt and pepper. Refrigerate.\nMAKE THE ONIONS\nPeel and slice* the sweet onions. Heat the oil in a sauté pan* and\nadd the thyme and sweet onions. Season with salt and pepper. Cover\nwith a lid and cook over low heat for about 15 minutes, until soft. Set\naside*. Peel and finely slice the white onions. In a small bowl, whisk\nthe flour and some salt with 50ml - 3 1/2 tablespoons very cold water\nto make a batter. Dip the onions rings in the batter and deep-fry until\nlight golden. Transfer to paper towels, season with salt, and set aside*.\nMAKE THE LYONNAISE SALAD\nBoil the eggs for 10 minutes in salted water. Trim off any thick ribs\nand green leaves of the frisée. Mix the mustard with the vinegar and\nseason with salt and pepper. Add the oil while whisking gently. Coarsely\nchop the boiled eggs. Cut the pepper bacon slices into lardons. Color\nslowly in a skillet or frying pan to make them crispy. Cut the slices of\nbread into cubes and toast until golden in a skillet or frying pan with\na little oil. Gently mix the frisée with the vinaigrette in a bowl. Add the\nchopped eggs, then decorate with lardons and croutons.\nMAKE THE THICK CUT FRENCH FRIES\nWash the unpeeled potatoes and cut lengthwise into ten strips. Mix\nwith the salt in a bowl and let stand for 15 minutes to release their\nresidual water, then dry them. In a saucepan, confit the potatoes in the\nlard with the thyme and peppercorns at 90°C - 195°F for 25 minutes.\nLet cool. Heat the oil in a deep fryer (deep-fat fryer) to 180°C - 350°F.\nDeep-fry the potatoes until golden, then transfer to paper towels to\ndrain. Season with salt.\nFINISHING\nHeat a skillet or frying pan. Add the oil and brown the sausage pieces.\nCut the rolls open and toast under a broiler. Lightly spread the bottom\nhalf of the rolls with faiselle cheese. Cut the Comté cheese into batons\nand place over the faisselle. Melt gently under the broiler. Place a\nsausage slice over the cheese. Spread 1/4 teaspoon of stewed sweet\nonions over it and cover with another slice. Put 1 teaspoon of Dijon\nsauce on top and cover with the top half of the rolls. Mix the fries with\nthe onion rings. Serve two burgers per person in a small paper bag.\nServe the Dijon sauce, fries, and onion rings, and salad on the side."
}
json
{
"NbPersons": 8,
"Language": "en",
"Category": "main",
"Title": "AUX LYONNAIS",
"Subtitle": "THE WINE: A RED RHONE WINE SUCH AS CROZES HERMITAGE",
"Preparation_Time": 45,
"Cooking_Time": 60,
"Difficulty": "medium",
"Ingredients": [
{
"section": "Pour la recette",
"ingredients": [
"1/2 BUNCH WATERCRESS",
"60G 2.12 OUNCES PICKLED SHALLOTS (SEE P. 245)",
"400G 14.11 OUNCES (1 3/4 CUPS PLUS 1 TABLESPOON) MAYONNAISE",
"HOT SAUCE",
"WORCESTERSHIRE SAUCE",
"SALT",
"FRESHLY GROUND PEPPERT",
"2 SWEET ONIONS",
"1 TABLESPOON OLIVE OIL",
"4 SPRIGS THYME",
"2 WHITE ONIONS",
"50G 1.76 OUNCES (1/3 CUP PLUS 1 TABLESPOON) TYPE 55 FLOUR",
"4L 16 CUPS SUNFLOWER OIL FOR DEEP-FRYING",
"3 EGGS",
"2 HEADS YELLOW FRISEE",
"1 TEASPOON DIJON MUSTARD",
"2 TABLESPOONS AGED RED WINE VINEGAR",
"4 TABLESPOONS GRAPESEED OIL, PLUS MORE FOR FRYING",
"150G 5.29 OUNCES PEPPER BACON, SLICED",
"2 (1CM SLICES PAIN DE CAMPAGNE 3/8 INCH-THICK)",
"1.5KG 3 POUNDS 4 OUNCES CHARLOTTE OR OTHER YELLOW-SKINNED WAXY POTATOES",
"100G 3.53 OUNCES (1/3 CUP PLUS 2 TABLESPOONS) KOSHER (COARSE) SALT, PLUS MORE FOR SEASONING",
"200G 7 OUNCES (1 CUP) LARD",
"10 BLACK PEPPERCORNS",
"4 LITERS 16 CUPS SUNFLOWER OIL",
"40ML 2 TABLESPOONS PLUS 2 TEASPOONS SUNFLOWER OIL",
"16 (6MM 1/4 INCH-THICK) SLICES COOKED CERVELAS SAUSAGE",
"16 PISTACHIO BRIOCHE ROLLS (BUNS)",
"250G 8.82 OUNCES FAISSELLE CHEESE (FROMAGE FRAIS) OR HALF COTTAGE CHEESE AND HALF PLAIN GREEK YOGURT",
"80G 2.82 OUNCES COMTÉ CHEESE",
"SALT",
"PEPPER"
]
}
],
"Description": "AUX LYONNAIS is a delightful recipe that combines rich flavors and textures to create a memorable dining experience. Perfect for gatherings, this dish is sure to impress your guests.",
"Instructions": [
"MAKE THE DIJON SAUCE",
"Mince the watercress. Incorporate the watercress and pickled shallots into the mayonnaise. Season with the hot sauce and Worcestershire sauces, and salt and pepper. Refrigerate.",
"MAKE THE ONIONS",
"Peel and slice* the sweet onions. Heat the oil in a sauté pan* and add the thyme and sweet onions. Season with salt and pepper. Cover with a lid and cook over low heat for about 15 minutes, until soft. Set aside*. Peel and finely slice the white onions. In a small bowl, whisk the flour and some salt with 50ml - 3 1/2 tablespoons very cold water to make a batter. Dip the onions rings in the batter and deep-fry until light golden. Transfer to paper towels, season with salt, and set aside*.",
"MAKE THE LYONNAISE SALAD",
"Boil the eggs for 10 minutes in salted water. Trim off any thick ribs and green leaves of the frisée. Mix the mustard with the vinegar and season with salt and pepper. Add the oil while whisking gently. Coarsely chop the boiled eggs. Cut the pepper bacon slices into lardons. Color slowly in a skillet or frying pan to make them crispy. Cut the slices of bread into cubes and toast until golden in a skillet or frying pan with a little oil. Gently mix the frisée with the vinaigrette in a bowl. Add the chopped eggs, then decorate with lardons and croutons.",
"MAKE THE THICK CUT FRENCH FRIES",
"Wash the unpeeled potatoes and cut lengthwise into ten strips. Mix with the salt in a bowl and let stand for 15 minutes to release their residual water, then dry them. In a saucepan, confit the potatoes in the lard with the thyme and peppercorns at 90°C - 195°F for 25 minutes. Let cool. Heat the oil in a deep fryer (deep-fat fryer) to 180°C - 350°F. Deep-fry the potatoes until golden, then transfer to paper towels to drain. Season with salt.",
"FINISHING",
"Heat a skillet or frying pan. Add the oil and brown the sausage pieces. Cut the rolls open and toast under a broiler. Lightly spread the bottom half of the rolls with faiselle cheese. Cut the Comté cheese into batons and place over the faisselle. Melt gently under the broiler. Place a sausage slice over the cheese. Spread 1/4 teaspoon of stewed sweet onions over it and cover with another slice. Put 1 teaspoon of Dijon sauce on top and cover with the top half of the rolls. Mix the fries with the onion rings. Serve two burgers per person in a small paper bag. Serve the Dijon sauce, fries, and onion rings, and salad on the side."
],
"AuthorName": "",
"Notes_Ingredients": "",
"Notes_Instructions": ""
}