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": "For 4\nPreparation time: 25 min\nCooking time: 7 min\n(duck breasts)\n+ 15 min (compote)\nRoast duck breast\nwith black cherry compote\nA few cherries transform a simple duck breast into a sophisticated\nand original dish. If you can, use several different cherry varieties\nfor the compote.\n4 x 180-200 g/6%-7 oz duck breasts\nfine salt, fleur de sel and freshly\nground pepper\nThe blinis\n125 g/4½ oz plain (all-purpose) flour\n2 eggs\n10 g/½ oz butter + a little extra\nfor cooking the blinis\n200 ml/7 fl oz milk\n3 tablespoons walnut oil\npinch of fine salt\n100 g/3½ oz canned sweetcorn\n2 egg whites\noil for frying\nThe cherry compote\n100 g/3½ oz cherries + 4 extra\nfor decoration\n2 knobs of salted butter\n2 tablespoons balsamic vinegar\n1 The duck breasts\nRemove some of the fat and any sinews or nerves from the duck breasts (or get your\nbutcher to do it). Slash the remaining fat in a criss-cross pattern with a sharp knife,\nthen refrigerate while cooking the blinis and compote.\n2-The blinis\nPut the flour, eggs, butter, milk, walnut oil and salt into a blender and blend until\nsmooth, then strain through a fine sieve. When ready to cook, add the sweetcorn and\nthe whisked egg whites to the batter. Heat a little oil and butter in a non-stick frying\npan and then, when foaming, pour in small circles of batter. Cook over a gentle heat\nfor 3-4 minutes, turning the blinis once or twice as necessary.\n3-The cherry compote\nWash the cherries, then remove the stalks and stones. Sauté the cherries for 2 minutes\nin a frying pan with half the butter. Pour in the balsamic vinegar and leave to cook\nover a gentle heat for 10 minutes. Take off the heat, then beat in the rest of the butter.\n4-Cooking the duck breasts\nSeason the duck breasts, then brown them in a grill pan or frying pan, starting with\nthe skin side for about 2 minutes. Turn over and brown the meat for 2 minutes.\nFinish them off in an oven preheated to 180°C (350°F: gas mark 4), skin-side up, for\n7-8 minutes. Remove from the oven and leave to rest for 4-5 minutes.\n5- Plating up\nFinely slice the duck breasts and arrange on the plates. Add a spoonful of cherry\ncompote and a small stack of blinis topped with a cherry. Scatter a little fleur de sel\non the meat.\nTip | Make sure enough fat is removed from the duck: you need to leave a thin layer, only about\n2-3 mm/½ in. This means the duck breast will still taste delicious but won't be quite so heavy.\nEntertaining\n57"