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": "Skinner's corn dogs", "description": "Skinner was the head chef of Gusteau's kitchen. After Linguini became famous, he felt threatened. Skinner is a unique Pixar character to date, with his short height and negative aura, he managed to play the lead antagonist pretty well. He managed Gusteau's kitchen for a year and managed the food and staff. Skinner also ran his side business where he dealt in corn dogs, burritos. Therefore, without much delay, let's discuss an easy corn dog recipe.", "subtitle": null, "ingredients": [ { "section": "For the recipe", "ingredients": [ "A cup of yellow cornmeal", "A cup of flour", "1/4 teaspoon salt", "1 teaspoon black pepper", "Half cup of white sugar", "Half cup baking powder", "1 egg white", "1 cup of milk", "A quarter of vegetable oil for frying", "2 packages of beef frankfurters", "10 wooden skewers" ] } ], "instructions": [ "Put the stove in medium heat and preheat the oil in a saucepan.", "Stir in the eggs and milk in a medium-sized bowl. Afterward, put in sugar, salt, pepper, baking powder, and cornmeal.", "Slide in the wooden skewers into the frankfurters and keep rolling them to coat them perfectly with the batter.", "For about 3 minutes, fry 2-3 corn dogs at a time till it turns light brown", "To soak the oil, drain them on paper towels.", "Once done, serve them with mustard sauce, tomato ketchup, or sauces and toppings according to choice or preference.", "Enjoy!" ], "author": null }
- Assistant
{ "data": "WNA" }