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 Lettuce Cups with Hoisin Sauce\nThis dish taught me once and for all about the brilliance of a food processor. If you just pulse your veggies,\nthey're diced small in literally seconds. And you can mince your garlic and ginger in about the same time.\nSeriously, use that food processor with the blade setting to get finely chopped carrots, celery, red bell pepper,\nand water chestnuts with almost no effort at all. You can even use it to chop up the green onions, though it's\nmore of a shred than a chop.\nAllergy-friendly hoisin sauce is a new concept, because the traditional version is dependent on soy and\nwheat/gluten. This fresh, sweet, and savory version will have you dipping all your favorite Chinese foods in sauce\nagain, only now it'll have a lot less sodium and lots more safe-for-you hoisin flavor.\nSERVES 4\nI tablespoon canola oil\n2 cloves garlic, finely minced or pressed\nI teaspoon minced ginger\n½ cup small-dice carrot\n½ cup small-dice celery heart\n½ cup small-dice red bell pepper\n3 green onions, white and green parts, chopped\nI (5-ounce) can water chestnuts, chopped to pea size\n1½ pounds ground dark meat chicken\n2 tablespoons chicken broth\nSalt\n6 tablespoons Hoisin Sauce\nI tablespoon rice vinegar\nFreshly ground pepper\nButter or iceberg lettuce leaves\nSriracha sauce (optional)\n1 Heat the canola oil in a nonstick wok or skillet over medium heat. Add the garlic and ginger and cook, stirring, for\n30 seconds, until fragrant and golden.\n2 Add the carrot, celery, bell pepper, green onions, and water chestnuts and cook for 4 minutes, stirring often.\n3 Add the ground chicken and broth and increase the heat to high. Sprinkle with a large pinch of salt. Cook, stirring\noften with a wooden spoon or spatula and breaking up the chicken into crumbles, for 4 minutes, until no longer pink\nand starting to brown.\n4 Add 3 tablespoons of the Hoisin Sauce, reserving the rest for serving alongside the lettuce cups. Stir in the rice\nvinegar, bring to a simmer, reduce the heat to low, and cook at a slow simmer for 3 minutes. Adjust the salt and\npepper to taste.\n5 Serve with the lettuce leaves. Each diner makes his or her own bundles by spooning about 2 tablespoons of\nchicken into each leaf, toping with a little of the remaining 3 tablespoons Hoisin Sauce, wrapping it up, and eating! (I\nlike to add a little Sriracha sauce to mine, too.)\nHOISIN SAUCE\n1/4 cup coconut amino acids\n½ cup orange juice\n2 cloves garlic, finely minced or pressed\nI teaspoon minced ginger\n¼ teaspoon cayenne pepper\n1/4 teaspoon Chinese five-spice powder\n1/4 teaspoon salt\n1/4 cup brown sugar\nI tablespoon molasses\n2 teaspoons cider vinegar\n1/4 cup cold water\nI tablespoon cornstarch or tapioca starch\nCombine the coconut amino acids, orange juice, garlic, ginger, cayenne, five-spice powder, and salt in a small heavy\npot and stir well. Bring to a simmer over medium heat. Add the sugar and molasses and stir well. Add the vinegar. In\na small bowl, whisk together the cold water with the cornstarch until smooth, then add it to the pot. Bring to a\nsimmer. Reduce the heat to low and cook, stirring with a wooden spoon, until thickened up a bit, about 4 minutes.\nMakes 1/4 cups that will keep for 1 to 2 weeks, covered, in the refrigerator."