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": "CHOCOLATE VIENNESE WHIRLS", "description": "Viennese whirls are delicate, soft and utterly scrumptious biscuits and I have always adored them... make them chocolate themed, and I love them even more! These may be going against tradition, but they are so beautiful to look at, fun to make, and even better to eat!", "subtitle": null, "ingredients": [ { "section": "For the recipe", "ingredients": [ "250g unsalted butter, at room temperature", "75g icing sugar", "225g plain flour", "25g cocoa powder", "30ml full-fat milk" ] }, { "section": "FILLING", "ingredients": [ "75g unsalted butter, at room temperature", "150g icing sugar" ] } ], "instructions": [ "Preheat the oven to 180°C/160°C fan and line 2 baking trays with parchment paper.", "Beat the butter on its own in a bowl until smooth and creamy.", "Add the icing sugar to the bowl and mix again until combined.", "Gradually add the plain flour, cocoa powder and milk until you have a smooth dough.", "Spoon the mixture into a piping bag fitted with a star piping tip.", "Pipe 30 circles of dough, a couple of centimetres apart, onto the lined trays, each one about 5-6cm in diameter.", "Bake for 20 minutes; once baked, leave to cool on the trays while you make the filling.", "Beat the butter in a clean bowl until smooth.", "Add the icing sugar and beat again until smooth.", "Pipe or spread a small amount of buttercream filling onto one biscuit and sandwich with another biscuit." ], "author": null }
- Assistantjson
{ "data": "WEU" }