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": "For the larder\nPreparation 20 mins\nCooking 2 to 3 hrs\nTomato confit\nAD- When you use these\npreserved tomatoes, drain\nthe oil from them thoroughly.\nYou can use this fragrant oil\nlater in your cooking or for\ndressings.\nPN- These preserved tomatoes\nare particularly rich in antioxidants.\nUse them liberally in salads, pasta,\nrice or vegetables, to add piquancy\nto the flavour.\nMakes approximately 500 g\nBlanch 1 kg of ripe vine or plum tomatoes. Quarter them and remove\nthe seeds. Peel 3 garlic cloves.\n... Preheat the oven to 100 °C (gas mark 1/4).\n... Put the tomato quarters in a large bowl. Sprinkle with\n4 tablespoons of olive oil and a little salt. Mix gently with your\nhands until the tomatoes are well coated and seasoned.\nCut 1 garlic clove in half and rub the baking tray with it,\nsprinkle the leaves from 4 sprigs of thyme (5 sprigs required in\ntotal for recipe) over it, then spread out the tomato quarters so\nthat they don't touch one another. Pour all the juice remaining in\nthe bowl over the tomatoes.\n... Put the tray in the oven and keep the door slightly open, wedging\nit with a spoon, to let in a light breath of air.\n... Cook for 2 to 3 hours, checking from time to time. Turn over any\ntomatoes that are dry on the top and too moist underneath and\ngradually take out those that are cooked.\nAllow to cool. Put in a plastic container or jar and cover with\nolive oil. Add 2 thinly sliced garlic cloves and a sprig of thyme\nto flavour your oil.\nStore in a cold place.\n16. For the larder\n& C"
{
"NbPersons": "",
"Language": "en",
"Category": "appetizer",
"Title": "Tomato confit",
"Subtitle": "For the larder",
"Preparation_Time": 20,
"Cooking_Time": 180,
"Difficulty": "medium",
"Ingredients": [
{
"section": "Pour la recette",
"ingredients": [
"1 kg of ripe vine or plum tomatoes",
"4 tablespoons of olive oil",
"salt",
"3 garlic cloves",
"thyme (5 sprigs required in total for recipe)"
]
}
],
"Description": "This recipe for tomato confit will add depth and flavor to your cooking. Perfect for salads, pasta, rice, or vegetables, preserved tomatoes provide a piquant taste and enrich your dishes with antioxidants.",
"Instructions": [
"Blanch 1 kg of ripe vine or plum tomatoes. Quarter them and remove the seeds.",
"Peel 3 garlic cloves.",
"Preheat the oven to 100 °C (gas mark 1/4).",
"Put the tomato quarters in a large bowl. Sprinkle with 4 tablespoons of olive oil and a little salt. Mix gently with your hands until the tomatoes are well coated and seasoned.",
"Cut 1 garlic clove in half and rub the baking tray with it, sprinkle the leaves from 4 sprigs of thyme (5 sprigs required in total for recipe) over it, then spread out the tomato quarters so that they don't touch one another. Pour all the juice remaining in the bowl over the tomatoes.",
"Put the tray in the oven and keep the door slightly open, wedging it with a spoon, to let in a light breath of air.",
"Cook for 2 to 3 hours, checking from time to time. Turn over any tomatoes that are dry on the top and too moist underneath and gradually take out those that are cooked.",
"Allow to cool. Put in a plastic container or jar and cover with olive oil. Add 2 thinly sliced garlic cloves and a sprig of thyme to flavour your oil.",
"Store in a cold place."
],
"AuthorName": "",
"Notes_Ingredients": "These preserved tomatoes are particularly rich in antioxidants. Use them liberally in salads, pasta, rice or vegetables, to add piquancy to the flavour.",
"Notes_Instructions": "When you use these preserved tomatoes, drain the oil from them thoroughly. You can use this fragrant oil later in your cooking or for dressings."
}