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": "Whole poached sea bass with herb cream", "description": "Sea bass is a delicious lean fish. Serve as a main course with a dish of vegetables or as a starter.", "subtitle": "A delightful fish dish for any occasion", "ingredients": [ { "section": "Pour la recette", "ingredients": [ "1 sea bass weighing approximately 1.3 kg", "3 litres of water", "1 lemon (3 required in total for the recipe)", "1 tablespoon of peppercorns", "1 tablespoon of coriander seeds", "1 handful of dried fennel stalks", "2 glasses of white wine", "6 sprigs of parsley", "4 sprigs of dill", "3 tablespoons of crème fraîche", "juice of half a lemon", "some salt", "freshly ground black pepper", "2 lemons cut into wedges" ] } ], "instructions": [ "Get your fishmonger to trim, gut and scale 1 sea bass weighing approximately 1.3 kg.", "Heat 3 litres of water in a flameproof casserole dish.", "Add the pared zest and slices of 1 lemon (3 required in total for the recipe), 1 tablespoon of peppercorns, 1 tablespoon of coriander seeds, 1 handful of dried fennel stalks and 2 glasses of white wine.", "When the water boils, immerse the bass in it.", "Lower the heat and simmer just under the boil for approximately 6 minutes.", "Turn off the heat and allow the fish to rest for 10 minutes.", "While the bass is cooking, prepare the herb cream.", "Rinse and dry the leaves of 6 sprigs of parsley and 4 sprigs of dill, then chop them finely.", "In a bowl or sauce boat, dilute 3 tablespoons of crème fraîche with the juice of half a lemon.", "Add the chopped herbs, some salt and freshly ground black pepper, mix well.", "Take the bass out of its cooking liquid with a skimmer.", "Arrange it on the serving dish and add 2 lemons cut into wedges.", "Serve the sauce separately." ], "author": "" }
- Assistantjson
{ "data": "WWW" }