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": "Pan de Muerto from Coco", "description": null, "subtitle": "Pan de Muerto is a delicious bread traditionally paired with hot chocolate. It was featured in the Disney movie musical Coco.", "ingredients": [ { "section": "Glaze", "ingredients": [ "1/4 cup of applesauce (unsweetened)", "½ cup of bananas (mashed)", "½ cup of water", "3 cups of flour (whole wheat)", "½ cup of orange juice", "2 teaspoons of maple syrup", "2 teaspoons of aniseed", "1 tablespoon of orange zest", "½ teaspoon of aniseed", "½ teaspoon of salt", "2 eggs", "1 pack of yeast", "½ cup of orange juice", "1 tablespoon of maple syrup", "Beetroot sugar" ] } ], "instructions": [ "1. In a large mixing bowl, combine the maple syrup, bananas, applesauce, aniseed, and flour.", "2. In another bowl, mix the orange zest, eggs, and water. Combine with the dough and add ½ cup flour. Stir thoroughly to combine.", "3. Pour in an additional ½ cup of flour with yeast.", "4. Add another 2 cups of flour and still thoroughly until the dough has thickened.", "5. Put a damped towel to cover on top of the bowl to cover the dough. Let it rise for 1 hour.", "6. Put the flour into your hands and make 6 balls out of the dough. Place them on a baking sheet lined with parchment paper.", "7. Bake for 30 minutes at 350 degrees F", "8. Once the edges turn golden brown, remove from the oven and let it cool down.", "Glaze:", "1. In a small saucepan, combine the orange juice and maple syrup. Let it simmer and stir thoroughly until it is well combined.", "2. Brush the glaze on top of the bread once it cools down.", "3. Serve." ], "author": null }
- Assistant
{ "data": "MX" }