gpt-4o-mini-2024-07-18· OpenAI
WildChat-4.8M (AI2)
Goal L'objectif est d'extraire et structurer les informations d'une recette de cuisine…
- User
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.
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": "Montgomery's Moonshine Peach Crumble\nMY ELDEST DAUGHTER makes wonderful crumbles and cobblers, with this one being no exception. She came up with\nthis after touring a distillery. Cinnamon moonshine swirled with the berries and vanilla makes a delicious base for the\nspiced crumble on top.\nMakes: 12 servings\n• Prep time: 10 minutes\nTotal time: 1 hour 10 minutes\nINGREDIENTS\nPEACH FILLING\ncup granulated sugar\n¼ cup cinnamon moonshine\n2 teaspoons vanilla extract\n½ teaspoon lemon juice\n¼ cup cornstarch\n½ teaspoon ground nutmeg\n½ teaspoon ground cinnamon\n¼ teaspoon salt\n2% pounds frozen sliced peaches\nCRUMBLE TOPPING\n¼ cup all-purpose flour\n¾ cup old-fashioned rolled oats\n½ cup salted butter, softened, plus more for pan\n2 cup packed light brown sugar\n1 cup finely chopped pecans\n1/3 cup finely chopped walnuts\nDIRECTIONS\n1. Prepare the Peach Filling: Combine 4 cups water, sugar, moonshine, vanilla, and lemon juice in a medium saucepan\nover medium heat. Whisk in cornstarch, nutmeg, cinnamon, and salt. Bring to a low boil, and cook for 2 minutes, stirring\nconstantly, until sugar is dissolved.\n2. Add peaches, and reduce heat to a low simmer. Cover and cook, stirring occasionally, until mixture is syrupy, 7 to 8\nminutes.\n3. Transfer mixture to a buttered 13-x-9-inch baking dish, and cool for at least 15 minutes.\n4. Meanwhile, make the Crumble Topping: Preheat oven to 350°F. In a bowl, combine all crumble ingredients, and mix\nwith your hands, rolling the mixture between your fingers to make a crumbly texture. Sprinkle over cooled peach filling.\n5. Bake until browned and bubbly, 40 to 50 minutes. Cool for 15 minutes. Serve warm.\nQuick Tip\nIf you have fresh peaches on hand, use 3 pounds to account for the pits and skins.\nBIG MOE"}
- Assistant
{ "NbPersons": 12, "Language": "en", "Category": "dessert", "Title": "Montgomery's Moonshine Peach Crumble", "Subtitle": "", "Preparation_Time": 10, "Cooking_Time": 60, "Difficulty": "easy", "Ingredients": [ { "section": "PEACH FILLING", "ingredients": [ "cup granulated sugar", "¼ cup cinnamon moonshine", "2 teaspoons vanilla extract", "½ teaspoon lemon juice", "¼ cup cornstarch", "½ teaspoon ground nutmeg", "½ teaspoon ground cinnamon", "¼ teaspoon salt", "2% pounds frozen sliced peaches" ] }, { "section": "CRUMBLE TOPPING", "ingredients": [ "¼ cup all-purpose flour", "¾ cup old-fashioned rolled oats", "½ cup salted butter, softened, plus more for pan", "2 cup packed light brown sugar", "1 cup finely chopped pecans", "1/3 cup finely chopped walnuts" ] } ], "Description": "MY ELDEST DAUGHTER makes wonderful crumbles and cobblers, with this one being no exception. She came up with this after touring a distillery. Cinnamon moonshine swirled with the berries and vanilla makes a delicious base for the spiced crumble on top.", "Instructions": [ "Prepare the Peach Filling: Combine 4 cups water, sugar, moonshine, vanilla, and lemon juice in a medium saucepan over medium heat. Whisk in cornstarch, nutmeg, cinnamon, and salt. Bring to a low boil, and cook for 2 minutes, stirring constantly, until sugar is dissolved.", "Add peaches, and reduce heat to a low simmer. Cover and cook, stirring occasionally, until mixture is syrupy, 7 to 8 minutes.", "Transfer mixture to a buttered 13-x-9-inch baking dish, and cool for at least 15 minutes.", "Meanwhile, make the Crumble Topping: Preheat oven to 350°F. In a bowl, combine all crumble ingredients, and mix with your hands, rolling the mixture between your fingers to make a crumbly texture. Sprinkle over cooled peach filling.", "Bake until browned and bubbly, 40 to 50 minutes. Cool for 15 minutes. Serve warm." ], "AuthorName": "BIG MOE", "Notes_Ingredients": "If you have fresh peaches on hand, use 3 pounds to account for the pits and skins.", "Notes_Instructions": "" }