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": "Baked Beans\nMAKES 6 TO 7 CUPS (1360 TO 1586 G)\nn parts of New England, where I grew up, baked beans have somewhat of a cult following. I have a fond memory of my mother driving up to a\nsmall house, bringing an empty bean pot inside, and exchanging it for a new pot filled with the best baked beans-ever. I no longer have access to\nthat small business source, but these Baked Beans rival that award-winning New England dish. Even those from Beantown will love them!\n½ pound (115 g) thick-cut bacon, cut into 1½-inch (4 cm) pieces\n1 small onion, diced\n1½ cups (360 ml) water\n½ cup (80 ml) pure maple syrup\n½ cup (84 g) Sucanat\n¾ cup (158 g) Ketchup (page 95)\n1 teaspoons salt\n¼ teaspoon ground black pepper\nFour 15-ounce (425 g) cans navy beans, drained\n1. Partially cook the bacon in a large pot or Dutch oven over low heat, stirring occasionally, for 4 to 5 minutes, just to cook off some of the fat.\nRemove the bacon from the pot. (Retain all of the fat from the bacon in the pot.)\n2. Cook the onions in the bacon fat over medium-low heat for about 4 minutes, until softened. Add the water and deglaze the pot, breaking up the\nbrown bits, for 1 minute. Remove the pot from the heat.\n. Preheat the oven to 325°F (165°C).\n3.1\n4. Stir together the maple syrup, Sucanat, ketchup, salt, and pepper in a medium bowl. Add this mixture and the beans to the onions and water in\nthe pot and stir them together well. Stir in half of the bacon. Layer the remaining bacon on top of the beans.\n5. Bake, uncovered, for about 2 hours, until the beans are moist and tender and most of the liquid is baked off. Serve hot or cold.\n6. Cool the beans completely before transferring them to airtight containers. Refrigerate for up to 5 days.\nTO SUBSTITUTE\nFor a vegan version, omit the bacon. Cook the onions in 1 tablespoon of olive oil in step 2, add the water, and then proceed with step 3.\nTO FREEZE\nFreeze in airtight containers for up to 6 months. Thaw in the refrigerator. Reheat at 325°F (165°C) for 20 to 25 minutes.\nA NOTE ABOUT USING DRIED BEANS\nIf you prefer to use dried beans, cover 2 cups (16 ounces/454 g) of dried navy beans with water in a large pot or Dutch oven and soak them\novernight. In the morning, add more water (if needed) to completely cover the beans. Simmer the beans for 2 hours over medium-low heat, drain\nthem, and then continue with the steps above."