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": "Tartines\nPreparation 30 mins\nVegetarian\nsandwiches\nAD- you can vary this recipe\nby using small rolls or a crusty\nbaquette split open, and vary the\nherbs according to what's available\nin the market.\nPN- With fibre and carbohydrates\nfrom the wholemeal bread and\nvegetables, plant protein and also\na little animal protein from the\nricotta and parmesan, this is a\nreally well-balanced sandwich.\nCombine with a yogurt and some\nfruit, and you have a perfect\noffice lunch.\nMakes 4 sandwiches\nCut 8 large slices lengthwise from a wholemeal loaf, and rub them\nwith 1 garlic clove cut in half.\nWash 1 aubergine and 2 courgettes and cut into slices about\n5 mm thick. Brush them lightly with oil, salt and grill for\n1 minute on each side. Drain on kitchen paper.\nChop the leaves of 4 sprigs of basil and mix them in a bowl with\n100 g of ricotta, a tablespoon of grated parmesan and a small\nsplash of olive oil.\nWash a handful of wild rocket and dry well, then remove the stalks.\nSlice 2 tomatoes into rounds then arrange over the 4 tartines with\nthe slices of grilled aubergine and courgettes.\n... With a peeler, shave 40 g of parmesan and spread on top.\n... Spread the other 4 slices of bread with basil-flavoured ricotta and\narrange the wild rocket leaves on top.\n... Give a generous twist of freshly ground black pepper and lay the\nricotta tartines on top of the slices covered with vegetables.\nPress lightly to hold them together.\nWrap in cling film until you are ready to eat.\n64. Grains and cereals"
{
"NbPersons": 4,
"Language": "en",
"Category": "sandwiches",
"Title": "Tartines",
"Subtitle": "",
"Preparation_Time": 30,
"Cooking_Time": 2,
"Difficulty": "easy",
"Ingredients": [
{
"section": "Pour la recette",
"ingredients": [
"8 large slices of wholemeal bread",
"1 garlic clove",
"1 aubergine",
"2 courgettes",
"4 sprigs of basil",
"100 g of ricotta",
"1 tablespoon of grated parmesan",
"olive oil",
"a handful of wild rocket",
"2 tomatoes",
"40 g of parmesan"
]
}
],
"Description": "With fibre and carbohydrates from the wholemeal bread and vegetables, plant protein and also a little animal protein from the ricotta and parmesan, this is a really well-balanced sandwich. Combine with a yogurt and some fruit, and you have a perfect office lunch.",
"Instructions": [
"Cut 8 large slices lengthwise from a wholemeal loaf, and rub them with 1 garlic clove cut in half.",
"Wash 1 aubergine and 2 courgettes and cut into slices about 5 mm thick. Brush them lightly with oil, salt and grill for 1 minute on each side. Drain on kitchen paper.",
"Chop the leaves of 4 sprigs of basil and mix them in a bowl with 100 g of ricotta, a tablespoon of grated parmesan and a small splash of olive oil.",
"Wash a handful of wild rocket and dry well, then remove the stalks.",
"Slice 2 tomatoes into rounds then arrange over the 4 tartines with the slices of grilled aubergine and courgettes.",
"With a peeler, shave 40 g of parmesan and spread on top.",
"Spread the other 4 slices of bread with basil-flavoured ricotta and arrange the wild rocket leaves on top.",
"Give a generous twist of freshly ground black pepper and lay the ricotta tartines on top of the slices covered with vegetables.",
"Press lightly to hold them together.",
"Wrap in cling film until you are ready to eat."
],
"AuthorName": "",
"Notes_Ingredients": "you can vary this recipe by using small rolls or a crusty baquette split open, and vary the herbs according to what's available in the market.",
"Notes_Instructions": ""
}