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": "PANCAKES", "description": "We all appreciate a decent breakfast, don't we? Whether it's a bowl of cereal, something savoury or yoghurt and fruit, the\nchoices are endless. However, my ultimate breakfast is pancakes - so much the better if they are served on pancake day or\nfor a special birthday breakfast. I wanted to give you my fail-safe fluffy pancake recipe that you can make and enjoy\nwhenever, and top with whatever you want. I topped mine with berries and a drizzle here because that's my favourite way\nto serve them, but you could serve with a slathering of speculoos (I use Biscoff), a chocolate spread (I use Nutella) or\nanything else that takes your fancy. You could even try adding 200g chocolate chips to the pancake batter for the best\nbreakfast of them all!", "subtitle": null, "ingredients": [ { "section": "For the recipe", "ingredients": [ "275g self-raising flour", "65g caster sugar", "Pinch of salt", "2 eggs", "350ml full-fat milk", "1 tsp vanilla extract" ] }, { "section": null, "ingredients": [ "Vegetable oil" ] }, { "section": "To Serve", "ingredients": [ "Fruit", "Caramel/chocolate drizzle" ] } ], "instructions": [ "In a large bowl, mix the flour, sugar and salt together.", "In a separate large bowl, whisk together the eggs, milk and vanilla extract.", "Add the liquid mixture to the dry mixture, then whisk until smooth.", "Preheat a pan over a medium heat and rub a little vegetable oil over the base.", "Spoon a ladleful of the batter into the hot pan and cook on each side for 1-2 minutes or until you see bubbles on the surface of the pancake.", "Repeat until the batter is used up.", "Serve however you like - I love fresh fruit and a caramel or chocolate drizzle." ], "author": null }
- Assistant
{ "data": "WWW" }