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": "ORANGY\nChicken Stew", "description": null, "subtitle": null, "ingredients": [ { "section": "Meat", "ingredients": [ "1 tsp paprika", "1/2 tsp ground cumin", "1/2 tsp ground coriander", "1/2 tsp ground ginger", "3/4 tsp sea salt", "1/4 tsp black pepper", "1 lb boneless skinless chicken breast", "1 tbsp olive oil", "2 C. fennel, thinly sliced", "1/4 C. fennel leaves, chopped", "1 medium red onion, cut into 1 inch\nchunks", "1 C. orange juice", "1/3 C. fat-free chicken broth", "2 tsp cornstarch", "1 tbsp water" ] }, { "section": "Couscous", "ingredients": [ "1 C. uncooked couscous", "2 C. water" ] } ], "instructions": [ "Get a small mixing bowl: mix in it the spices with a pinch of salt and pepper. Rub the\nmix into the chicken breasts.", "Place a large pan over medium heat. Heat the oil in it. Brown in it the chicken breasts for\n6 min on each side.", "Drain the chicken breasts and place them aside. Stir the onion with fennel into the same\npan. Cook them for 8 min while adding a splash of water if needed.", "Stir a pinch of salt with 2 C. of water in a large saucepan. Cook it until it starts boiling.\nStir into it the couscous and put on the lid.", "Turn off the heat and let it sit for 6 min. use a fork to fluff the couscous and place it\naside.", "Combine the orange juice, broth and the last 1/4 tsp salt in a large saucepan. Cook it until\nit starts boiling.", "Whisk 1 tbsp of water with cornstarch in a small mixing bowl. Add it to the boiling juice\nmix. Stir them while cooking until it starts to thicken.", "Combine in the browned chicken with cooked fennel and onion. Let them cook for an\nextra 3 min.", "Serve your chicken breasts stew warm with couscous.", "Enjoy." ], "author": null }
- Assistantjson
{ "data": "MA" }