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": "Chicken Croquettes", "description": "Chicken croquettes are absolutely amazing - creamy, minty and spicy, these chicken-nugget style snacks are dipped in breadcrumbs and deep fried until golden. When I was growing up, these were always my favourite, and it's the same with our kids! My mum would prepare these for Ramadan and make sure we had enough stocked in the freezer to last us throughout the month. These are super-easy and scrumptious.", "subtitle": null, "ingredients": [ { "section": "For the recipe", "ingredients": [ "500g chicken breast, cut into 4cm chunks", "100ml double cream", "2 teaspoons garlic paste", "½ teaspoon salt", "½ teaspoon ground black pepper", "1 teaspoon ground cumin", "6-7 fresh chillies", "30g fresh mint leaves", "30g fresh coriander", "200g shop-bought golden breadcrumbs", "oil, for deep-frying" ] } ], "instructions": [ "Place the chicken with the cream, garlic paste, salt, pepper, cumin, chillies, mint and coriander together in a food processor and blitz until very finely chopped.", "Shape into croquettes around 5cm in length and then leave on a plate, covered, to marinate in the fridge for 2 hours or overnight if possible.", "Place the breadcrumbs in a shallow bowl and turn the chunks of chicken in the crumbs to coat.", "Heat the oil for deep-frying in a large saucepan on a medium-high heat until it reaches 180°C.", "Fry the chicken pieces in batches for 4-5 minutes until golden all over, turning occasionally, then drain on kitchen paper.", "These chicken sticks can be made in large batches and kept in the freezer. Cover the chicken pieces in breadcrumbs and arrange on a baking sheet, then freeze until hard.", "Store in plastic bags in small quantities, then defrost and fry when required." ], "author": null }
- Assistantjson
{ "data": "WWW" }