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é.
1. 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": "Coconut Cauliflower Rice", "description": null, "subtitle": null, "ingredients": [ { "section": "For the recipe", "ingredients": [ "1 head cauliflower, cut into florets", "2 tablespoons coconut oil, ghee, or clarified butter", "14 onion, finely chopped", "1 cup coconut milk", "1/4 cup shredded coconut flakes", "1/2 teaspoon salt", "1/4 teaspoon black pepper", "1 tablespoon finely chopped cilantro" ] } ], "instructions": [ "TO "rice" the cauliflower florets, pulse in a food processor until they turn into small, ricelike pieces, 20 to 25 pulses.", "(You'll want to do this in two batches. Don't overcrowd the cauliflower in the food processor, and don't over-pulse or the florets will get mushy.)", "IN a large skillet, melt the cooking fat over medium heat and swirl to coat the bottom of the pan. When the fat is hot, add the onion and cook, stirring, until translucent, 2 to 3 minutes.", "Add the riced cauliflower and coconut milk and mix thoroughly.", "Cover and steam until the coconut milk has been absorbed by the rice and the cauliflower is tender, about 10 minutes.", "(The best way to test for doneness is to eat a bite!)", "Scrape up any brown bits from the bottom of the pan with a wooden spoon and mix into the rice.", "REMOVE the pan from the heat and mix in the shredded coconut, salt, and pepper.", "Gently stir in the chopped cilantro and serve warm." ], "author": null }
- Assistant
{ "data": "WWW" }