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": "Mackerel marinated in orange", "description": "Cooking 6 mins\nPreparation 20 mins\nFish\nMackerel marinated in orange is a delightful dish that combines the rich flavors of oily fish with the fresh zing of citrus. It's a simple yet elegant way to enjoy mackerel.", "subtitle": "", "ingredients": [ { "section": "Pour la recette", "ingredients": [ "2 unwaxed oranges", "4 silverskin onions", "4 small fennel bulbs", "1 teaspoon of coriander seeds", "a splash of olive oil", "white wine mignonette pepper" ] }, { "section": "Pour le poisson", "ingredients": [ "2 400 g mackerel" ] }, { "section": "Pour la garniture", "ingredients": [ "12 coriander leaves" ] } ], "instructions": [ "Gut two 400 g mackerel, fillet them and remove all the bones (or get your fishmonger to do it for you). Lay them on a dish.", "Rinse 2 unwaxed oranges and pare the zest from one of them. Cut it into small slivers (julienne) then immerse them in boiling water.", "Drain and refresh immediately. Repeat this operation twice in order to remove any bitterness from the zest.", "Squeeze the juice from both oranges and set aside.", "Peel, wash and finely slice 4 silverskin onions and 4 small fennel bulbs.", "Crush 1 teaspoon of coriander seeds.", "Heat a flameproof casserole dish with a splash of olive oil and roll the onions and fennel bulbs in it for 1 minute.", "Salt lightly then add the crushed coriander seeds and a teaspoon of white wine mignonette pepper.", "Pour in the juice from the oranges, stir and cook for 5 minutes.", "Pour the contents of the casserole dish over the mackerel fillets.", "Cover immediately and seal with cling film to keep in the heat.", "Leave the mackerel to cool in their cooking liquid for 1 hour at room temperature.", "Then chop 12 coriander leaves. Sprinkle them over the mackerel.", "Serve in the dish." ], "author": "" }
- Assistant
{ "data": "FR" }