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": "Fresh vegetables\nPreparation 10 mins\nCooking 12 mins\nPoached young\nleeks with\ngribiche sauce\nAD-It's perfectly possible to\nadapt this recipe to other vegetables,\nsuch as French beans, asparagus and\neven fresh carrots with the tops on or\nbaby turnips, why not? Always choose\nthe freshest possible vegetables.\nand don't overcook them.\nPN-Rich in fibre, mineral\nsalts, carotenoids and other\nantioxidants, vitamin B9 and vitamin C\n(especially in the green part), the leek\n(already praised by Hippocrates]\nis a vegetable much lauded\nby nutritionists for its\nhealth-giving properties.\n... Serves 4\nPrepare a bowl of gribiche sauce (page 48) without grating the\nhard-boiled eggs over, and keep cool.\n... Put salted water to boil in a saucepan. Also prepare a large bowl\nwith water and ice cubes.\n... Trim the rootlets at the base of 12 small \"pencil\" leeks and slit\ntheir green part lengthwise with 2 or 3 knife cuts.\n... Wash in the sink filled with water holding them by the base and\nshaking them to remove all traces of earth.\n... Then tie them into 3 bundles with cooking string and immerse them\nin boiling water for 12 minutes.\n... Check when they are done with the tip of a knife. They should be\nfairly soft.\nTake them out of the saucepan with a slotted spoon and plunge them\nin the iced water for just 30 seconds to help keep their colour\nwithout cooling them too much.\n... Drain them, squeeze gently, then arrange in the serving dish and\nseason immediately with salt and freshly ground black pepper.\n... Spread the Gribiche sauce over.\nThen grate the hard-boiled eggs on top and serve immediately.\n184. Vegetables\nOKE DES"
{
"NbPersons": 4,
"Language": "en",
"Category": "starter",
"Title": "Poached young leeks with gribiche sauce",
"Subtitle": "Fresh vegetables",
"Preparation_Time": 10,
"Cooking_Time": 12,
"Difficulty": "easy",
"Ingredients": [
{
"section": "Pour la recette",
"ingredients": ["12 small \"pencil\" leeks", "salt", "freshly ground black pepper"]
}
],
"Description": "Rich in fibre, mineral salts, carotenoids and other antioxidants, vitamin B9 and vitamin C (especially in the green part), the leek (already praised by Hippocrates) is a vegetable much lauded by nutritionists for its health-giving properties.",
"Instructions": [
"Prepare a bowl of gribiche sauce (page 48) without grating the hard-boiled eggs over, and keep cool.",
"Put salted water to boil in a saucepan. Also prepare a large bowl with water and ice cubes.",
"Trim the rootlets at the base of 12 small \"pencil\" leeks and slit their green part lengthwise with 2 or 3 knife cuts.",
"Wash in the sink filled with water holding them by the base and shaking them to remove all traces of earth.",
"Then tie them into 3 bundles with cooking string and immerse them in boiling water for 12 minutes.",
"Check when they are done with the tip of a knife. They should be fairly soft.",
"Take them out of the saucepan with a slotted spoon and plunge them in the iced water for just 30 seconds to help keep their colour without cooling them too much.",
"Drain them, squeeze gently, then arrange in the serving dish and season immediately with salt and freshly ground black pepper.",
"Spread the Gribiche sauce over.",
"Then grate the hard-boiled eggs on top and serve immediately."
],
"AuthorName": "",
"Notes_Ingredients": "It's perfectly possible to adapt this recipe to other vegetables, such as French beans, asparagus and even fresh carrots with the tops on or baby turnips, why not? Always choose the freshest possible vegetables and don't overcook them.",
"Notes_Instructions": "Check when they are done with the tip of a knife."
}