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": "230 DESSERTS\nBENOIT PROFITEROLES\nwith Hot Chocolate Sauce\nBENOIT\nSERVES 4\nPREPARATION: 15 MINUTES\nCOOKING: 50 MINUTES\nPASTRY CREAM\n1 VANILLA BEAN\n1 LITER 4 1/4 CUPS MILK.\n160G 5.64 OUNCES (2/3 CUP) EGG\nYOLKS (ABOUT 9-10 LARGE)\n250G 8.82 OUNCES (1 1/4 CUPS)\nSUGAR\n50G 1.76 OUNCES (1/3 CUP PLUS\n1 TABLESPOON) FLOUR\n60G 2.12 OUNCES (1/2 CUP)\nCORNSTARCH\n150G 5.29 OUNCES (1 STICK PLUS\n3 TABLESPOONS) BUTTER\nCHOUX PASTE\n250ML 1 CUP MILK\n225G 7.94 OUNCES (2 STICKS) BUTTER\nSALT\n275G 9.7 OUNCES (2 CUPS PLUS\n3 1/2 TABLESPOONS) FLOUR\n375G 13.23 OUNCES (1 1/2 CUPS)\nEGGS (ABOUT 7 LARGE), PLUS 1 EGG\nYOLK\nCHOCOLATE SAUCE\n250ML 1 CUP MILK\n250G\n8.82 OUNCES (1 CUP PLUS\n1 TABLESPOON) CREAM\n150G\n600G\n5.29 OUNCES (3/4 CUP) SUGAR\n1 POUND 5 OUNCES DARK\nCHOCOLATE (70% CACAO)\n250G 8.82 OUNCES (1 CUP PLUS\n1 TABLESPOON) HEAVY CREAM\nFINISHING\n1 LITER 4 1/4 CUPS VANILLA\nICE CREAM\nMAKE THE\nPASTRY\nCREAM\nSplit the vanilla bean and scrape out the seeds. Add the bean and\nseeds to a saucepan with the milk and bring to a boil. Remove the\nvanilla bean. Briskly whisk the egg yolks with the sugar in a bowl,\nthen incorporate the flour and cornstarch. Add the hot milk, return\nthe mixture to the saucepan, bring to a boil, and cook for 3 minutes,\nstirring constantly. Transfer to a bowl and incorporate the butter. Mix\nwell. Cover with plastic wrap in direct contact with the pastry cream\nand cool quickly. Transfer the cream to a pastry (piping) bag fitted\nwith a size 2 tip (nozzle).\nMAKE THE CHOUX PASTE\nPreheat the oven to 150°C - 300°F (gas mark 2). Put the milk in a\nsaucepan, add the butter and salt, and bring to a boil. Remove the\npan from the heat and incorporate the flour, then place over high\nheat and dry out until a thin layer of mixture forms at the bottom of\nthe pan. When the paste is smooth and glossy, transfer to a stand\nmixer fitted with a paddle attachment and mix on medium speed.\nGradually incorporate the eggs. Transfer to a pastry bag fitted with\na size 10 tip (nozzle).\nPipe choux puffs (about 10 to 15 per person) on a lightly greased\nbaking sheet, glaze with the beaten egg yolk, and bake for about\n20 minutes. When the puffs are golden and well puffed, take them\nout of the oven, pierce the bottoms using a size 2 pastry tip (nozzle),\nand set aside*.\nMAKE THE CHOCOLATE\nSAUCE\nHeat the milk with the cream and sugar in a saucepan, and bring to\na boil. Place the coarsely chopped chocolate in a bowl and gradually\npour the mixture over it; add the cream and stir.\nFINISHING\nFill the puffs with the pastry cream shortly before serving to prevent\nthe puffs from becoming soft. Arrange them on a plate, and add a\nquenelle of vanilla ice cream. Dip the puffs in the chocolate sauce\nand eat.\nTHE WINE\nA SWEET RED ROUSSILLON\nWINE, SUCH AS MAURY"
}
json
{
"NbPersons": 4,
"Language": "fr",
"Category": "dessert",
"Title": "BENOIT PROFITEROLES",
"Subtitle": "with Hot Chocolate Sauce",
"Preparation_Time": 15,
"Cooking_Time": 50,
"Difficulty": "medium",
"Ingredients": [
{
"section": "Pastry Cream",
"ingredients": [
"1 VANILLA BEAN",
"1 LITER 4 1/4 CUPS MILK.",
"160G 5.64 OUNCES (2/3 CUP) EGG YOLKS (ABOUT 9-10 LARGE)",
"250G 8.82 OUNCES (1 1/4 CUPS) SUGAR",
"50G 1.76 OUNCES (1/3 CUP PLUS 1 TABLESPOON) FLOUR",
"60G 2.12 OUNCES (1/2 CUP) CORNSTARCH",
"150G 5.29 OUNCES (1 STICK PLUS 3 TABLESPOONS) BUTTER"
]
},
{
"section": "Choux Paste",
"ingredients": [
"250ML 1 CUP MILK",
"225G 7.94 OUNCES (2 STICKS) BUTTER",
"SALT",
"275G 9.7 OUNCES (2 CUPS PLUS 3 1/2 TABLESPOONS) FLOUR",
"375G 13.23 OUNCES (1 1/2 CUPS) EGGS (ABOUT 7 LARGE), PLUS 1 EGG YOLK"
]
},
{
"section": "Chocolate Sauce",
"ingredients": [
"250ML 1 CUP MILK",
"250G 8.82 OUNCES (1 CUP PLUS 1 TABLESPOON) CREAM",
"150G 5.29 OUNCES (3/4 CUP) SUGAR",
"1 POUND 5 OUNCES DARK CHOCOLATE (70% CACAO)",
"250G 8.82 OUNCES (1 CUP PLUS 1 TABLESPOON) HEAVY CREAM"
]
},
{
"section": "Finishing",
"ingredients": [
"1 LITER 4 1/4 CUPS VANILLA ICE CREAM"
]
}
],
"Description": "Une recette délicieuse de profiteroles garnies de crème pâtissière et nappées de sauce au chocolat chaud.",
"Instructions": [
"MAKE THE PASTRY CREAM",
"Split the vanilla bean and scrape out the seeds. Add the bean and seeds to a saucepan with the milk and bring to a boil. Remove the vanilla bean. Briskly whisk the egg yolks with the sugar in a bowl, then incorporate the flour and cornstarch. Add the hot milk, return the mixture to the saucepan, bring to a boil, and cook for 3 minutes, stirring constantly. Transfer to a bowl and incorporate the butter. Mix well. Cover with plastic wrap in direct contact with the pastry cream and cool quickly. Transfer the cream to a pastry (piping) bag fitted with a size 2 tip (nozzle).",
"MAKE THE CHOUX PASTE",
"Preheat the oven to 150°C - 300°F (gas mark 2). Put the milk in a saucepan, add the butter and salt, and bring to a boil. Remove the pan from the heat and incorporate the flour, then place over high heat and dry out until a thin layer of mixture forms at the bottom of the pan. When the paste is smooth and glossy, transfer to a stand mixer fitted with a paddle attachment and mix on medium speed. Gradually incorporate the eggs. Transfer to a pastry bag fitted with a size 10 tip (nozzle).",
"Pipe choux puffs (about 10 to 15 per person) on a lightly greased baking sheet, glaze with the beaten egg yolk, and bake for about 20 minutes. When the puffs are golden and well puffed, take them out of the oven, pierce the bottoms using a size 2 pastry tip (nozzle), and set aside*.",
"MAKE THE CHOCOLATE SAUCE",
"Heat the milk with the cream and sugar in a saucepan, and bring to a boil. Place the coarsely chopped chocolate in a bowl and gradually pour the mixture over it; add the cream and stir.",
"FINISHING",
"Fill the puffs with the pastry cream shortly before serving to prevent the puffs from becoming soft. Arrange them on a plate, and add a quenelle of vanilla ice cream. Dip the puffs in the chocolate sauce and eat."
],
"AuthorName": "BENOIT",
"Notes_Ingredients": "",
"Notes_Instructions": "A SWEET RED ROUSSILLON WINE, SUCH AS MAURY"
}