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": "COCONUT HEARTS\nServes 8\nPreparation time: 3 hours\nCooking time: 15 minutes plus 15 minutes\nResting time: 1 hour plus 1 hour\nFor the whipped coconut ganache\n4 sheets (%g powdered) gelatin\n2 cups (530 g) whipping cream\n5 ounces (140 g) white couverture chocolate, chopped\n½ cup (120 g) coconut puree\nFor the coconut praline\n4½ cups (320 g) shredded dried coconut\n1 cup (100 g) whole almonds\n½ cup (120 g) superfine sugar\n¼ teaspoon (3 g) fleur de sel\nFor finishing\n2 cups (150 g) shredded dried coconut\nFor the whipped coconut ganache\nSoak the gelatin sheets in water. In a saucepan, heat half of the cream, then pass through a conical sieve into the previously melted white chocolate\nand drained gelatin. Use an immersion blender blend. Add the coconut puree and the remaining cream and blend again.\nFor the coconut praline Preheat the oven to 300°F (150°C). Put the shredded coconut onto a nonstick baking sheet and toast evenly in the oven\nfor 15 minutes. Then repeat for the almonds. Mix the shredded coconut and almonds. With the superfine sugar, make a light dry caramel at 340°F\n(170°C) and pour it over the toasted mixture. Add the fleur de sel. Mix using a food processor or blender.\nFor assembly and finishing\nFill 1%-inch (3.5-cm)-diameter half-dome silicone molds with the coconut ganache. Freeze for 1 hour. Using 1%-inch (4.5-cm)-diameter half-dome\nmolds, fill with the coconut praline, placing the frozen coconut ganache spheres in the center. Place the second half on top. Finish filling with coconut\npraline through the hole at the top of the mold. Freeze the coconut spheres for 1 hour.\nUnmold the spheres, roll in shredded coconut, and serve."
}
json
{
"NbPersons": 8,
"Language": "en",
"Category": "dessert",
"Title": "COCONUT HEARTS",
"Subtitle": "",
"Preparation_Time": 180,
"Cooking_Time": 30,
"Difficulty": "hard",
"Ingredients": [
{
"section": "For the whipped coconut ganache",
"ingredients": [
"4 sheets (%g powdered) gelatin",
"2 cups (530 g) whipping cream",
"5 ounces (140 g) white couverture chocolate, chopped",
"½ cup (120 g) coconut puree"
]
},
{
"section": "For the coconut praline",
"ingredients": [
"4½ cups (320 g) shredded dried coconut",
"1 cup (100 g) whole almonds",
"½ cup (120 g) superfine sugar",
"¼ teaspoon (3 g) fleur de sel"
]
},
{
"section": "For finishing",
"ingredients": [
"2 cups (150 g) shredded dried coconut"
]
}
],
"Description": "A delightful dessert that combines the rich flavor of coconut with a creamy whipped ganache, encased in a crispy praline shell. Perfect for special occasions or a sweet treat!",
"Instructions": [
"Soak the gelatin sheets in water.",
"In a saucepan, heat half of the cream, then pass through a conical sieve into the previously melted white chocolate and drained gelatin.",
"Use an immersion blender blend.",
"Add the coconut puree and the remaining cream and blend again.",
"Preheat the oven to 300°F (150°C).",
"Put the shredded coconut onto a nonstick baking sheet and toast evenly in the oven for 15 minutes.",
"Then repeat for the almonds.",
"Mix the shredded coconut and almonds.",
"With the superfine sugar, make a light dry caramel at 340°F (170°C) and pour it over the toasted mixture.",
"Add the fleur de sel.",
"Mix using a food processor or blender.",
"Fill 1%-inch (3.5-cm)-diameter half-dome silicone molds with the coconut ganache.",
"Freeze for 1 hour.",
"Using 1%-inch (4.5-cm)-diameter half-dome molds, fill with the coconut praline, placing the frozen coconut ganache spheres in the center.",
"Place the second half on top.",
"Finish filling with coconut praline through the hole at the top of the mold.",
"Freeze the coconut spheres for 1 hour.",
"Unmold the spheres, roll in shredded coconut, and serve."
],
"AuthorName": "",
"Notes_Ingredients": "",
"Notes_Instructions": ""
}