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": "HERBED RICE STUFFED CABBAGE ROLLS", "description": null, "subtitle": null, "ingredients": [ { "section": "For the recipe", "ingredients": [ "1 large green cabbage", "2 C. short-grain white rice", "1 onion, grated to almost liquid", "1 large onion, chopped", "1 bunch fresh parsley, finely chopped", "1 bunch fresh cilantro, finely chopped", "1 bunch fresh dill weed, finely chopped", "2 fresh tomatoes, pureed", "1 tomatoes, sliced thin", "3 tbsps tomato paste", "canola oil", "1 garlic clove, crushed", "2 chicken bouillon cubes", "1 tbsp cumin", "1 tbsp Arabic spices", "2 tbsps salt", "1 tsp black pepper", "2 tbsps dried mint", "1/2 lemon, juice of" ] } ], "instructions": [ "For stuffing in a skillet, heat the required amount of oil and sauté pureed onion, chopped onion.", "Stir in the garlic and sauté till onions are done.", "Stir in the salt, 1 tbsp of tomato paste, pureed tomatoes and a few drops of water and cook, stirring till all the liquid is absorbed.", "In a bowl, Add the rice, onion mixture, fresh herbs, dried mint, spices and a little oil and mix till well combined.", "Wash the cabbage head and carefully remove the core, not separating the leaves.", "In a large pan of water, add a few pinches of the cumin and bring to a boil.", "Add the cabbage head, core side facing up and carefully with a knife, separate the leaves from core and cook till soft.", "Transfer the leaves onto a large tray and let them cool.", "Cut each leaf from the bottom and discard the hard core and reserve the two sides from leaf.", "Heat a large greased pan and place the tomato slices in the bottom.", "Divide the rice mixture over each leaf and roll to secure the filling.", "Place the rolls over the tomato slices and top with crushed chicken bouillon cube.", "In a bowl, mix together the remaining tomato paste and 3 C. of water.", "Place the water mixture over the rolls so that they cover the cabbage rolls.", "Place a heatproof plate over the rolls.", "Arrange the pan on high heat and bring to a boil and cook for about 10 minutes.", "Reduce the heat to low and simmer, covered for about 1 hour.", "Transfer the rolls onto serving plates and top with pan sauce." ], "author": null }
- Assistant
{ "data": "WAS" }