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": "Bonzabeast Stew from Treasure Planet", "description": "Treasure Planet is one of the most underrated Disney movies of all time. There a dish called Bonzabeast stew was featured, which is a beef tomato stew. It has a hearty taste, and it gets even better as the days go by.", "subtitle": "A hearty beef tomato stew inspired by the underrated Disney movie.", "ingredients": [ { "section": "For the recipe", "ingredients": [ "½ cup of flour (all-purpose)", "2 cups of water", "1/4 cup of thinly sliced pimento-stuffed olives", "4 tbsp vegetable oil", "3 tbsp tomato paste", "3 tbsp rum (dark)", "2 tsp salt", "2 tsp tabasco", "2 tsp sugar", "2 lbs. cut into 1" pieces beef chucks (Boneless)", "2 cloves of minced garlic", "2 large chopped onions", "2 chopped bell peppers", "14 oz chopped whole tomatoes with juice", "1 Turkish bay leaf", "Steamed white rice (optional)" ] } ], "instructions": [ "In a small bowl, combine the pepper, salt, and flour.", "In a saucepan, heat the oil.", "While the oil is heating, cover the beef with the flour mix then place it in the pan with oil to brown on all sides. Once brown, remove from the pan", "In the same pan where you cooked the beef, add in garlic bell peppers, and onion.", "In a separate bowl, mix water and the tomato paste.", "Add the tomato juice in the onion pan together with sugar, Tabasco, bay leaf and the tomato and water mixture. Place the beef into the mixture.", "Let it simmer and stir frequently. Occasionally check whether the meat is already tender.", "Pour in the olives and rum. Let it simmer for another 10 minutes.", "Add salt and pepper seasoning and remove the bay leaves.", "Serve with freshly steamed rice on the side." ], "author": "" }
- Assistantjson
{ "data": "WWW" }