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": "Braised beef with red pepper and tomato sauce", "description": "Children love sharp flavours as long as they are not overwhelming. Unlike bought ketchup, the pepper and tomato sauce in this recipe has a much more subtle, less sugary taste. The other great advantage of this braised beef is that it practically prepares itself!", "subtitle": "For children", "ingredients": [ { "section": "Pour la recette", "ingredients": [ "2 onions", "2 shallots", "2 red (bell) peppers", "2 garlic cloves", "2 tomatoes", "1 tablespoon olive oil + a little extra", "50 g/14 oz salted butter", "500 g/1 lb 2 oz braising beef or beef cheek, cut into 30-40 g/1-1½ oz pieces", "sprig of summer savory", "sprig of thyme + extra to garnish", "1 bay leaf", "100 ml/32 fl oz vegetable stock", "splash of sherry vinegar", "fine salt, freshly ground pepper" ] } ], "instructions": [ "Preheat the oven to 180°C (350°F; gas mark 4). Peel the onions and shallots.", "De-stalk and quarter the peppers, then remove the seeds and any white pith. Finely chop the onions, shallots and peppers. Peel the garlic. De-stalk the tomatoes and cut into quarters.", "In a flameproof casserole with a lid, heat the tablespoon of olive oil with the butter. Season the beef all over with salt and brown on all sides for about 8 minutes, then remove from the pan.", "Pour off most of the fat, then add the onions, shallots, peppers and tomatoes. Add a little extra olive oil and cook the vegetables over a gentle heat for about 5 minutes, stirring now and again.", "Place the browned meat on top of the vegetables in the casserole, then add the garlic, summer savory, thyme, bay leaf and vegetable stock. Cover and cook in the oven for 1 hour.", "Remove the casserole from the oven and take the meat out of the sauce. Discard the summer savory, thyme and bay leaf, then blend the cooked vegetables until you have a smooth sauce.", "Season with salt and pepper, then stir in the vinegar. Divide the beef and sauce between 4 bowls, garnish with a sprig of thyme and serve." ], "author": "" }
- Assistantjson
{ "data": "WWW" }