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": "Homemade\nFor 4\nPreparation time: 30 min\nCooking time: 20 min\nChilling time: 2 h\nSalmon rillettes with\ntonka bean and green apple\nWhat could be simpler for a picnic than rillettes on good bread? I add\na little cream to lend richness to this perfectly balanced mixture of warm\nand sharp flavours. For the best texture and taste, you need to eat this\nwhen it is very fresh.\n500 ml/18 fl oz vegetable stock\n(see step-by-step method on p. 126)\n400 g/14 oz skinless salmon fillet,\npin-boned\nI shallot\nsmall knob of salted butter\nsplash of olive oil\nsplash of white wine\nI Granny Smith apple\njuice of ½ lemon\n100 ml/3½ fl oz crème fraîche\n(sour cream)\n100 g/3½ oz whipped cream\nI tonka bean\nslices of toast\nfine salt\n1-Cooking the salmon\nBring the vegetable stock to the boil in a saucepan. Immerse the seasoned salmon\nin it and lower the heat so the stock just simmers. Cook the salmon for 15 minutes,\nwithout letting it boil, then remove and leave to cool completely before flaking the\nfish with a fork. Remove any remaining bones, then chill in the fridge.\n2 Preparing the flavourings\nPeel and finely chop the shallot. Put the butter and oil in a saucepan over a gentle\nheat, then add the shallot and cook until soft and translucent, stirring every so often.\nAdd the white wine and cook for 5 minutes, then remove from the heat and leave\nto cool. Meanwhile, wash, core and dice the apple, adding the lemon juice to stop it\ndiscolouring.\n3-Finishing off and serving\nMix the salmon with the shallot and white wine, the two creams and some grated\ntonka bean. Add the diced apple, check the seasoning and add some salt if necessary.\nChill for at least 2 hours. (See step-by-step method on p. 318.) Serve well chilled\nwith toast.\n317"
{
"NbPersons": 4,
"Language": "en",
"Category": "appetizer",
"Title": "Salmon rillettes with tonka bean and green apple",
"Subtitle": "What could be simpler for a picnic than rillettes on good bread?",
"Preparation_Time": 30,
"Cooking_Time": 20,
"Difficulty": "medium",
"Ingredients": [
{
"section": "Pour la recette",
"ingredients": [
"500 ml/18 fl oz vegetable stock",
"400 g/14 oz skinless salmon fillet, pin-boned",
"I shallot",
"small knob of salted butter",
"splash of olive oil",
"splash of white wine",
"I Granny Smith apple",
"juice of ½ lemon",
"100 ml/3½ fl oz crème fraîche (sour cream)",
"100 g/3½ oz whipped cream",
"I tonka bean",
"slices of toast",
"fine salt"
]
}
],
"Description": "I add a little cream to lend richness to this perfectly balanced mixture of warm and sharp flavours. For the best texture and taste, you need to eat this when it is very fresh.",
"Instructions": [
"1-Cooking the salmon",
"Bring the vegetable stock to the boil in a saucepan. Immerse the seasoned salmon in it and lower the heat so the stock just simmers. Cook the salmon for 15 minutes, without letting it boil, then remove and leave to cool completely before flaking the fish with a fork. Remove any remaining bones, then chill in the fridge.",
"2 Preparing the flavourings",
"Peel and finely chop the shallot. Put the butter and oil in a saucepan over a gentle heat, then add the shallot and cook until soft and translucent, stirring every so often. Add the white wine and cook for 5 minutes, then remove from the heat and leave to cool. Meanwhile, wash, core and dice the apple, adding the lemon juice to stop it discolouring.",
"3-Finishing off and serving",
"Mix the salmon with the shallot and white wine, the two creams and some grated tonka bean. Add the diced apple, check the seasoning and add some salt if necessary. Chill for at least 2 hours. (See step-by-step method on p. 318.) Serve well chilled with toast."
],
"AuthorName": "",
"Notes_Ingredients": "",
"Notes_Instructions": ""
}