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": "Achari Kheema", "description": "I absolutely love mince, whether it's chicken or lamb. Mince is so versatile, great for kebabs, rice dishes and savouries too. Mince cooks very quickly, so when you don't have much time on your hands, try this delicious, spicy and saucy dish. Your family will enjoy it for sure. Serve with Naan (see pages 130-1) or Roti (see pages 126-7).", "subtitle": null, "ingredients": [ { "section": "WHOLE SPICES", "ingredients": [ "3-4 dried chillies", "2 teaspoons coriander seeds", "1 teaspoon fennel seeds", "1 teaspoon nigella seeds", "3-4 cloves", "5-6 black peppercorns", "½ teaspoon cardamom seeds" ] }, { "section": "For the recipe", "ingredients": [ "4 tablespoons oil", "1-2 bay leaves", "1-2 cinnamon sticks", "1 onion, diced", "1 teaspoon ginger paste", "1 teaspoon garlic paste", "500g lamb mince", "1 teaspoon chilli powder", "1 teaspoon ground turmeric", "1 teaspoon mango powder", "1 teaspoon dried fenugreek leaves", "30g fresh fenugreek, finely chopped", "1 tablespoon lemon juice", "2 fresh tomatoes, finely chopped", "2 tablespoons tomato purée", "2 tablespoons plain yogurt", "80ml water", "2 jalapeño chillies, halved", "½ teaspoon nigella seeds", "salt", "finely chopped fresh coriander, to garnish" ] } ], "instructions": [ "Heat a frying pan on a medium heat and dry-fry the whole spices for 8 minutes, stirring, until fragrant.", "Tip into a food processor, grind to a powder and set aside.", "Heat a medium saucepan on a low heat and add the oil, bay leaves and cinnamon sticks.", "Add the onion and fry for 4-5 minutes or until golden brown.", "Add the spices you have ground, the ginger paste and garlic paste and cook for 30 seconds.", "Add the lamb mince, stir well, cover and cook until the mince has changed colour and the liquid has evaporated, about 25-30 minutes.", "Add the chilli powder, turmeric, mango powder, dried fenugreek, fresh fenugreek, lemon juice, tomatoes, tomato purée, yogurt, water and jalapeños.", "Season with salt, stir everything together and simmer on a low heat for 15-20 minutes until the tomatoes have softened and broken down.", "Sprinkle over the nigella seeds and serve garnished with fresh coriander." ], "author": null }
- Assistantjson
{ "data": "IN" }