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": "Spaghetti and Meatballs with Quick Chunky Marinara Sauce\nThe food processor will once again be your best friend while you're making this classic favorite. Use the shredder\nattachment to grate your onion in about ten seconds; pulse 1½ cups of cornflakes with the blade attachment to\nyield the ½ cup of crumbs you'll need for the meatballs. If you don't have a Vidalia Chop Wizard, you can also\nuse the food processor to finely dice your red onion, by pulsing it with the blade attachment.\nSERVES 6\nMEATBALLS\n½ cup cornflake crumbs or gluten-free breadcrumbs\n½ cup plain vegan yogurt\n½ cup grated yellow onion\n2 cloves garlic, minced or pressed\n1½ pounds ground dark turkey meat\nI teaspoon dried oregano\nI teaspoon salt\n¼ teaspoon pepper\n¼ cup chopped fresh parsley\n1/4 cup olive oil\nQUICK CHUNKY MARINARA SAUCE\nI tablespoon olive oil\nI cup finely diced red onion\n3 cloves garlic, minced or pressed\n¾ teaspoon dried oregano\n1 (28-ounce) can whole plum tomatoes (preferably San Marzano)\nFreshly ground pepper\n¼ teaspoon salt\n2 teaspoons balsamic vinegar\nI pound gluten-free spaghetti\nOlive oil\n1 To make the meatballs, combine the cornflake crumbs with the yogurt in a bowl and stir until it forms a paste.\n2 Combine the grated onion, garlic, turkey meat, oregano, salt, pepper, chopped parsley, and crumb-yogurt paste\nin the bowl of a stand mixer fitted with the paddle attachment. Mix on medium speed until combined, about 1\nminute. Break up any crumb clumps. Use a 2-tablespoon cookie scoop to make about 24 balls, rolling each ball\nsmooth with your hands. Set the meatballs aside on a large plate as you form them.\n3 Heat the ¼ cup olive oil in a large heavy casserole or Dutch oven over medium-high heat. Make sure the pan is\nreally hot before adding the meatballs, or they'll stick. Cook the meatballs for 5 to 6 minutes, until browned on all\nsides, shaking the pan after the first 2 minutes (but not before, or they'll break up!). Transfer to a bowl or plate and\nset aside.\n4 To make the sauce, return the pan to the stove over medium heat. Add the 1 tablespoon olive oil and the onion,\ngarlic, and oregano, and cook for 2 to 3 minutes, until the onion is tender, stirring often. Add the tomatoes with their\njuice and crush with a potato masher or the back of a fork. Add the meatballs back in, along with a few turns of\npepper and a big pinch of salt. Cook for 5 minutes. Add the balsamic vinegar and cook for 10 minutes more, stirring\noccasionally.\n5 Meanwhile, cook the spaghetti according to the instructions on the package. Drain the pasta and toss with a little\nolive oil to coat. Divide the pasta among 6 bowls and ladle the sauce and meatballs over the top."