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": "Basque-style baked eggs", "description": "Serve these Basque-style eggs with nice fresh slices of wholemeal or multigrain bread. If you don't have a flameproof serving dish, use a frying pan fit for serving at the table. Peppers, onions and tomatoes - plenty of antioxidants here!", "subtitle": "", "ingredients": [ { "section": "Pour la recette", "ingredients": [ "2 white onions", "1 red pepper", "1 green pepper", "1 yellow pepper", "4 tomatoes", "2 garlic cloves", "splash of olive oil", "100 g of Spanish Serrano ham", "small bunch of basil", "8 very fresh eggs", "sea salt", "Piment d'Espelette" ] } ], "instructions": [ "Peel 2 white onions, peel 1 red pepper, 1 green pepper and 1 yellow pepper with a vegetable peeler, and remove the seeds and filaments.", "Cut all these vegetables into thin slivers.", "Cut 4 tomatoes into quarters, remove their seeds and cut their flesh similarly.", "Peel and chop 2 garlic cloves.", "Heat a splash of olive oil in a flameproof casserole dish and sweat the onions and peppers for 5 minutes, with the lid on.", "Add the tomatoes and garlic, cook gently with the lid off, until the liquid from the vegetables has evaporated.", "In the meantime, cut 100 g of Spanish Serrano ham into slivers and chop the leaves from a small bunch of basil.", "Add them when the vegetables are cooked and stir well. Taste and adjust the seasoning with salt and Piment d'Espelette.", "Spread the vegetables in a layer about 4 cm thick in a large flameproof serving dish.", "Make 8 little hollows in the vegetable layer. Take 8 very fresh eggs and break one into each hollow. Cook gently until the white is set but the yolk is still runny.", "Sprinkle over a few grains of sea salt and serve." ], "author": "" }
- Assistantjson
{ "data": "ES" }