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": "Chicken, Mogo & Corn Casserole", "description": "My grandmother introduced me to this tasty dish and her mother showed her how to make it, a dish she used to make in Malawi. I would describe it as more of a stew than a curry. When you start making this recipe it's very similar to making a chicken curry, but the sweet and nutty mogo and the creamy coconut add a whole new level of deliciousness.", "subtitle": null, "ingredients": [ { "section": "Ingredients", "ingredients": [ "500g frozen mogo (cassava)", "2 corn on the cob, cut into 3cm pieces", "3 tablespoons oil", "1 onion, finely sliced", "300g chicken thighs on the bone", "300g chicken breast, cut into chunks", "1 teaspoon ground turmeric", "1 teaspoon chilli powder", "1 teaspoon chilli flakes", "1 tablespoon ground cumin", "1 tablespoon ground coriander", "1 tablespoon ginger paste", "1 tablespoon garlic paste", "1 teaspoon green chilli paste", "100g tinned chopped tomatoes", "1 fresh tomato, finely chopped", "200g creamed coconut, chopped", "500ml water", "salt", "chopped fresh coriander, to garnish" ] }, { "section": "WHOLE SPICES", "ingredients": [ "1 teaspoon cumin seeds", "2 cinnamon sticks", "3 cardamom pods", "5-6 black peppercorns", "5-6 cloves" ] } ], "instructions": [ "Place the mogo in a steamer and cook for 25 minutes or until just tender with a slight bite to it, adding the sweetcorn after 5 minutes.", "Do not overcook or they will become mushy.", "Alternatively, cook the vegetables in a saucepan of boiling water if you prefer.", "Cut the mogo into 3cm chunks and set aside.", "Heat a large wide saucepan on a low-medium heat and add the oil and the whole spices.", "When they start to sizzle, add the onion and fry for 15 minutes, or until golden brown.", "Add the chicken, turmeric, chilli powder, chilli flakes, cumin, ground coriander, ginger paste, garlic paste and chilli paste.", "Season with salt, stir and cook for 30 minutes, stirring occasionally, until no moisture is left.", "Blitz the tinned tomatoes with the fresh tomato in a food processor until smooth, add to the chicken and cook for 10-12 minutes.", "Add the mogo, sweetcorn and creamed coconut and pour in the water.", "Stir well and simmer for 15 minutes until the casserole thickens.", "Serve into bowls, garnish with fresh coriander and enjoy!" ], "author": null }
- Assistant
{ "data": "MW" }