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": "Preparation 15 mins\nFresh vegetables\nLamb's lettuce and\napple salad\n... Serves 4\n... Wash 200 g of lamb's lettuce in several changes of water and\ndry it.\n... Put in a salad bowl, season with a small splash of olive oil,\na little salt and freshly ground black pepper, and toss well.\n. Wash 1 green apple and 1 red apple but do not peel them. Cut in\nhalf, remove the cores and slice finely with a mandoline slicer\nand then cut these slices into slivers.\n. Add these slivers of apple to the bowl of lamb's lettuce. Mix\nvery gently.\nCut the stems of a small bunch of chives into six.\nThin 2 tablespoons of cucumber and apple condiment (page 49) with\n1 or 2 tablespoons of Greek-style yogurt to make it nice and\nliquid.\nPour onto the bottom of the serving dish or onto plates.\nPile the lamb's lettuce and apple salad on top, forming a dome.\nThen arrange the chopped chives around the edge.\nAD- This salad goes very well\nwith scallops, halved horizontally,\nand seared for just 30 seconds on\neach side on a grill or griddle. Or\nalternatively serve with a fish fillet.\nPN Lamb's lettuce plus apple,\nthese are two of the best ingrediento\nfor your health. Lamb's lettuce is\na small nutritional miracle for its\nrichness in carotenoids, vitamino B9,\nC, E and Omega 3. The apple, thanks\nto a happy combination of fibre,\nmineral salts and polyphenols, acto\non cholesterol, glycaemia and the\ndigestive system. Nothing but good!\nвов\n888\nдвое\nVegetables... 181"
{
"NbPersons": 4,
"Language": "en",
"Category": "salad",
"Title": "Lamb's lettuce and apple salad",
"Subtitle": "",
"Preparation_Time": 15,
"Cooking_Time": "",
"Difficulty": "easy",
"Ingredients": [
{
"section": "Pour la recette",
"ingredients": [
"200 g of lamb's lettuce",
"1 green apple",
"1 red apple",
"small bunch of chives",
"2 tablespoons of cucumber and apple condiment",
"1 or 2 tablespoons of Greek-style yogurt",
"small splash of olive oil",
"a little salt",
"freshly ground black pepper"
]
}
],
"Description": "This fresh salad combines the delicate flavors of lamb's lettuce and the crispness of apples for a refreshing dish that's good for your health.",
"Instructions": [
"Wash 200 g of lamb's lettuce in several changes of water and dry it.",
"Put in a salad bowl, season with a small splash of olive oil, a little salt and freshly ground black pepper, and toss well.",
"Wash 1 green apple and 1 red apple but do not peel them. Cut in half, remove the cores and slice finely with a mandoline slicer and then cut these slices into slivers.",
"Add these slivers of apple to the bowl of lamb's lettuce. Mix very gently.",
"Cut the stems of a small bunch of chives into six.",
"Thin 2 tablespoons of cucumber and apple condiment with 1 or 2 tablespoons of Greek-style yogurt to make it nice and liquid.",
"Pour onto the bottom of the serving dish or onto plates.",
"Pile the lamb's lettuce and apple salad on top, forming a dome.",
"Then arrange the chopped chives around the edge."
],
"AuthorName": "",
"Notes_Ingredients": "Lamb's lettuce plus apple, these are two of the best ingredients for your health. Lamb's lettuce is a small nutritional miracle for its richness in carotenoids, vitamin B9, C, E and Omega 3. The apple, thanks to a happy combination of fibre, mineral salts and polyphenols, act on cholesterol, glycaemia and the digestive system. Nothing but good!",
"Notes_Instructions": "This salad goes very well with scallops, halved horizontally, and seared for just 30 seconds on each side on a grill or griddle. Or alternatively serve with a fish fillet."
}