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": "Center-Cut Pork Chops with Apricot Glaze and Roasted Brussels\nSprouts\n\"Pork chops and apricots\" rolls off the tongue just as smoothly as \"pork chops and applesauce\"--and it's equally\ndelicious. It just may be the new normal! Look for frenched center-cut chops if you can find them. Bone-in chops\nstay a lot more succulent.\nMy son Lennon, who is a finicky eater, has an unexpected love of roasted brussels sprouts, and eats them like\nthere's no tomorrow. If you have a sprout lover like Lennon in your house, you may want to double the following\nrecipe. Around Thanksgiving, the full sprout stalks start showing up in the grocery store. These will be your\nfreshest option, as you literally just cut the sprouts off the stalk. One large stalk usually has about 2 pounds of\nsprouts on it-enough to serve eight people.\nSERVES 4\n4 (8-ounce) bone-in center-cut pork chops\nSalt and freshly ground pepper\n½ cup apricot jam\n2 tablespoons Dijon mustard\nI\nteaspoon chopped fresh thyme\n2 tablespoons olive oil\n2 teaspoons balsamic vinegar\nRoasted Brussels Sprouts\n1 Rinse the chops and pat them dry, or use a knife to scrape the surfaces clean (my mother does it this way).\nSprinkle both sides with salt and pepper.\n2 In a small bowl, combine the jam, mustard, and thyme, stirring well.\n3 Heat the olive oil in a large heavy pan over medium-high heat. Once it starts to shimmer, add the chops and cook\nfor 4 to 5 minutes per side, until browned and cooked through. Transfer to a plate and cover with tented foil.\n4 Reduce the heat to low and add the jam mixture to the pan, stirring a couple of times with a wooden spoon to\nincorporate; add the vinegar and cook, stirring and scraping up any browned bits on the bottom of the pan, for about\n1 minute or until the glaze has thickened up. Return the chops to the pan, adding back any juices that have run off,\nand turn the chops in the glaze. Transfer the chops to serving plates and spoon more glaze over the chops. Serve with\nthe Roasted Brussels Sprouts.\nROASTED BRUSSELS SPROUTS\nI pound brussels sprouts (preferably small ones)\n2 tablespoons olive oil\n½ teaspoon kosher salt\n½ teaspoon freshly ground pepper\n1 Preheat the oven to 450°F. Line a baking tray with aluminum foil.\n2 Trim the ends of the sprouts if they are browned, and get rid of any yellow leaves. Toss the sprouts well with the\nolive oil, salt, and pepper. Transfer to the prepared baking tray, using a rubber spatula to scrape out the last of the\nolive oil, salt, and pepper.\n3 Roast in the center of the oven for 25 minutes, shaking the tray a few times, until browning and crispy on the\noutside. Watch out, they are hot, hot, hot!"