Goal L'objectif est d'identifier l'origine d'une recette de cuisine et de retourner un…
- User
Goal L'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 Tu dois renvoyer 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": "Sage's BBQ Chicken Wings", "description": "MY FOURTH DAUGHTER, Sage, and I are chicken wing snobs. We've tasted a lot of wings, and she will be the first to tell you if they are raggedy. I made this recipe because I wanted my little girl to have the best wings ever. These wings are Cason daughter approved!", "subtitle": "", "ingredients": [ { "section": "Pour la recette", "ingredients": [ "12 chicken wings with wingtips attached (about 3 pounds)", "Canola oil cooking spray", "Chicken Rub (see recipe, see here)", "1 (12-ounce) jar Big Moe Cason Fish & Seafood Rub" ] } ], "instructions": [ "Prepare and preheat a smoker to 250°F. Pat wings dry with paper towels. Coat evenly with cooking spray. Sprinkle both sides evenly with Chicken Rub, and place in smoker.", "Cover and cook until a meat thermometer reads 180°F, 1 hour to 1 hour 15 minutes.", "Remove from smoker and, while still hot, lightly coat the chicken with cooking spray and dust lightly with seafood rub.", "Place back in smoker, and cook until thermometer reads 200°F, 15 minutes. Remove from smoker, and let rest 3 to 5 minutes before serving." ], "author": "" }
- Assistant
{ "data": "WNA" }