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": "Egg-fried Rice", "description": "", "subtitle": "This Indo-Chinese rice is loaded with veggies and fluffy scrambled eggs. Perfect on its own or as a side with Orange Chilli Chicken or Sweet & Sour Prawns.", "ingredients": [ { "section": "For the recipe", "ingredients": [ "250ml water", "125g basmati rice", "30g butter", "2 eggs", "2 tablespoons oil", "1 onion, diced", "1 teaspoon ginger paste", "1 teaspoon garlic paste", "1 teaspoon chilli paste", "30g carrot, grated", "30g cabbage, finely shredded", "½ red pepper, diced", "½ green pepper, diced", "30g tinned sweetcorn, drained", "30g green beans", "3 tablespoons chilli sauce", "1 tablespoon dark soy sauce", "2 spring onions, finely chopped, plus extra to garnish", "salt and ground black pepper" ] } ], "instructions": [ "Pour the water into a medium saucepan, bring to the boil and add salt to taste.", "Add the rice and cook uncovered for 10-12 minutes until it is 80% cooked.", "It needs to be cooked on the outside but the inside should be a little firm as the rice will cook further when you fry it.", "Drain in a colander and set aside.", "Heat the butter in a medium frying pan on a medium heat, crack the eggs into the pan and season with black pepper and salt.", "Scramble the eggs until cooked through, then remove from the pan and set aside.", "Heat the oil in same pan, add the onion, ginger paste, garlic paste, chilli paste, grated carrot, cabbage, red and green peppers, sweetcorn and green beans.", "Stir-fry for a few minutes to soften the veggies, then add the chilli sauce, soy sauce and spring onions and season with salt.", "Throw in the scramble eggs, stir in, then add the rice and very gently stir, making sure not to break the rice.", "Cover the pan with a lid and cook on a low heat for 10 minutes until the rice fluffs up and is cooked through.", "Serve garnished with spring onions." ], "author": "" }
- Assistantjson
{ "data": "IN" }