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": "Gulab Jamun", "description": "Gulab Jamun is a classic Indian sweet treat enjoyed at all celebratory occasions. These soft syrup-soaked balls are an absolute delight and will surely satisfy your sweet cravings.", "subtitle": null, "ingredients": [ { "section": "For the recipe", "ingredients": [ "200g condensed milk", "1½ tablespoons plain yogurt", "1 egg yolk", "1½ tablespoons ghee", "2 tablespoons fine semolina", "½ teaspoon ground cardamom", "130g plain flour", "50g self-raising flour", "1½ teaspoons baking powder", "oil, for deep-frying", "100g desiccated coconut" ] }, { "section": "SUGAR SYRUP", "ingredients": [ "250g granulated sugar", "250ml water", "½ teaspoon rose extract" ] } ], "instructions": [ "For the sugar syrup, place all the ingredients in large saucepan on a medium heat and cook until the sugar dissolves. This could take 20 minutes.", "Reduce the heat and simmer gently until the syrup turns slightly sticky.", "Set aside.", "Place the condensed milk in a bowl with the yogurt, egg yolk, ghee, semolina and ground cardamom and mix it all together.", "Sift in the plain flour, self-raising flour and baking powder and bring together into a soft dough.", "Divide the dough into 28 equal-sized balls and roll each in the palms of your hands into an oval shape about 4cm long.", "Heat the oil for deep-frying in a large saucepan on a low-medium heat.", "Lower a few jamun into the oil at a time and fry for about 2 minutes, making sure not to overcrowd the pan because they will increase in size.", "It's important to fry the jamuns on low heat - if the oil is too hot, the jamuns will brown on the outside and stay raw in the middle.", "Keep stirring gently to fry them evenly so they are golden brown all over.", "Carefully remove from the oil with a slotted spoon, drain well and place in the saucepan with the warm sugar syrup.", "Leave to soak in the syrup for about 1 minute, then remove them and toss in desiccated coconut to coat.", "Store in an airtight container in the fridge for up to 3-4 days." ], "author": null }
- Assistant
{ "data": "IN" }