Goal
L'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
Tu dois renvoyer 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 si c'est une boisson choisis parmis (beverage) et si c'est de la nourriture alors choisis la meilleure option parmis (appetizer, starter, main, dessert, breakfast, snack, 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": "Smoked Chocolate Bread Pudding With Bourbon-Caramel Sauce\nI'VE MADE THIS AS AN ENTRY for the dessert category at different competitions-chocolate and smoke go amazing together. I grew up on bread pudding and have always loved it. This recipe isn't overly\nsweet, and the texture of warm, soft bread is a fave of mine.\n* Makes: 12 servings\n- Prep time: 15 minutes\n• Total time: 1 hour 30 minutes\nINGREDIENTS\nBREAD PUDDING\n1½ cups heavy cream\n12 ounces bittersweet chocolate, chopped\n3 large eggs and 3 egg yolks\n½ cup plus 3 tablespoons sugar\n2\nteaspoons pure vanilla extract\n1\nteaspoon Himalayan pink salt\n1 pound challah, cut into 1-inch cubes (roughly 12 cups; remove crusts, if desired)\nButter\nBOURBON-CARAMEL SAUCE\n2 cups sugar\n½ cup bourbon\n1 tablespoon light com syrup\n1 cup heavy cream\nWHIPPED CREAM\n2 cups heavy cream\n2 tablespoons sugar\n1 teaspoon vanilla extract\nDIRECTIONS\n1. Prepare and preheat a smoker to 325°F.\n2. Prepare the Bread Pudding: Pour heavy cream into a small saucepan, and heat until warm. Place chocolate in a bowl, and pour warm cream over it. Stir until chocolate is melted and mixture is blended.\n3. Once chocolate mixture has cooled slightly, whisk in whole eggs and egg yolks, sugar, vanilla, and salt until smooth.\n4. Place bread in a buttered 3-quart smoker-safe baking dish. Pour chocolate cream mixture over bread, and press lightly to evenly soak bread. Let stand for 15 to 20 minutes.\n5. Place baking dish inside a slightly larger smoker-safe baking dish, and add ½ inch water to larger pan to create a water bath.\n6. Place baking dish in smoker; cover and cook until a butter knife inserted into center comes out clean, 45 to 50 minutes. Transfer baking dish out of water bath to a wire rack to cool.\n7. Prepare the Bourbon-Caramel Sauce: In a medium saucepan, combine sugar, bourbon, com syrup, and ½ cup water over medium heat. Cook, without stirring, until syrup is amber colored, about 6 minutes.\nRemove from heat, and stir in heavy cream. Return to medium-low heat, and cook, stirring with a heat-resistant spatula, for 3 minutes. Cool to room temperature (sauce will thicken further as it cools).\n8. Prepare the Whipped Cream: Beat together all ingredients with an electric mixer until soft peaks form. Serve bread pudding with sauce and whipped cream."
}
json
{
"NbPersons": 12,
"Language": "en",
"Category": "dessert",
"Title": "Smoked Chocolate Bread Pudding With Bourbon-Caramel Sauce",
"Subtitle": "",
"Preparation_Time": 15,
"Cooking_Time": 50,
"Difficulty": "medium",
"Ingredients": [
{
"section": "BREAD PUDDING",
"ingredients": [
"1½ cups heavy cream",
"12 ounces bittersweet chocolate, chopped",
"3 large eggs and 3 egg yolks",
"½ cup plus 3 tablespoons sugar",
"2 teaspoons pure vanilla extract",
"1 teaspoon Himalayan pink salt",
"1 pound challah, cut into 1-inch cubes (roughly 12 cups; remove crusts, if desired)",
"Butter"
]
},
{
"section": "BOURBON-CARAMEL SAUCE",
"ingredients": [
"2 cups sugar",
"½ cup bourbon",
"1 tablespoon light corn syrup",
"1 cup heavy cream"
]
},
{
"section": "WHIPPED CREAM",
"ingredients": [
"2 cups heavy cream",
"2 tablespoons sugar",
"1 teaspoon vanilla extract"
]
}
],
"Description": "I'VE MADE THIS AS AN ENTRY for the dessert category at different competitions-chocolate and smoke go amazing together. I grew up on bread pudding and have always loved it. This recipe isn't overly sweet, and the texture of warm, soft bread is a fave of mine.",
"Instructions": [
"Prepare and preheat a smoker to 325°F.",
"Prepare the Bread Pudding: Pour heavy cream into a small saucepan, and heat until warm. Place chocolate in a bowl, and pour warm cream over it. Stir until chocolate is melted and mixture is blended.",
"Once chocolate mixture has cooled slightly, whisk in whole eggs and egg yolks, sugar, vanilla, and salt until smooth.",
"Place bread in a buttered 3-quart smoker-safe baking dish. Pour chocolate cream mixture over bread, and press lightly to evenly soak bread. Let stand for 15 to 20 minutes.",
"Place baking dish inside a slightly larger smoker-safe baking dish, and add ½ inch water to larger pan to create a water bath.",
"Place baking dish in smoker; cover and cook until a butter knife inserted into center comes out clean, 45 to 50 minutes. Transfer baking dish out of water bath to a wire rack to cool.",
"Prepare the Bourbon-Caramel Sauce: In a medium saucepan, combine sugar, bourbon, corn syrup, and ½ cup water over medium heat. Cook, without stirring, until syrup is amber colored, about 6 minutes. Remove from heat, and stir in heavy cream. Return to medium-low heat, and cook, stirring with a heat-resistant spatula, for 3 minutes. Cool to room temperature (sauce will thicken further as it cools).",
"Prepare the Whipped Cream: Beat together all ingredients with an electric mixer until soft peaks form. Serve bread pudding with sauce and whipped cream."
],
"AuthorName": "",
"Notes_Ingredients": "",
"Notes_Instructions": ""
}