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": "Moe's Hawaiian Burgers", "description": "THIS BURGER IS A NOD to my old Navy days. While serving, I was on the U.S.S. Missouri and had the honor of being part of the crew that decommissioned her to Pearl Harbor. I have fond memories of that time in Hawaii. I distinctly remember driving past the pineapple fields, and the aroma was so fragrant that I felt I could taste the air. Now every time I smell or taste pineapple, I'm immediately taken back to Hawaii.", "subtitle": "A nod to my old Navy days", "ingredients": [ { "section": "Pour la recette", "ingredients": [ "2 pounds ground pork", "1 (8-ounce) can crushed pineapple, drained", "½ cup crumbled feta cheese", "2 tablespoons low-sodium soy sauce", "2 teaspoons freshly cracked pepper", "½ teaspoon onion powder", "½ teaspoon garlic powder", "Kosher salt", "6 slices pepper Jack cheese", "6 brioche buns, toasted (if desired)", "Red onion rings (or use yellow onion rings and shredded purple cabbage)" ] } ], "instructions": [ "Prepare an indirect fire in a grill, and preheat to 325°F to 350°F.", "In a large bowl, combine first 7 ingredients using your hands until blended. Divide into 6 equal patties. Lightly season both sides of patties with salt.", "Place patties over direct heat on grill; cover and cook until a meat thermometer inserted into centers reads 160°F, about 7 minutes per side.", "Move burgers to indirect heat side of grill, and top with pepper Jack cheese. Cover and cook until cheese is melted, about 2 minutes.", "Serve burgers on buns with red onion." ], "author": "" }
- Assistant
{ "data": "US" }