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": "Chocolate financiers", "description": "Financiers are so difficult to resist but, when they are even softer than usual, like these ones, it's impossible! The secret is the mixture of flours and ground nuts which gives them their gorgeous texture. I love the combination of almonds and chocolate, but you could also replace the cocoa with tonka bean, vanilla or any other warm, comforting flavour that would suit teatime. Easy, quick and delicious!", "subtitle": "Homemade", "ingredients": [ { "section": "Pour la recette", "ingredients": [ "125 g/4½ oz butter", "150 g/5½ oz icing (confectioners') sugar", "15 g/½ oz cocoa powder", "15 g/½ oz cornflour (cornstarch)", "40 g/1½ oz plain (all-purpose) flour", "50 g/14 oz ground almonds", "30 g/1 oz honey", "125 g/4½ oz egg white (from about 4-5 eggs)" ] } ], "instructions": [ "1 The brown butter\nPut the butter in a saucepan over a gentle heat and cook until it is a light brown, hazelnut colour. Take off the heat, empty into a bowl and leave to one side. Preheat the oven to 180°C (350°F: gas mark 4).", "2 The financier mixture\nMix together the icing sugar, cocoa, cornflour, flour and ground almonds, then stir in the warm brown butter. Finally, mix in the honey and egg whites.", "3- Baking\nPour the mixture into the financier tins or cake cases and bake for 7 minutes. Remove from the oven, leave to cool for a minute or two, then remove from the tins/cases and eat while still warm." ], "author": "" }
- Assistant
{ "data": "FR" }