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é.
code1. 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": "CLASSIC SCONES", "description": "For your traditional afternoon tea party, let the star of your menu be this British-inspired scone from the Garden View Tea Room on the first floor of the main lobby building at Disney's Grand Floridian Resort & Spa. For a sweeter treat, sprinkle granulated sugar on top of the scones before baking.", "subtitle": "A DISNEY CLASSIC", "ingredients": [ { "section": "For the recipe", "ingredients": [ "4 cups all-purpose flour", "3 tablespoons baking powder", "1/2 cup sugar", "1 teaspoon salt", "2 tablespoons margarine", "2 tablespoons shortening", "3 eggs, beaten", "1/4 cups milk", "1 cup golden raisins" ] } ], "instructions": [ "Preheat oven to 425°F.", "Sift the flour, baking powder, sugar, and salt into a large mixing bowl.", "Work the margarine and shortening into the flour with fingertips until the mixture resembles coarse meal.", "Combine the beaten eggs and milk in a separate bowl.", "Stir into the flour mixture just until the dough comes together.", "Fold in the raisins.", "On a lightly floured surface, roll the dough out to about 1/2-inch thickness.", "With a 2-inch round cutter, cut out 40 scones and transfer them to a lightly greased baking sheet.", "Bake the scones for 12 to 15 minutes or until they are light brown.", "Serve at once with Devonshire cream or butter and jam." ], "author": "GARDEN VIEW TEA ROOM DISNEY'S GRAND FLORIDIAN RESORT & SPA" }
- Assistantjson
{ "data": "GB" }