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": "Natural Food Colorings\noften wonder how we got comfortable consuming ingredients with names such as \"yellow #5,\" or \"blue #1,\" yet\nthey appear in so many processed foods. Your doctor may advise you to avoid them or you may decide that\nyour family is just better off without them. You always have the option to simply do without the color, but if you\nare inclined to make a cupcake look a little bit prettier, here's how you can do it with natural ingredients. The\nproportions listed here are to be used with the Vanilla Frosting recipe (page 294), which yields 2 cups (530 g) of\nfrosting.\nThe colors achieved from these methods will be lighter than traditional food coloring. Also, keep in mind that\nthe taste of the food you choose to make food coloring from will come across in the taste of the frosting-\nconsider that a benefit!\nBerries\nBerries are my favorite option for adding color to frosting; in addition to being able to achieve a medium-depth\ncolor, berries add nice flavor to frosting. One cup (150 g) of berries will provide between ¼ cup and ½ cup (60 ml\nand 120 ml) of food coloring. Food coloring made from berries should be refrigerated and used within 2 days. I\ndo not recommend using bottled or canned juice to create color in frosting; the frosting will be too watery.\nPink: Raspberries or cranberries\nPurple: Blackberries or very ripe blueberries\n1. Wash and dry the berries. Puree them in a food processor and strain the puree through a fine mesh strainer to\nremove the pulp and seeds from the juice. The fruit coloring will be thick. (Save the pulp from the raspberries\nor blackberries to use as jam, if desired.)\n2. To make frosting, add up to 4 tablespoons of fruit coloring (instead of 2 to 4 tablespoons of water) in step 2 on\npage 294. The amount of fruit coloring added will determine the depth of color in the frosting. Add the fruit\ncoloring first, before adding any water to the frosting; it may not be needed.\nZest\nAny citrus fruit with a skin can provide coloring. Vegetables with soft skins can also provide color, while\ntechnically this is not zest, the same technique is used to finely grate the skin. There will be small flecks of color\nin the frosting. Use zest on the same day as you prepare it.\nYellow: Orange zest (the zest from a lemon will be too light in color). One orange yields about 1 tablespoon of\nzest. (Squeeze the juice from the oranges to make a homemade glass of juice, if desired.)\nLight Green: Lime zest. One lime yields about 1 teaspoon of zest.\nDark Green: Skin of a zucchini. One medium zucchini yields about 2 tablespoons of zest.\n1. Wash the skins of the fruits or vegetables and dry them thoroughly. Use a microplane grater to finely grate the\nskin, being careful to zest only the top layer of the fruit or vegetable.\n2. To make frosting, add up to 4 tablespoons of zest (in addition to the 2 to 4 tablespoons of water) in step 2 on\npage 294. The amount of zest added will determine the depth of the color in the frosting.\nChocolate\nBecause chocolate is fat, you must adjust the amount of shortening used in your frosting.\nBrown or tan: Chocolate syrup\n1. Reduce the amount of shortening in step 1 of the frosting recipe on page 294 to 8 tablespoons. Add 3 to 4\ntablespoons of Chocolate Syrup (page 292).\n2. Add 1 to 2 tablespoons of water (in addition to the 2 to 4 tablespoons of water in step 2 on page 294), as\nneeded to achieve the desired consistency."