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": "Baked Chickpea Cakes", "description": "These baked chickpea cakes offer a delightful contrast in textures – crisp on the outside, soft within – creating an earthy and comforting dish.", "subtitle": "Crisp cakes, soft inside. Earthy and homely.", "ingredients": [ { "section": "For the chickpea cakes", "ingredients": [ "400g can of chickpeas, drained and rinsed", "1 teaspoon of paprika", "1 teaspoon of garam masala", "400g can of chickpeas, drained and rinsed", "400g can of cannellini or pinto beans", "A pinch of dried chilli flakes", "1 tablespoon of chopped chives", "1 tablespoon of chopped parsley", "Salt and pepper", "Oil" ] }, { "section": "For the sauce", "ingredients": [ "Zest of a clementine or small orange", "1 tablespoon of chopped mint", "200ml yoghurt" ] }, { "section": "To serve", "ingredients": [ "Watercress" ] } ], "instructions": [ "Spread a 400g can of chickpeas, drained and rinsed, on to a baking sheet and dust with a teaspoon of paprika and a teaspoon of garam masala.", "Bake at 180°C/Gas 4 till hot, lightly crisp and fragrant - about 10 minutes. Set aside.", "Drain and rinse a second 400g can of chickpeas and a 400g can of cannellini or pinto beans, then using a potato masher, crush both to a coarse purée.", "Stir in a pinch of dried chilli flakes, a tablespoon of chopped chives and a tablespoon of chopped parsley, a grinding of salt and pepper, then the toasted chickpeas.", "Form the mixture into 8 balls.", "Lightly oil a baking sheet or line it with baking parchment, place the balls on top, then brush them with a little oil.", "Bake at 200°C/Gas 6 for 20 minutes until crisp outside.", "Make a quick sauce by stirring the zest of a clementine or small orange and a tablespoon of chopped mint into 200ml yoghurt.", "Serve in a bowl with the chickpea balls and watercress." ], "author": "" }
- Assistantjson
{ "data": "IN" }