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é.
code1. 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": "Squid Stuffed with Judión Beans and Tomato", "description": "Heartwarming, glowing red and white, with garlic and tomato.", "subtitle": null, "ingredients": [ { "section": "For the recipe", "ingredients": [ "squid", "judión or butter beans", "tomatoes", "garlic", "rosemary", "dry sherry", "4 garlic cloves", "olive oil", "8 tomatoes", "a bushy sprig of rosemary", "salt", "black pepper", "650g judión beans or butter beans", "4 prepared medium squid", "300ml dry sherry" ] } ], "instructions": [ "Peel and finely slice 4 garlic cloves, then fry in a thin layer of olive oil in a deep frying pan till very lightly coloured.", "Cut 8 tomatoes into roughly 8 pieces each, then add to the garlic, together with the chopped leaves from a bushy sprig of rosemary.", "Cook for 6 or 7 minutes, till the mixture is soft, fragrant and quite juicy.", "Season with salt and black pepper.", "Drain 650g judión beans or butter beans of any bottling or canning liquor, rinsing them in a colander if you wish, then stir them gently into the tomato mixture and continue cooking, over a moderate heat, for 5 minutes.", "Remove from the heat.", "Set the oven at 200°C/Gas 6.", "Check 4 prepared medium squid, making sure that they are thoroughly clean and the transparent quills have been removed from the body sacs and discarded.", "Set aside the tentacles.", "Using a tablespoon, stuff the squid bodies with as much of the filling as you can, laying them down slightly apart in a roasting tin or large baking dish.", "Spoon any excess filling into the roasting tin.", "Pour 300ml dry sherry around the squid, add a couple more rosemary sprigs to the tin and bake for 20-25 minutes, occasionally basting the squid with the sherry.", "Halfway through cooking, tuck the reserved tentacles around the squid bodies.", "Serve the squid and tentacles in shallow bowls or on deep plates, spooning the thin juices around them as you go." ], "author": null }
- Assistantjson
{ "data": "ES" }