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": "Fillets of sole with tomatoes and mushrooms", "description": "Sole is a very lean fish and its preparation here does not affect its low-fat status. Tomatoes, mushrooms and spinach make this a super cocktail of vitamins, antioxidants and mineral salts, which I think is really great!", "subtitle": "", "ingredients": [ { "section": "Pour la recette", "ingredients": [ "2 500 g soles", "350 g of white mushrooms", "6 handfuls of baby spinach leaves", "2 garlic cloves", "4 silverskin onions", "5 tablespoons of chopped cooked tomatoes", "olive oil", "salt", "freshly ground black pepper" ] } ], "instructions": [ "Get your fishmonger to fillet two 500 g soles. Then cut each fillet into three pieces.", "Take the base off 350 g of white mushrooms, wash and dry the caps.", "Cut them each into three slices.", "Wash and dry 6 handfuls of baby spinach leaves.", "Peel 2 garlic cloves, stick one on a fork and crush the other one.", "Peel 4 silverskin onions and cut into rings.", "Preheat the oven to 180 °C (gas mark 4).", "Heat a frying pan with a splash of olive oil, pop in the spinach handful by handful and stir with the fork with the garlic stuck on it until it has all wilted. Add salt and freshly ground black pepper. Tip it into a dish.", "Wipe your frying pan, add a splash of olive oil and sauté the mushroom slices and the onion rings with the crushed garlic clove over a high heat for 3 minutes. Add salt and pepper.", "In a large ovenproof dish, make layers of 5 tablespoons of chopped cooked tomatoes, spinach, mushrooms, onions and fillets of sole. Put in the oven for 10 minutes.", "Add a twist of freshly ground black pepper when you take it out of the oven and serve in the dish." ], "author": "" }
- Assistant
{ "data": "FR" }