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": "Remi's famous potato and leek stock", "description": null, "subtitle": "As Gusteau had said in his book, “anybody can cook". Remy is the most appropriate example who stood by this belief\nand ultimately followed his passion. But for someone to follow his dream and passion, it's important to eat healthily and\nbe healthy. This is an incredibly healthy soup that everyone should try.", "ingredients": [ { "section": "For the recipe", "ingredients": [ "1 1/2 teaspoons canola oil", "3 cups of finely diced leeks", "2 finely chopped garlic", "1 1/2 teaspoons finely trimmed thyme", "6 cups of chicken stew" ] } ], "instructions": [ "In a saucepan, heat oil on low heat.", "Put the leek in the saucepan and cook for about 10 minutes.", "The next step would be to add garlic and thyme to the pan. Cook it for about 2 minutes.", "Add chicken stew to this cooked mixture and let it boil.", "Once the bubbles start coming, and it starts rising, lower the flame and let it cook for another 10 minutes.", "Now filter the soup using a strainer.", "Take the leeks and blend them well. You can also add some stew if the desired smooth texture is not achieved.", "Once done, transfer the stew and leek paste to the saucepan.", "At this stage, add potatoes to the saucepan and cover the lid. Let it cook for 10-15 minutes.", "Once the potatoes are soft, remove the lid, turn off the heat and mash the potatoes.", "Lastly, add sour cream, salt, and pepper.", "Turn on the heat and cook on a low flame. Once the soup is entirely warm, you can serve it." ], "author": null }
- Assistant
{ "data": "WWW" }