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": "Saucy Gazebo Chicken", "description": "Gazebo chicken is absolutely full of flavour - tasty, spicy, saucy, tender and finger-licking good. Serve with rice or chips and salad.", "subtitle": null, "ingredients": [ { "section": "For the recipe", "ingredients": [ "1 chicken, cut into 8 pieces", "1 tablespoon lemon juice", "1 teaspoon salt", "1 tablespoon ground black pepper", "1 tablespoon white vinegar", "3 tablespoons cornflour", "1 tablespoon chapati flour", "1-2 eggs, beaten", "oil, for deep-frying" ] }, { "section": "SAUCE", "ingredients": [ "2 tablespoons oil", "1 teaspoon garlic paste", "½ teaspoon salt", "1 teaspoon ground black pepper", "1 teaspoon chilli flakes", "1 tablespoon chilli powder", "3 tablespoons tomato ketchup", "½ red pepper, cut into chunks", "½ green pepper, cut into chunks" ] }, { "section": "GARNISH", "ingredients": [ "2 spring onions, finely chopped", "15g fresh coriander, finely chopped" ] } ], "instructions": [ "Place the chicken pieces in a large bowl, add the lemon juice, salt, black pepper and vinegar and leave to marinate in the fridge for 1 hour or overnight if possible.", "For the sauce, heat the oil in a saucepan on a low heat and add the garlic paste, salt, black pepper, chilli flakes, chilli powder and tomato ketchup.", "Cook on a low heat for 2 minutes, then add the red and green peppers and cook for a further 3-4 minutes until softened but still with a little bite.", "Take the chicken out of the fridge and add the cornflour, chapati flour and enough beaten egg to coat the chicken all over.", "Mix well.", "Heat the oil for deep-frying in a large saucepan on a medium-high heat until it reaches 180°C.", "Fry the pieces of chicken for 10-12 minutes until cooked through, then drain on kitchen paper.", "Coat the chicken pieces in the sauce and garnish with spring onions and chopped coriander." ], "author": null }
- Assistant
{ "data": "WWW" }