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": "SPINACH IN SPICY SAUCE", "description": null, "subtitle": null, "ingredients": [ { "section": "For the recipe", "ingredients": [ "1 bunch fresh spinach, cut into small strips", "1/2 lb stew meat", "2 large onions, sliced", "3 tbsps butter", "1 onion, chopped", "1 garlic clove, chopped fine", "2 chicken bouillon cubes", "3 tsps tomato paste", "2 tomatoes, blended in blender", "salt", "pepper", "1 dash coriander", "1 dash ground nutmeg", "1 dash Arabic seven spice", "1 dash cumin" ] } ], "instructions": [ "Rinse the spinach and then cut into small strips.", "In a large pan, add the meat, sliced onions, water and bouillon cubes and bring to a boil and then simmer for about 2 hours.", "In a large bowl, strain the broth", "In the same pan, melt the butter and sauté the chopped onion and garlic till soft.", "Stir in the spices and tomato paste and then add the pureed tomatoes, 2-3 C. of broth and 1/2 C. of water and bring to a boil.", "Stir in the spinach and reduce the heat to low.", "Simmer for about 20-30 minutes.", "Serve this dish with the rice and browned noodles." ], "author": null }
- Assistantjson
{ "data": "WAF" }