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": "Cooking 35 mins\nPreparation 15 mins\nPotatoes\nPotatoes baked\nloosely in foil\n... Serves 4\n.. Rub 800 g of small King Edward potatoes in a bowl with coarse salt\nand a glass of water to remove some bits of skin, but do not peel.\n... Preheat the oven to maximum (240 to 250 °C, gas mark 8 to 9].\n.... Take 4 ovenproof cereal bowls. Cut 4 large pieces of aluminium foil\nand put each one in a bowl, taking care not to pierce the bottom\nwith your fingernails.\n... Distribute the potatoes in each bowl. Take 4 garlic cloves and\n4 sprigs of thyme or rosemary and pop one of each in the bowls.\n... Add 1 tablespoon of water and 1 teaspoon of olive oil.\n... Gather together the corners of the aluminium foil to form a tall\nparcel, and seal tightly.\nBake in the oven for 30 to 35 minutes.\nServe the bowls straight out of the oven as they are. Diners can\nseason their own potatoes with sea salt and freshly ground black\npepper.\nAD- The King Edward potato\nis an English variety dating from\n1902, which had fallen out of\nfashion but is being revived. Its\nskin is marbled with red, and its\nwhite flesh is very fine. But you can\nalso use other small potatoes.\nCooked like this, you can\nPN\neat these potatoes as they are, nice\nand low in fat. But if you want to\nserve them with salted butter\n(not tons!), they're even better.\nVegetables... 221"
{
"NbPersons": 4,
"Language": "en",
"Category": "side",
"Title": "Baked Potatoes in Foil",
"Subtitle": "Deliciously seasoned and baked",
"Preparation_Time": 15,
"Cooking_Time": 35,
"Difficulty": "easy",
"Ingredients": [
{
"section": "Pour la recette",
"ingredients": [
"800 g of small King Edward potatoes",
"4 garlic cloves",
"4 sprigs of thyme or rosemary",
"1 tablespoon of water",
"1 teaspoon of olive oil",
"coarse salt"
]
}
],
"Description": "Cooking 35 mins\nPreparation 15 mins\nPotatoes baked loosely in foil. Serve the bowls straight out of the oven as they are. Diners can season their own potatoes with sea salt and freshly ground black pepper.",
"Instructions": [
"Rub 800 g of small King Edward potatoes in a bowl with coarse salt and a glass of water to remove some bits of skin, but do not peel.",
"Preheat the oven to maximum (240 to 250 °C, gas mark 8 to 9).",
"Take 4 ovenproof cereal bowls.",
"Cut 4 large pieces of aluminium foil and put each one in a bowl, taking care not to pierce the bottom with your fingernails.",
"Distribute the potatoes in each bowl.",
"Take 4 garlic cloves and 4 sprigs of thyme or rosemary and pop one of each in the bowls.",
"Add 1 tablespoon of water and 1 teaspoon of olive oil.",
"Gather together the corners of the aluminium foil to form a tall parcel, and seal tightly.",
"Bake in the oven for 30 to 35 minutes."
],
"AuthorName": "",
"Notes_Ingredients": "The King Edward potato is an English variety dating from 1902, which had fallen out of fashion but is being revived. Its skin is marbled with red, and its white flesh is very fine. But you can also use other small potatoes.",
"Notes_Instructions": "Cooked like this, you can eat these potatoes as they are, nice and low in fat. But if you want to serve them with salted butter (not tons!), they're even better."
}