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": "Artisanal Algerian Bread", "description": null, "subtitle": null, "ingredients": [ { "section": "For the recipe", "ingredients": [ "3 1/2 C. fine semolina.", "1 1/4 C. strong white bread flour", "2 C. water, room temp. plus extra", "4 fluid oz. sunflower oil", "7 g fast action yeast", "1 large egg, beaten", "2 tsps sugar", "2 tsps salt", "2 large egg yolks, beaten", "2-3 tbsps sesame seeds", "1 tbsp nigella seeds" ] } ], "instructions": [ "1. Grease a large round metal pan.", "2. In a larger bowl, mix together the flour, semolina, sugar, yeast and salt.", "3. With your hand, make a well in the center.", "4. Add the oil, egg and required amount of water and mix till a soft dough forms.", "5. With your hands, knead the dough for about 30 minutes, adding more water occasionally if required.", "6. Fold in the nigella seeds and with wet hands shape the dough into a ball.", "7. Transfer the dough into prepared pan, pressing gently downwards.", "8. Place some extra semolina on top evenly and keep aside, covered with the kitchen towel till rises to double in size.", "9. Set your oven to 355 degrees F and arrange the rack in the upper 1/3 of the oven.", "10. Coat the top of dough with the beaten egg yolks and top with sesame seeds evenly.", "11. With a skewer, make 1 hole in the center of the dough and 5 about 1-inch from the edges.", "12. Cook in the oven for about 35 minutes.", "13. Remove from oven and let it cool for about 5 minutes before removing from the pan." ], "author": null }
- Assistant
{ "data": "DZ" }