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": "Makes 10\nPreparation time: 1 h\nResting time: 4 h 30 min\nCooking time: 30 min\nRum baba\nwith chestnut sauce and\nvanilla whipped cream\nWhat could be more retro and delicious than a rum baba? I like the\ncombination of amber rum and earthy chestnut with the warmth of vanilla\nin this version. If you want to make one large baba, bake it in a bundt tin.\nThe baba dough\n200 g/7 oz plain (all-purpose) flour\nI teaspoon salt\n3 teaspoons caster (superfine) sugar\n100 ml/32 fl oz milk\n10 g/0.35 oz fresh yeast\n2 eggs\n50 g/14 oz unsalted butter\nThe baba syrup\n500 g/1 lb 2 oz caster (superfine)\nsugar\nI vanilla pod (bean)\n200 ml/7 fl oz dark rum\nThe chestnut sauce\n2 g/0.07 oz gelatine\n50 g/14 oz caster (superfine) sugar\nI egg yolk\n150 ml/5 fl oz milk\n150 g/5½ oz chestnut purée\nI tablespoon cornflour (cornstarch)\n80 g/3 oz butter\nThe vanilla whipped cream\nI vanilla pod (bean)\n300 ml/10 fl oz very cold double\nor whipping (heavy) cream\nFinishing off\nsplash of rum\nEquipment\nindividual baba moulds\ncooking thermometer (optional)\n1 The baba dough\nPut the flour, salt and sugar in the bowl of an electric mixer. Warm the milk in\na saucepan (if you have a thermometer, check that the temperature doesn't go above\n30°C/86°F), then add the yeast and stir until dissolved. Pour onto the flour in the\nmixer bowl, add an egg and mix together slowly. As soon as the mixture is smooth,\nadd the second egg and mix in, then stop the machine. Pour the melted butter all\nover the dough and leave at room temperature, without mixing or stirring, until\nthe butter has soaked into the dough. Beat the mixture again until the butter is\nincorporated. Fill the baba moulds with the dough, then leave at room temperature\nto rise until doubled in size. Preheat the oven to 170°C (325°F: gas mark 3). Bake\nfor 20-25 minutes, or until risen and golden. Remove the babas from the oven,\nunmould onto a wire rack and leave to cool.\n2 The baba syrup\nPut the sugar and vanilla pod in a saucepan with 800 ml/27 fl oz of water. Bring to\nthe boil and simmer for a few seconds. Remove from the heat and leave to cool, then\npour in the rum. Immerse the cooled babas in the syrup and leave to soak for 2 hours,\nthen drain on a wire rack with a baking tray underneath (to catch the drips).\n3 The chestnut sauce\nSoak the gelatine in cold water for 2-3 minutes. In a large bowl, mix together the sugar\nand the egg yolk. Put the milk, chestnut purée and cornflour into a saucepan and bring\nto the boil, whisking all the time, then pour into the bowl with the sugar and egg yolk\nand mix together. Pour the mixture back into the saucepan and cook over a gentle heat,\nstirring constantly, until it thickens. Remove from the heat and add the drained and\nsqueezed-out gelatine, stirring to dissolve, then leave to cool to 40°C/104°F (check the\ntemperature with a cooking thermometer, if you have one). Mix in the diced butter,\nthen pour the sauce into individual bowls and chill in the fridge for 2 hours.\n4-The vanilla whipped cream\nSplit open the vanilla pod lengthways, then scrape out the seeds. Put the cream into\na bowl or electric mixer with the vanilla seeds and whip until thick.\n5- Finishing off and serving\nSpoon a little vanilla cream onto the chestnut sauce and put a baba on top, then\ndrizzle over a little rum. Serve immediately.\nClassics\n265"
}
json
{
"NbPersons": 10,
"Language": "en",
"Category": "dessert",
"Title": "Rum baba with chestnut sauce and vanilla whipped cream",
"Subtitle": "What could be more retro and delicious than a rum baba?",
"Preparation_Time": 90,
"Cooking_Time": 30,
"Difficulty": "medium",
"Ingredients": [
{
"section": "The baba dough",
"ingredients": [
"200 g/7 oz plain (all-purpose) flour",
"1 teaspoon salt",
"3 teaspoons caster (superfine) sugar",
"100 ml/32 fl oz milk",
"10 g/0.35 oz fresh yeast",
"2 eggs",
"50 g/14 oz unsalted butter"
]
},
{
"section": "The baba syrup",
"ingredients": [
"500 g/1 lb 2 oz caster (superfine) sugar",
"1 vanilla pod (bean)",
"200 ml/7 fl oz dark rum"
]
},
{
"section": "The chestnut sauce",
"ingredients": [
"2 g/0.07 oz gelatine",
"50 g/14 oz caster (superfine) sugar",
"1 egg yolk",
"150 ml/5 fl oz milk",
"150 g/5½ oz chestnut purée",
"1 tablespoon cornflour (cornstarch)",
"80 g/3 oz butter"
]
},
{
"section": "The vanilla whipped cream",
"ingredients": [
"1 vanilla pod (bean)",
"300 ml/10 fl oz very cold double or whipping (heavy) cream"
]
},
{
"section": "Finishing off",
"ingredients": [
"splash of rum"
]
}
],
"Description": "I like the combination of amber rum and earthy chestnut with the warmth of vanilla in this version.",
"Instructions": [
"1 The baba dough\nPut the flour, salt and sugar in the bowl of an electric mixer. Warm the milk in a saucepan (if you have a thermometer, check that the temperature doesn't go above 30°C/86°F), then add the yeast and stir until dissolved. Pour onto the flour in the mixer bowl, add an egg and mix together slowly. As soon as the mixture is smooth, add the second egg and mix in, then stop the machine. Pour the melted butter all over the dough and leave at room temperature, without mixing or stirring, until the butter has soaked into the dough. Beat the mixture again until the butter is incorporated. Fill the baba moulds with the dough, then leave at room temperature to rise until doubled in size. Preheat the oven to 170°C (325°F: gas mark 3). Bake for 20-25 minutes, or until risen and golden. Remove the babas from the oven, unmould onto a wire rack and leave to cool.",
"2 The baba syrup\nPut the sugar and vanilla pod in a saucepan with 800 ml/27 fl oz of water. Bring to the boil and simmer for a few seconds. Remove from the heat and leave to cool, then pour in the rum. Immerse the cooled babas in the syrup and leave to soak for 2 hours, then drain on a wire rack with a baking tray underneath (to catch the drips).",
"3 The chestnut sauce\nSoak the gelatine in cold water for 2-3 minutes. In a large bowl, mix together the sugar and the egg yolk. Put the milk, chestnut purée and cornflour into a saucepan and bring to the boil, whisking all the time, then pour into the bowl with the sugar and egg yolk and mix together. Pour the mixture back into the saucepan and cook over a gentle heat, stirring constantly, until it thickens. Remove from the heat and add the drained and squeezed-out gelatine, stirring to dissolve, then leave to cool to 40°C/104°F (check the temperature with a cooking thermometer, if you have one). Mix in the diced butter, then pour the sauce into individual bowls and chill in the fridge for 2 hours.",
"4-The vanilla whipped cream\nSplit open the vanilla pod lengthways, then scrape out the seeds. Put the cream into a bowl or electric mixer with the vanilla seeds and whip until thick.",
"5- Finishing off and serving\nSpoon a little vanilla cream onto the chestnut sauce and put a baba on top, then drizzle over a little rum. Serve immediately."
],
"AuthorName": "",
"Notes_Ingredients": "",
"Notes_Instructions": "If you want to make one large baba, bake it in a bundt tin."
}