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 30 mins\nCooking 8 mins\nWhite cabbage salad\nwith soft-boiled egg\nAD-Use walnut bread, if you can\nget hold of some. Its flavours go\nvery well with those of cabbage\nmarinated in vinegar.\nPN- Cabbage has many virtues,\ndue to its fibre and antioxidants,\nand to the special molecules it\ncontains. It's a very healthy\nfood, and very easy to digest\nwhen blanched.\n... Serves 4\n... Cut the base of 1 white cabbage. Separate the leaves and wash them.\nRemove the tougher outer leaves and then finely slice the rest into\n5 cm strips.\n. Heat a flameproof casserole dish with 4 tablespoons of wine\nvinegar.\nAdd the sliced cabbage leaves, cook for just 1 minute, stirring,\nthen transfer to a large bowl. Pour 4 tablespoons of olive oil over\nand add freshly ground black pepper.\n... Leave to marinate for 20 minutes.\n... In the meantime, soft boil 3 eggs (6 minutes), cool and shell them.\n.... Preheat the oven to 200 °C (gas mark 6).\nwww\n... Wash, dry and cut the leaves off a small bunch of parsley, a small\nbunch of chervil and a very small bunch of tarragon.\n... Put the soft-boiled eggs in a bowl and crush with a fork.\n... Add them to the cabbage when it has sufficiently marinated. Also\nadd the herb leaves.\n... When your oven is hot, place 8 thin slices of wholemeal bread\non the rack and dry until crunchy and slightly coloured\n(1 to 2 minutes).\nPut the cabbage in the serving dish. Break up the slices of dried\nbread and arrange them decoratively on top. Serve straight away.\n186. Vegetables\n000\n000"
{
"NbPersons": 4,
"Language": "en",
"Category": "salad",
"Title": "White cabbage salad",
"Subtitle": "with soft-boiled egg",
"Preparation_Time": 30,
"Cooking_Time": 8,
"Difficulty": "easy",
"Ingredients": [
{
"section": "Pour la recette",
"ingredients": [
"1 white cabbage",
"4 tablespoons of wine vinegar",
"4 tablespoons of olive oil",
"freshly ground black pepper",
"3 eggs",
"small bunch of parsley",
"small bunch of chervil",
"very small bunch of tarragon",
"8 thin slices of wholemeal bread"
]
}
],
"Description": "Fresh vegetables",
"Instructions": [
"Cut the base of 1 white cabbage. Separate the leaves and wash them.",
"Remove the tougher outer leaves and then finely slice the rest into 5 cm strips.",
"Heat a flameproof casserole dish with 4 tablespoons of wine vinegar.",
"Add the sliced cabbage leaves, cook for just 1 minute, stirring, then transfer to a large bowl.",
"Pour 4 tablespoons of olive oil over and add freshly ground black pepper.",
"Leave to marinate for 20 minutes.",
"In the meantime, soft boil 3 eggs (6 minutes), cool and shell them.",
"Preheat the oven to 200 °C (gas mark 6).",
"Wash, dry and cut the leaves off a small bunch of parsley, a small bunch of chervil and a very small bunch of tarragon.",
"Put the soft-boiled eggs in a bowl and crush with a fork.",
"Add them to the cabbage when it has sufficiently marinated. Also add the herb leaves.",
"When your oven is hot, place 8 thin slices of wholemeal bread on the rack and dry until crunchy and slightly coloured (1 to 2 minutes).",
"Put the cabbage in the serving dish. Break up the slices of dried bread and arrange them decoratively on top.",
"Serve straight away."
],
"AuthorName": "",
"Notes_Ingredients": "AD-Use walnut bread, if you can get hold of some. Its flavours go very well with those of cabbage marinated in vinegar. PN- Cabbage has many virtues, due to its fibre and antioxidants, and to the special molecules it contains. It's a very healthy food, and very easy to digest when blanched.",
"Notes_Instructions": ""
}