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": "Stuffed Veggies in Tomato Sauce", "description": null, "subtitle": null, "ingredients": [ { "section": "For the recipe", "ingredients": [ "2 C. short-grain rice", "1/2 lb ground beef", "3 tsps salt", "1 tsp pepper", "1 tsp allspice", "1 tsp turmeric", "1/4 C. olive oil", "1 pinch saffron, if desired", "15 zucchini", "5 eggplants, small", "2 green peppers, small", "6 large tomatoes", "water", "2 tbsps tomato paste", "2 tsps salt", "4 garlic cloves, crushed", "1 tbsp dried mint, crushed" ] } ], "instructions": [ "In a bowl of warm water, soak the rice for about 30 minutes.", "Drain the rice well and transfer into a bowl.", "Add the beef, oil and spices and mix till well combined.", "Cut the tops of the eggplant and zucchini remove the inner flesh, leaving about 1/4-inch all around.", "Core the bell peppers.", "Fill the vegetables with the rice mixture and arrange in a large pan.", "In a blender, add the tomatoes, tomato paste, salt and enough water that covers the blender about 2/3 full and pulse till smooth.", "Place the tomato sauce over the vegetables evenly. (If necessary, pour some water to cover the vegetables.)", "Simmer, uncovered for about 90 minutes. (Add the water if sauce becomes dry)", "Add the mint and garlic and simmer for few minutes more.", "Serve this dish with bread." ], "author": null }
- Assistantjson
{ "data": "WWW" }