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": "PINEAPPLE\nServes 8\nPreparation time: 30 minutes\nResting time: 2 hours plus 2 to 3 hours\nFor the pineapple shells\n8 whole baby pineapples\nFor the pineapple-lime sorbet\n2 cups (450 g) Boiron ®\npineapple pulp\n½ cup (80 g) lime juice\n1 cup (200 g) superfine sugar\n½ cup (100 g) glucose powder\n1½ teaspoons (6 g) super neutrose\nZest of 2 limes\nFor the pineapple shells\nCut the tops off the pineapples at three-quarters of their height. Using a spoon, hollow out the insides by removing a little of the flesh and set aside.\nFreeze the shells for 2 hours.\nFor the pineapple-lime sorbet\nUse a juicer to extract 1% cups plus 2 tablespoons (450 g) of juice from the pineapples, then pass it through a conical sieve. Heat this juice in a\nsaucepan with the pineapple pulp, lime juice, and ¾ cup plus 1½ tablespoons (210 g) of water. When the mixture reaches 105°F (40°C), add the\nsuperfine sugar, glucose powder, and super neutrose and heat to boiling. Transfer to a mixing bowl and refrigerate for 2 to 3 hours. When cool, add\nthe lime zest and reserved pineapple flesh, then blend with an immersion blender. Churn in an ice cream maker for 10 to 15 minutes, then transfer to\na cold bowl and freeze for about 2 hours.\nFor assembly\nTransfer the sorbet to a pastry bag fitted with a Saint-Honoré tip, then pipe into the pineapples. Add the tops of the pineapples and serve\nimmediately.\nwwwww\nMay\nwwwww\nwwwww"
{
"NbPersons": 8,
"Language": "en",
"Category": "dessert",
"Title": "PINEAPPLE",
"Subtitle": "",
"Preparation_Time": 30,
"Cooking_Time": 0,
"Difficulty": "medium",
"Ingredients": [
{
"section": "For the pineapple shells",
"ingredients": [
"8 whole baby pineapples"
]
},
{
"section": "For the pineapple-lime sorbet",
"ingredients": [
"2 cups (450 g) Boiron ® pineapple pulp",
"½ cup (80 g) lime juice",
"1 cup (200 g) superfine sugar",
"½ cup (100 g) glucose powder",
"1½ teaspoons (6 g) super neutrose",
"Zest of 2 limes"
]
}
],
"Description": "A delightful dessert made from baby pineapples and a refreshing pineapple-lime sorbet, perfect for a summer day.",
"Instructions": [
"Cut the tops off the pineapples at three-quarters of their height. Using a spoon, hollow out the insides by removing a little of the flesh and set aside.",
"Freeze the shells for 2 hours.",
"Use a juicer to extract 1% cups plus 2 tablespoons (450 g) of juice from the pineapples, then pass it through a conical sieve.",
"Heat this juice in a saucepan with the pineapple pulp, lime juice, and ¾ cup plus 1½ tablespoons (210 g) of water.",
"When the mixture reaches 105°F (40°C), add the superfine sugar, glucose powder, and super neutrose and heat to boiling.",
"Transfer to a mixing bowl and refrigerate for 2 to 3 hours.",
"When cool, add the lime zest and reserved pineapple flesh, then blend with an immersion blender.",
"Churn in an ice cream maker for 10 to 15 minutes, then transfer to a cold bowl and freeze for about 2 hours.",
"Transfer the sorbet to a pastry bag fitted with a Saint-Honoré tip, then pipe into the pineapples.",
"Add the tops of the pineapples and serve immediately."
],
"AuthorName": "",
"Notes_Ingredients": "",
"Notes_Instructions": ""
}