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 children\nFor 4\nPreparation time: 10 min\nCooking time: 25 min\nGrandma Alice's bulgur\nwheat with vermicelli\nDiscover the marvellous contrast of soft bulgur wheat and crunchy\nvermicelli in this traditional Armenian dish. It's a perfect accompaniment\nfor white meat, like chicken or pork, and a great alternative to rice.\nThe vermicelli\nsplash of olive oil\n50 g/14 oz vermicelli pasta\n1/2 onion\nknob of salted butter\nThe bulgur wheat\n250 g/8½ oz bulgur wheat\n450 ml/15 fl oz vegetable stock\n(see step-by-step method on p. 126)\nfine salt\nFinishing off\na few knobs of butter.\nfine salt\n1-The vermicelli\nHeat the oil in a saucepan over a gentle heat. Add the vermicelli and let it colour,\nstirring from time to time, until golden brown. Meanwhile, peel and finely chop the\nonion, then add to the pan, along with the butter. Cook over a gentle heat for another\n2-3 minutes, stirring every so often.\n2-The bulgur wheat\nAdd the bulgur wheat and stir it in well with a wooden spoon, making sure it is\ncovered with the melted butter and onions. Pour in the vegetable stock and add a\nlittle salt, then cover and leave to cook for 20 minutes over a gentle heat. Taste the\nbulgur: it should be soft and fragrant. If it is still chewy, add a little water, cover and\ncook for a minute or two longer..\n3- Finishing off\nTake the pan off the heat and add a few knobs of butter. Mix in gently, then cover\nthe pan and leave to rest for a few minutes. Fluff up the bulgur with a fork to break\nup any lumps, then taste and adjust the seasoning if necessary. Serve hot.\nTip Bulgur wheat is a type of coarse grain derived from durum wheat. It has a delicate nutty\nflavour, and its high fibre and carbohydrate content makes it very nutritious.\n377"
{
"NbPersons": 4,
"Language": "en",
"Category": "main",
"Title": "Grandma Alice's bulgur wheat with vermicelli",
"Subtitle": "Discover the marvellous contrast of soft bulgur wheat and crunchy vermicelli in this traditional Armenian dish.",
"Preparation_Time": 10,
"Cooking_Time": 25,
"Difficulty": "easy",
"Ingredients": [
{
"section": "The vermicelli",
"ingredients": [
"50 g/14 oz vermicelli pasta",
"1/2 onion",
"knob of salted butter",
"splash of olive oil"
]
},
{
"section": "The bulgur wheat",
"ingredients": [
"250 g/8½ oz bulgur wheat",
"450 ml/15 fl oz vegetable stock",
"fine salt"
]
},
{
"section": "Finishing off",
"ingredients": [
"a few knobs of butter",
"fine salt"
]
}
],
"Description": "It's a perfect accompaniment for white meat, like chicken or pork, and a great alternative to rice.",
"Instructions": [
"1-The vermicelli: Heat the oil in a saucepan over a gentle heat. Add the vermicelli and let it colour, stirring from time to time, until golden brown. Meanwhile, peel and finely chop the onion, then add to the pan, along with the butter. Cook over a gentle heat for another 2-3 minutes, stirring every so often.",
"2-The bulgur wheat: Add the bulgur wheat and stir it in well with a wooden spoon, making sure it is covered with the melted butter and onions. Pour in the vegetable stock and add a little salt, then cover and leave to cook for 20 minutes over a gentle heat. Taste the bulgur: it should be soft and fragrant. If it is still chewy, add a little water, cover and cook for a minute or two longer.",
"3- Finishing off: Take the pan off the heat and add a few knobs of butter. Mix in gently, then cover the pan and leave to rest for a few minutes. Fluff up the bulgur with a fork to break up any lumps, then taste and adjust the seasoning if necessary. Serve hot."
],
"AuthorName": "Grandma Alice",
"Notes_Ingredients": "Bulgur wheat is a type of coarse grain derived from durum wheat. It has a delicate nutty flavour, and its high fibre and carbohydrate content makes it very nutritious.",
"Notes_Instructions": ""
}