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": "Cheese Souffle from Beauty and the Beast", "description": "", "subtitle": "Cheese souffle is one of the dishes Belle tasted while inside the castle. If you are curious about how it tastes, check out the recipe below.", "ingredients": [ { "section": "For the recipe", "ingredients": [ "½ cup cubed butter", "1/3 cup all-purpose flour", "2 cups of whole milk", "1 ½ cup of swiss cheese (shredded)", "1 cup of cheddar cheese (shredded)", "1/4 cup parmesan cheese (shredded)", "1 tsp Dijon mustard", "1/4 tsp salt", "½ tsp cream of tartar", "Pinch of hot pepper sauce", "6 large eggs" ] } ], "instructions": [ "In a saucepan, melt the butter over medium heat. Add in the flour slowly and stir until smooth.", "Incorporate the milk slowly by whisking it. Add in the pepper sauce, mustard and salt as well.", "Slowly stir for 2 minutes or until the mixture has thickened. Reduce the heat from medium to low. Stir in the cheese and melt. Once the cheese has melted, transfer it into a large bowl.", "Separate the whites and yolks of the egg. In a medium bowl, place the egg whites and let it stay at room temperature for around 30 minutes.", "In another bowl, whisk the egg yolks until they turn lemon-colored. Then add the cheese mixture while constantly stirring. Let it sit for 30 minutes.", "Preheat an oven to 325 F. Prepare 8 oz ramekins and arrange them in a baking pan.", "Using a beater, beat the egg whites together with the cream of tartar. Stop when you notice the mixture becomes stiff. Then fold in the whites with the cheese mixture.", "Transfer the mixtures in the ramekins. Place hot water in the baking pan. Make sure it covers 1 inch of the ramekins.", "Bake for 45 minutes or until the top layer turns golden brown.", "Serve immediately." ], "author": "" }
- Assistant
{ "data": "FR" }