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": "Crispy Pakoras", "description": "The humble pakora - these crispy, deep-fried snacks really don't need an introduction. Basic pakoras are made with sliced onions, fresh fenugreek leaves, chickpea flour and Indian spices, but you can add other vegetables such as grated carrots and potatoes, or even chicken. My dad absolutely loves them (these and a bowl of warm custard), so I'm always sure to keep some ready when he visits. Serve them fresh and hot - you will soon see them disappearing one by one from the plate - accompanied by my Tomato & Coriander Chutney (see page 137).", "subtitle": null, "ingredients": [ { "section": "For the recipe", "ingredients": [ "1 large onion, finely chopped", "1 large red onion, finely chopped", "125g spinach, finely chopped", "125g fresh fenugreek leaves, chopped (stems removed)", "½ teaspoon ground turmeric", "½ teaspoon chilli powder", "1 teaspoon ground coriander", "1 teaspoon ground cumin", "¼ teaspoon carom seeds (ajwain)", "2 teaspoons garlic paste", "2 teaspoons green chilli paste", "1 tablespoon dried fenugreek leaves", "1 heaped tablespoon rice flour", "½ teaspoon baking powder", "200g chickpea flour", "200g tin of sweetcorn", "about 200ml water", "salt", "oil, for deep-frying" ] } ], "instructions": [ "Place the onions in a large bowl with the chopped spinach and fresh fenugreek.", "Add the turmeric, chilli powder, ground coriander, cumin, carom seeds, garlic paste, chilli paste, dried fenugreek, rice flour, baking powder and chickpea flour.", "Season with salt.", "Add the sweetcorn and the liquid from the tin with just enough water to hold the mixture together - the consistency shouldn't be too thick or too thin.", "Heat the oil for deep-frying in a large saucepan on a medium-high heat until it reaches 180°C.", "Drop a little bit of the mixture into the oil -if it sizzles, the oil is ready.", "Drop heaped tablespoons of the mixture into the oil in batches and cook for 2-3 minutes until golden and crispy all over, turning occasionally, then drain on kitchen paper.", "These pakoras are best eaten hot and fresh on the day they are cooked." ], "author": null }
- Assistant
{ "data": "IN" }