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": "Eggs\nPreparation 15 mins\nCooking 20 mins\nBasque-style\nbaked eggs\nAD- Serve these Basque-style\neggs with nice fresh slices of\nwholemeal or multigrain bread.\nIf you don't have a flameproof\nserving dish, use a frying pan\nfit for serving at the table.\nPN-If you cannot get Spanish\nSerrano ham use an Italian cured\nham, and trim the fat before cutting\nit. Peppers, onions and tomatoes-\nplenty of antioxidants here!\nServes 4\n.... Peel 2 white onions, peel 1 red pepper, 1 green pepper and 1 yellow\npepper with a vegetable peeler, and remove the seeds and filaments.\nCut all these vegetables into thin slivers.\n. Cut 4 tomatoes into quarters, remove their seeds and cut their\nflesh similarly.\n... Peel and chop 2 garlic cloves.\n.... Heat a splash of olive oil in a flameproof casserole dish and sweat\nthe onions and peppers for 5 minutes, with the lid on.\nAdd the tomatoes and garlic, cook gently with the lid off, until\nthe liquid from the vegetables has evaporated.\n.. In the meantime, cut 100 g of Spanish Serrano ham into slivers and\nchop the leaves from a small bunch of basil.\n... Add them when the vegetables are cooked and stir well. Taste and\nadjust the seasoning with salt and Piment d'Espelette.\n... Spread the vegetables in a layer about 4 cm thick in a large\nflameproof serving dish.\nMake 8 little hollows in the vegetable layer. Take 8 very fresh eggs\nand break one in to each hollow. Cook gently until the white is set\nbut the yolk is still runny.\n... Sprinkle over a few grains of sea salt and serve.\n278 ... Land\n000\n000"
{
"NbPersons": 4,
"Language": "en",
"Category": "main",
"Title": "Basque-style baked eggs",
"Subtitle": "",
"Preparation_Time": 15,
"Cooking_Time": 20,
"Difficulty": "medium",
"Ingredients": [
{
"section": "Pour la recette",
"ingredients": [
"2 white onions",
"1 red pepper",
"1 green pepper",
"1 yellow pepper",
"4 tomatoes",
"2 garlic cloves",
"splash of olive oil",
"100 g of Spanish Serrano ham",
"small bunch of basil",
"8 very fresh eggs",
"sea salt",
"Piment d'Espelette"
]
}
],
"Description": "Serve these Basque-style eggs with nice fresh slices of wholemeal or multigrain bread. If you don't have a flameproof serving dish, use a frying pan fit for serving at the table. Peppers, onions and tomatoes - plenty of antioxidants here!",
"Instructions": [
"Peel 2 white onions, peel 1 red pepper, 1 green pepper and 1 yellow pepper with a vegetable peeler, and remove the seeds and filaments.",
"Cut all these vegetables into thin slivers.",
"Cut 4 tomatoes into quarters, remove their seeds and cut their flesh similarly.",
"Peel and chop 2 garlic cloves.",
"Heat a splash of olive oil in a flameproof casserole dish and sweat the onions and peppers for 5 minutes, with the lid on.",
"Add the tomatoes and garlic, cook gently with the lid off, until the liquid from the vegetables has evaporated.",
"In the meantime, cut 100 g of Spanish Serrano ham into slivers and chop the leaves from a small bunch of basil.",
"Add them when the vegetables are cooked and stir well. Taste and adjust the seasoning with salt and Piment d'Espelette.",
"Spread the vegetables in a layer about 4 cm thick in a large flameproof serving dish.",
"Make 8 little hollows in the vegetable layer. Take 8 very fresh eggs and break one into each hollow. Cook gently until the white is set but the yolk is still runny.",
"Sprinkle over a few grains of sea salt and serve."
],
"AuthorName": "",
"Notes_Ingredients": "If you cannot get Spanish Serrano ham use an Italian cured ham, and trim the fat before cutting it.",
"Notes_Instructions": ""
}