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": "STAR PALMIER\nMakes 3 palmiers\nPreparation time: 45 minutes\nCooking time: 20 minutes\nResting time: 4 hours\nFor the puff pastry dough\n- Kneaded butter (beurre manié)\n1½ cups (12 ounces/330 g) unsalted\ndry butter (84% fat content)\n1 cup plus 2 tablespoons (135 g) pastry flour\n½ cup packed (100 g) brown sugar\n3½ ounces (100 g) piloncillo sugar\n-Water dough (détrempe)\n2 teaspoons (12 g) salt\n% teaspoon (3 g) distilled white vinegar\n7 tablespoons (100 g) unsalted butter, softened\n2% cups (315 g) pastry flour\nFor the puff pastry dough\nIn an electric stand mixer fitted with a flat beater attachment, beat the butter with the flour for about 10 minutes. Using a rolling pin, roll out the beurre\nmanié to make a 16 by 45-inch (40 by 115-cm) rectangle that is ¾ inch (10 mm) thick.\nIn an electric stand mixer fitted with a dough hook, make the détrempe by mixing ½ cup (130 g) of water with the salt, vinegar, butter, and flour for\nabout 15 minutes, until a smooth dough forms.\nRoll out the détrempe to a thickness of ¾ inch (10 mm), making a 15-inch (38-cm) square. Place the détrempe in the middle of the beurre manié,\nthen fold over each edge to encase the détrempe.\nMake the dough with four simple turns. Start by rolling out the dough, then fold it over on itself to make the first turn. Refrigerate for 1 hour.\nRepeat this process a second time. Then make the next two turns, sprinkling the dough with a mixture of brown sugar and piloncillo sugar each time.\nMake sure to refrigerate for 1 hour between each turn. Using a rolling pin, roll out the dough to a thickness of ½ inch (4 mm).\nFor assembly and finishing\nPreheat the oven to 360°F (180°C). Cut 5% by 3-inch (14 by 7.5-cm) strips of the puff pastry dough. Twist each strip once, then place them\noverlaying side by side to form circle, and pinch together in the center. Place in a round nonstick cake pan. Bake in the oven for 20 minutes.\nRemove from the oven and let cool on a rack."