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": "MICKEY MOUSE BEIGNETS", "description": "These crisp beignets are best when warm, so don't delay eating them. If you don't have a Mickey Mouse-shaped cutter, simply cut the dough into squares—they taste just as scrumptious.", "subtitle": "SWEET ENDINGS AND DESSERTS", "ingredients": [ { "section": "For the recipe", "ingredients": [ "1/2 teaspoon dry yeast", "1/4 cup warm water (105°F)", "1/4 cup sugar", "2 tablespoons vegetable shortening", "1/2 teaspoon salt", "1/2 cup heavy cream", "1 egg", "4 cups all-purpose flour", "1/2 cup boiling water", "vegetable oil for frying", "powdered sugar" ] } ], "instructions": [ "Sprinkle yeast over warm water in a small bowl, stirring to dissolve.", "Let stand for 5 minutes.", "Combine sugar, shortening, salt, heavy cream, egg, flour, and boiling water in a large bowl; stir in yeast mixture.", "With dough hook attachment of an electric mixer on medium speed, mix the dough just until combined and smooth.", "Let dough rest for 30 minutes.", "Roll to 1/4-inch thickness and cut individual beignets with a Mickey Mouse-shaped cutter or cut into 22- to 3-inch squares.", "Cover with a towel and let dough rise until doubled in size in a warm, draft-free area, about 1 to 1½ hours.", "Very carefully heat 3 inches of vegetable oil to 350°F in a deep, heavy pot over medium-high heat.", "With caution, fry beignets until golden brown, about 2 to 3 minutes, turning as soon as they brown on one side.", "Remove with tongs and place on paper towels to drain.", "Dust warm beignets with powdered sugar and serve immediately." ], "author": null }
- Assistant
{ "data": "WNA" }