Goal Objectif est d'identifier l'origine d'une recette de cuisine et de retourner un…
- User
Goal Objectif est d'identifier l'origine d'une recette de cuisine et de retourner un code correspondant dans un format JSON structuré.
code1. Recherche d’un pays mentionné dans la recette et extraction de son code ISO 3166-1 alpha-2. 2. Détermination de l’origine culinaire du pays si aucun pays n'est explicitement mentionné. 3. Identification d’un continent si aucun pays ne peut être déterminé. 4. Retour du code WWW si l’origine ne peut être définie. Return Format Renvoies un objet JSON structuré comme suit : json { "data": "<code>" } - Si un pays est mentionné, utilise son code ISO 3166-1 alpha-2 (ex. : FR pour la France). - Si aucun pays n'est trouvé, renvoie un code de continent parmi : WAF (Afrique) WAS (Asie) WEU (Europe) WNA (Amérique du Nord) WSA (Amérique du Sud) WOC (Océanie) - Si aucune information ne permet de déterminer une origine, renvoie WWW. Warnings - Respecte l’ordre de priorité : pays → continent → code WWW. - Le code ISO 3166-1 alpha-2 doit être exact et valide si un pays est identifié. - Le format du JSON doit être strictement respecté et bien formatté. - Ne fais aucune supposition infondée sur l’origine de la recette. Context Dump Données de la recette fournies : json {"title": "Sweet and Spicy Apricot Drumsticks", "description": "Be sure to buy unsulfured apricots to make the sauce for this dish. They will be dark brown and not as plump as those treated with sulfites-a preservative-but you don't want to consume those on a Whole30. Or ever, really.", "subtitle": null, "ingredients": [ { "section": "For the recipe", "ingredients": [ "½ cup water", "2 tablespoons coconut aminos", "2 tablespoons Whole30-compliant Dijon mustard", "1 clove garlic, minced", "½ teaspoon salt", "1/4 teaspoon red pepper flakes", "8 chicken drumsticks (1% to 2 pounds total), skin removed (see Tip, page 169)", "6 ounces dried apricots, chopped", "1 shallot, thinly sliced (about ½ cup)", "2 packages (12 ounces each) frozen riced cauliflower, prepared according to package directions, or 3 cups raw cauliflower rice (page 60)", "Chopped fresh parsley (optional)" ] } ], "instructions": [ "IN a 3½- to 4-quart slow cooker, combine the water, coconut aminos, mustard, garlic, salt, and red pepper flakes.", "Add the chicken, apricots, and shallot and toss to coat.", "COVER and cook on low for 5 to 6 hours or on high for 2½ to 3 hours.", "Transfer the chicken to a plate and cover to keep warm.", "Use an immersion blender to blend the mixture in the cooker until smooth.", "Add water, 1 tablespoon at a time, if needed for desired consistency.", "Return the chicken to the slow cooker and toss gently with tongs to coat.", "SERVE the drumsticks over the cauliflower rice.", "Top with the sauce and chopped parsley, if desired.", "INSTANT POT VARIATION Follow the directions in the first step using a 6-quart Instant Pot.", "Lock the lid in place.", "Select Manual and cook at high pressure for 25 minutes.", "Use quick release.", "Follow the remaining directions." ], "author": null }
- Assistantjson
{ "data": "WWW" }