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": "Cauliflower Manchurian", "description": "", "subtitle": "Also known as Gobi Manchurian, this popular Indo-Chinese dish has crispy cauliflower florets tossed in a spicy sauce.", "ingredients": [ { "section": "For the recipe", "ingredients": [ "1 cauliflower, cut into florets", "1 tablespoon oil, plus extra for deep-frying", "2 garlic cloves, chopped", "1 fresh green chilli, chopped", "1 red onion, diced", "2 spring onions, finely sliced, plus extra to garnish", "½ red pepper, diced", "½ green pepper, diced", "2 tablespoons tomato ketchup", "2 tablespoons chilli sauce", "2 tablespoons dark soy sauce", "1 tablespoon rice vinegar", "1 tablespoon chilli flakes", "1 tablespoon ground black pepper", "1 teaspoon salt" ] }, { "section": "BATTER", "ingredients": [ "100g plain flour", "20g cornflour", "1 teaspoon chilli powder", "1 teaspoon Kashmiri chilli powder", "1 teaspoon ground black pepper", "1 teaspoon salt", "200ml water" ] } ], "instructions": [ "Cook the cauliflower florets in a large saucepan of boiling water for 8-10 minutes, then drain in a colander and set aside.", "For the batter, mix all the dry ingredients together in a large bowl, then slowly add the water, stirring all the time to make a smooth batter thick enough to coat the cauliflower.", "Drop the florets into the batter and stir gently to coat.", "Heat the oil for deep-frying in a large saucepan on a medium-high heat until it reaches 180°C.", "Fry the cauliflower florets in batches for about 6 minutes until golden and crisp, then drain in a colander to remove excess oil.", "Heat the oil in a large wok on a low heat, add the garlic, chopped chilli, red onion, spring onions and red and green peppers and cook, stirring, for 2 minutes.", "Add the ketchup, chilli sauce, soy sauce, rice vinegar, chilli flakes, black pepper and salt and heat through for 1 minute.", "Toss the fried florets in the sauce, making sure to coat them properly.", "Serve the cauliflower in a bowl, garnished with sliced spring onions." ], "author": "" }
- Assistant
{ "data": "IN" }