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, mocktail). Sinon choisis la meilleure option parmis (bread, appetizer, starter, main, dessert, breakfast, snack, teatime, jam, sauce, icecream)
- 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": "Mini Pies\nMAKE 8 8 PIES\nhether you are baking for a crowd and want to impress your guests with their own miniature pies--or simply need individual portions-this\nW recipe will do the trick. The cups of a standard-sized muffin pan act as the pie plate.\nFill the pies with either of the two options I offer for you here-blueberry or apple-or choose your favorite pie filling. The ingredients listed\nhere are for 8 pies. If you choose to make a mixed batch of 4 blueberry pies and 4 apple pies, halve both sets of filling ingredients.\nFOR THE CRUST\n260 grams (about 2 cups) Pastry Flour Blend (page 24)\n½ teaspoon xanthan gum\n¼ cup (55 g) organic cane sugar\n½ teaspoon salt\n8 tablespoons shortening (see page 7), cold\n2 tablespoons apple cider vinegar\n¼ cup (60 ml) plus 1 tablespoon cold water\nUp to 3 tablespoons additional flour for dusting\nFOR BLUEBERRY FILLING (8 MINI PIES)\n1½ cups (225 g) blueberries\n2 teaspoons lemon zest\n2 teaspoons fresh lemon juice\n2 tablespoons tapioca starch\n3 tablespoons organic cane sugar\n½ teaspoon ground cinnamon\nFOR APPLE FILLING (8 MINI PIES)\n1½ cups (150 g) peeled, cored, and diced apples (about 2 apples)\n¼ cup (40 g) raisins, optional\n1 tablespoon fresh lemon juice\n2 tablespoons tapioca starch\n¼ cup (55 g) organic cane sugar\n½ teaspoon ground cinnamon\nFOR TOPPING\n2 tablespoons turbinado sugar, optional\nTo prepare the crust\n1. Combine the flour, xanthan gum, ¼ cup (55 g) cane sugar, and salt in a large mixing bowl.\n2. Cut the shortening into tablespoon-sized pieces and lay them on top of the flour. Use a pastry cutter, a pastry fork, or your hands to work the\nshortening into the flour. Continue working for 3 to 4 minutes, until a crumbly mixture forms.\n3. Add the vinegar and 1/4 cup (60 ml) water. Work the liquids into the dough using the pastry cutter. Add up to 1 more tablespoon of cold water as\nneeded, ½ tablespoon at a time, until the dough is smooth and pliable.\n4. Separate the dough into three sections (to make it easier to work with later) and form each section into a disk, about 1 inch (13 mm) thick. Wrap\nthe disks tightly in plastic and refrigerate for 30 minutes. Pastry dough can be refrigerated for up to 2 weeks.\n5. When you are ready to make the pies, preheat the oven to 350°F (180°C). Grease 8 cups of a 12-cup standard muffin pan.\n6. If the dough has been refrigerated for more than 30 minutes prior to rolling, let it sit at room temperature for 15 minutes and massage it with your\nhands until it is pliable. Roll out the dough between two sheets of parchment paper. Use additional flour, if needed, to avoid sticking.\n7. Cut eight 4-inch (11.5 cm) rounds to form the bottom crusts. Use two of the three sections dough for this step. Place the bottom crusts into\nthe wells of the prepared muffin pan. The pastry should fully cover the bottom and sides of the wells with up to 1/4 inch (6.5 mm) of crust\nprotruding from the wells.\n8. Roll out the remaining section of dough and cut eight 2%-inch (6.5 cm) rounds for the top crusts. Cut a 18-inch (2 cm) center hole in the top\ncrusts.\nTo make the filling (either blueberry or apple)\n9. Toss the fruit (blueberries and zest or apples and raisins) with lemon juice in a small bowl.\n10. Combine the starch, remaining cane sugar, and cinnamon in a separate bowl. Add this to the fruit, and toss to coat.\n11. Distribute the fruit evenly in the bottom crusts.\nTo finish the pies\n12. Place the top crusts over the fruit, allowing them to sit inside the bottom crusts. Use your fingers to roll and pinch the edges together.\nSprinkle turbinado sugar on the tops of the crusts, if desired.\n14. Bake for 19 to 20 minutes, until the fruit filling is bubbling and the tops are golden.\nTO FREEZE\nFreeze pie dough (prepared through step 4) for up to 6 months; thaw the dough in the refrigerator and then let it sit at room temperature for 15\nminutes before rolling, filling, and baking. Pies are best when freshly baked, but they can be frozen in an airtight container for up to 2 months;\nthaw them in the refrigerator and reheat at 325°F (165°C) for 12 to 13 minutes, until warm."
}
json
{
"NbPersons": 8,
"Language": "en",
"Category": "dessert",
"Title": "Mini Pies",
"Subtitle": "MAKE 8 8 PIES",
"Preparation_Time": 90,
"Cooking_Time": 20,
"Difficulty": "medium",
"Ingredients": [
{
"section": "Pour la croûte",
"ingredients": [
"260 grams (about 2 cups) Pastry Flour Blend (page 24)",
"½ teaspoon xanthan gum",
"¼ cup (55 g) organic cane sugar",
"½ teaspoon salt",
"8 tablespoons shortening (see page 7), cold",
"2 tablespoons apple cider vinegar",
"¼ cup (60 ml) plus 1 tablespoon cold water",
"Up to 3 tablespoons additional flour for dusting"
]
},
{
"section": "Pour la garniture aux myrtilles (8 MINI PIES)",
"ingredients": [
"1½ cups (225 g) blueberries",
"2 teaspoons lemon zest",
"2 teaspoons fresh lemon juice",
"2 tablespoons tapioca starch",
"3 tablespoons organic cane sugar",
"½ teaspoon ground cinnamon"
]
},
{
"section": "Pour la garniture aux pommes (8 MINI PIES)",
"ingredients": [
"1½ cups (150 g) peeled, cored, and diced apples (about 2 apples)",
"¼ cup (40 g) raisins, optional",
"1 tablespoon fresh lemon juice",
"2 tablespoons tapioca starch",
"¼ cup (55 g) organic cane sugar",
"½ teaspoon ground cinnamon"
]
},
{
"section": "Pour le dessus",
"ingredients": [
"2 tablespoons turbinado sugar, optional"
]
}
],
"Description": "hether you are baking for a crowd and want to impress your guests with their own miniature pies--or simply need individual portions-this recipe will do the trick. The cups of a standard-sized muffin pan act as the pie plate.",
"Instructions": [
"1. Combine the flour, xanthan gum, ¼ cup (55 g) cane sugar, and salt in a large mixing bowl.",
"2. Cut the shortening into tablespoon-sized pieces and lay them on top of the flour. Use a pastry cutter, a pastry fork, or your hands to work the shortening into the flour. Continue working for 3 to 4 minutes, until a crumbly mixture forms.",
"3. Add the vinegar and 1/4 cup (60 ml) water. Work the liquids into the dough using the pastry cutter. Add up to 1 more tablespoon of cold water as needed, ½ tablespoon at a time, until the dough is smooth and pliable.",
"4. Separate the dough into three sections (to make it easier to work with later) and form each section into a disk, about 1 inch (13 mm) thick. Wrap the disks tightly in plastic and refrigerate for 30 minutes. Pastry dough can be refrigerated for up to 2 weeks.",
"5. When you are ready to make the pies, preheat the oven to 350°F (180°C). Grease 8 cups of a 12-cup standard muffin pan.",
"6. If the dough has been refrigerated for more than 30 minutes prior to rolling, let it sit at room temperature for 15 minutes and massage it with your hands until it is pliable. Roll out the dough between two sheets of parchment paper. Use additional flour, if needed, to avoid sticking.",
"7. Cut eight 4-inch (11.5 cm) rounds to form the bottom crusts. Use two of the three sections dough for this step. Place the bottom crusts into the wells of the prepared muffin pan. The pastry should fully cover the bottom and sides of the wells with up to 1/4 inch (6.5 mm) of crust protruding from the wells.",
"8. Roll out the remaining section of dough and cut eight 2%-inch (6.5 cm) rounds for the top crusts. Cut a 18-inch (2 cm) center hole in the top crusts.",
"9. Toss the fruit (blueberries and zest or apples and raisins) with lemon juice in a small bowl.",
"10. Combine the starch, remaining cane sugar, and cinnamon in a separate bowl. Add this to the fruit, and toss to coat.",
"11. Distribute the fruit evenly in the bottom crusts.",
"12. Place the top crusts over the fruit, allowing them to sit inside the bottom crusts. Use your fingers to roll and pinch the edges together. Sprinkle turbinado sugar on the tops of the crusts, if desired.",
"14. Bake for 19 to 20 minutes, until the fruit filling is bubbling and the tops are golden.",
"TO FREEZE: Freeze pie dough (prepared through step 4) for up to 6 months; thaw the dough in the refrigerator and then let it sit at room temperature for 15 minutes before rolling, filling, and baking. Pies are best when freshly baked, but they can be frozen in an airtight container for up to 2 months; thaw them in the refrigerator and reheat at 325°F (165°C) for 12 to 13 minutes, until warm."
],
"AuthorName": "",
"Notes_Ingredients": "If you choose to make a mixed batch of 4 blueberry pies and 4 apple pies, halve both sets of filling ingredients.",
"Notes_Instructions": ""
}