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, mocktail). Sinon choisis la meilleure option parmis (bread, appetizer, starter, main, dessert, breakfast, snack, teatime, jam, sauce, icecream)
- 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": "Chicken Noodle Casserole\nAbout as classic as apple pie, this all-American dish always reminds me of playing board games at my\nneighbors' house as a kid. Their last name was \"Games\"-no joke. Their mom often made tuna noodle\ncasserole. My mother didn't, so it holds a special place in my heart as something exotic. The trick to making this\nallergy-friendly was to find a replacement for Campbell's cream of mushroom soup, which is the traditional base.\nI came up with my own recipe for cream of mushroom soup, then to make the rest of the recipe allergy-friendly I\nsubbed rice milk for cow's milk and used vegan cheese, chicken instead of tuna, and gluten-free flour and pasta.\nThe result? Tastes just like the original.\nUse your food processor to chop the mushrooms in less than 30 seconds. Now that's easy cooking!\nSERVES 4 TO 6\n8 ounces gluten-free spiral or fusilli pasta\n3 slices allergy-friendly white bread\nI tablespoon Earth Balance soy-free buttery spread\n2 tablespoons olive oil\n½ cup chopped yellow onion\n10 ounces sliced white mushrooms, coarsely chopped\n½ teaspoon dried thyme\nPinch of ground nutmeg\n2 tablespoons superfine brown rice flour\nI cup rice milk, warm\n1½ cups chicken broth, warm\n½ teaspoon salt\nFreshly ground pepper\n½ cup shredded Daiya vegan mozzarella\n10 to 12 ounces canned cooked chicken or turkey, well drained and flaked\nI cup frozen peas\n1 Preheat the oven to 475°F.\n2 Bring a large pot of water to a boil over high heat. Cook the pasta according to the package instructions, until al\ndente, about 10 minutes. Drain.\n3 Meanwhile, tear the bread into quarters and pulse in a food processor until you have coarse crumbs.\n4 Melt the buttery spread in a large heavy pan or Dutch oven over medium-high heat. Add the breadcrumbs and\ncook, stirring, until toasted, about 3 minutes. Transfer to a bowl and set aside. Wipe out the pan.\n5 Heat the olive oil over medium heat. Add the onion and mushrooms and cook, stirring often, for 4 minutes, until\nslightly softened. Add the thyme and nutmeg and cook, stirring, for 2 minutes more, until aromatic.\n6 Sprinkle the mushrooms with the brown rice flour and cook, stirring, until aromatic, 2 minutes. Add the rice milk\nand chicken broth to the pan, then the salt and a few turns of pepper. Increase the heat to medium-high and cook\nfor 4 minutes, stirring with a wooden spoon. Puree with a handheld immersion blender, or use a regular blender and\nreturn the puree to the pot. If you're pureeing with a handheld blender, you may need to tip the pot slightly to\nsubmerge the blender (use a pot holder or an oven mitt).\n7 Add the vegan mozzarella to the mushroom puree. Stir in the pasta. Add the chicken and peas, and stir gently.\nTransfer to a lightly greased shallow 2-quart baking dish. Sprinkle with the breadcrumbs. Bake for 8 to 10 minutes,\nuntil golden and beginning to bubble up around the sides."