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": "Mkate wa Ufuta (Zanzibari Sesame Bread)", "description": "I learned about this dense, chewy bread, griddled with untoasted sesame seeds that develop their signature nutty flavor as the bread cooks, from Raiya Al Sukairy, an instructor at the National Hospitality Institute in Ruwi. She fondly remembers the pleasant smell of toasting sesame filling the streets of Zanzibar each night during Ramadan when she was a girl growing up there. I love the comforting aroma that lingers in the kitchen after making this seeded bread almost as much as I love the crunch and flavor.", "subtitle": null, "ingredients": [ { "section": "For the recipe", "ingredients": [ "3½ cups unbleached all-purpose flour", "1 (4-ounce) packet active dry yeast", "1½ teaspoons kosher salt", "1 cup plus 2 tablespoons coconut milk", "1 large egg", "¼ to ½ cup vegetable oil", "3 to 4 tablespoons sesame seeds" ] } ], "instructions": [ "Whisk together the flour, yeast, and salt in a large bowl.", "Stir in the coconut milk and egg until combined and knead with quite a bit of strength until the dough is smooth, 5 to 7 minutes.", "Cover the bowl with a damp kitchen towel and leave in a warm place to rise a little, at least 30 minutes.", "Divide the dough into 6 balls.", "Pat each ball of dough into a round shape between the palms of your hands to form a thick circle about 6½ inches wide and ½ to 1 inch thick", "Rub one side generously with oil and sprinkle some of the sesame seeds on top.", "Heat a large cast-iron skillet over medium-high heat; cook each bread, sesame side down, 1% to 2 minutes.", "Allow it to puff, and then rub the surface of the bread with plenty more oil and sprinkle with more sesame seeds and a little salt before flipping.", "Flip and cook until browned spots and done in the middle, 1 to 2 minutes more." ], "author": null }
- Assistant
{ "data": "TZ" }