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": "CRISPY CHICKPEAS", "description": "For a crunchy protein boost, crispy chickpeas add outstanding texture, and their versatile favor means they can take on a variety of different spice combinations. This recipe calls for a metal baking pan; using glass or ceramic will result in unevenly cooked chickpeas.", "subtitle": "Makes 1½ cups", "ingredients": [ { "section": "For the recipe", "ingredients": [ "2 (15-ounce) cans chickpeas", "3 tablespoons extra-virgin olive oil or vegetable oil", "½ teaspoon table salt", "Pinch cayenne pepper" ] }, { "section": "Indian-Spiced Crispy Chickpeas", "ingredients": [ "Increase cayenne to ½ teaspoon", "2 teaspoons paprika", "1 teaspoon ground coriander", "½ teaspoon ground turmeric", "½ teaspoon ground allspice", "½ teaspoon ground cumin", "teaspoon sugar" ] }, { "section": "Barbecue-Spiced Crispy Chickpeas", "ingredients": [ "Increase cayenne to ½ teaspoon", "1 tablespoon smoked paprika", "1½ teaspoons sugar", "1 teaspoon garlic powder", "½ teaspoon onion powder" ] }, { "section": "Spanish-Spiced Crispy Chickpeas", "ingredients": [ "Increase cayenne to ½ teaspoon", "1 tablespoon smoked paprika", "½ teaspoon ground coriander", "4 teaspoon ground cumin" ] } ], "instructions": [ "Adjust oven rack to middle position and heat oven to 350 degrees.", "Place chickpeas in colander and let drain for 10 minutes.", "Line large plate with double layer of paper towels.", "Spread chickpeas over plate in even layer.", "Microwave until exteriors of chickpeas are dry and many have split slightly at seams, 8 to 12 minutes.", "Transfer chickpeas to 13 by 9-inch metal baking pan.", "Add oil and stir until evenly coated.", "Using spatula, spread chickpeas into single layer.", "Transfer to oven and roast for 30 minutes.", "While chickpeas are roasting, combine salt and cayenne in small bowl.", "Stir chickpeas and crowd toward center of pan, avoiding edges of pan as much as possible.", "Continue to roast until chickpeas appear dry, slightly shriveled, and deep golden brown, 20 to 40 minutes longer.", "(To test for doneness, remove a few paler chickpeas and let cool briefy before tasting; if interiors are soft, return to oven for 5 minutes before testing again.)", "Transfer chickpeas to large bowl and toss with spice mixture to coat.", "Season with salt to taste and let cool completely.", "(Chickpeas can be stored in airtight container at room temperature for up to 1 week.)" ], "author": null }
- Assistantjson
{ "data": "IN" }