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 20 mins\nCooking 1 hr\nSquash gratin\nAD- In the squash family, you\nhave plenty of choice between\npumpkin, potimarron, butternut\nsquash, Muscade de Provence and\nCourge Longue de Nice. It all\ndepends what you can find in the\nmarket. But if you do spot a\nMuscade de Provence, pounce on\nit, as it is particularly tasty.\nPN- All squashes are rich in\nantioxidant carotenoids: the more\norange the flesh, the more they\ncontain. They are good to eat\nin winter, when they are\nin season!\n... Serves 4\nPeel 1 kg of squash and cut into cubes.\nPreheat the oven to 220 °C (gas mark 7).\n... In a large ovenproof cooking pot, brown 2 slices of bacon 5 mm\nthick for 5 minutes, turning them over. Add the cubes of squash,\n4 garlic cloves (unpeeled) crushed, 1 sprig of rosemary and\na little salt.\nCover with greaseproof paper and put in the oven for 30 minutes.\nLower the oven to 180 °C (gas mark 4), remove the greaseproof paper\nand cook for a further 30 minutes.\n... In the meantime, heat a dry frying pan and toast a handful of dried\npumpkin seeds. Drain on kitchen towel, allow to cool, then crush.\nWhen the squash is cooked, take the pot out of the oven and turn on\nthe grill.\n... Throw away the rosemary and the skin of the garlic cloves.\n... Remove the slices of bacon and cut into small lardons.\n... Crush the squash and garlic with a fork and add the lardons. Stir and\nadjust the seasoning with plenty of freshly ground black pepper.\n... Sprinkle the top of the gratin with pumpkin seeds.\nWith a vegetable peeler, slice 20 g of pecorino or parmesan cheese\ninto small flakes and sprinkle evenly over the gratin.\nPut under the grill for about 2 minutes to brown the top.\nServe immediately.\n176 Vegetables"
{
"NbPersons": 4,
"Language": "fr",
"Category": "main",
"Title": "Squash gratin",
"Subtitle": "Gratin de courge",
"Preparation_Time": 20,
"Cooking_Time": 60,
"Difficulty": "medium",
"Ingredients": [
{
"section": "Pour la recette",
"ingredients": [
"1 kg de squash",
"2 slices of bacon 5 mm thick",
"4 garlic cloves",
"1 sprig of rosemary",
"pumpkin seeds",
"20 g de pecorino or parmesan cheese"
]
}
],
"Description": "In the squash family, you have plenty of choice between pumpkin, potimarron, butternut squash, Muscade de Provence and Courge Longue de Nice. It all depends what you can find in the market. But if you do spot a Muscade de Provence, pounce on it, as it is particularly tasty.",
"Instructions": [
"Peel 1 kg of squash and cut into cubes.",
"Preheat the oven to 220 °C (gas mark 7).",
"In a large ovenproof cooking pot, brown 2 slices of bacon 5 mm thick for 5 minutes, turning them over.",
"Add the cubes of squash, 4 garlic cloves (unpeeled) crushed, 1 sprig of rosemary and a little salt.",
"Cover with greaseproof paper and put in the oven for 30 minutes.",
"Lower the oven to 180 °C (gas mark 4), remove the greaseproof paper and cook for a further 30 minutes.",
"In the meantime, heat a dry frying pan and toast a handful of dried pumpkin seeds.",
"Drain on kitchen towel, allow to cool, then crush.",
"When the squash is cooked, take the pot out of the oven and turn on the grill.",
"Throw away the rosemary and the skin of the garlic cloves.",
"Remove the slices of bacon and cut into small lardons.",
"Crush the squash and garlic with a fork and add the lardons.",
"Stir and adjust the seasoning with plenty of freshly ground black pepper.",
"Sprinkle the top of the gratin with pumpkin seeds.",
"With a vegetable peeler, slice 20 g of pecorino or parmesan cheese into small flakes and sprinkle evenly over the gratin.",
"Put under the grill for about 2 minutes to brown the top.",
"Serve immediately."
],
"AuthorName": "",
"Notes_Ingredients": "All squashes are rich in antioxidant carotenoids: the more orange the flesh, the more they contain. They are good to eat in winter, when they are in season!",
"Notes_Instructions": ""
}