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": "Corn Dogs", "description": "This is the kicked-up version of Baby Girl's favorite food. Using a tall cup to hold the batter makes for easy dipping. Be sure you use a pot deep enough that the hot dogs have plenty of room to float while they fry. Serve them with your favorite condiments.", "subtitle": "The kicked-up version of Baby Girl's favorite food", "ingredients": [ { "section": "Pour la recette", "ingredients": [ "10 all-beef hot dogs", "20 (6- to 8-inch) wooden skewers", "1 cup yellow cornmeal", "1 cup all-purpose flour", "3 tablespoons sugar", "1 teaspoon baking powder", "½ teaspoon fine sea salt", "¼ teaspoon baking soda", "1/8 teaspoon ground pepper", "1 large egg", "1½ to 1¾ cups buttermilk", "½ cup grated cheddar cheese", "2 tablespoons seeded and minced jalapeño peppers", "Canola oil" ] } ], "instructions": [ "Preheat a grill to medium-low heat (300°F to 325°F). Place hot dogs on grill and cook for about 10 minutes, rotating dogs every few minutes to cook all over.", "Cut hot dogs in half crosswise, and stick 1 wooden skewer into the end of each hot dog.", "Whisk together cornmeal and next 6 ingredients in a bowl. Whisk together egg and 1½ cups buttermilk in a second bowl, adding ¼ cup more buttermilk if mixture is too thick. Whisk egg mixture into cornmeal mixture until batter is smooth. Stir in cheese and jalapeños. Transfer a portion of the batter into a tall cup.", "Pour enough oil into a heavy-bottomed pot so that the corn dogs will be completely submerged. Heat oil to 350°F.", "Dip hot dogs into cup filled with batter, allowing excess batter to drip back into cup. Add hot dogs to oil a few at a time, and fry in batches, turning with tongs, until golden brown, about 3 minutes. Transfer to paper towels, and let rest for 2 minutes before serving." ], "author": "" }
- Assistant
{ "data": "WNA" }