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": "Halloween Bloody Baked Rats", "description": null, "subtitle": null, "ingredients": [ { "section": "For the recipe", "ingredients": [ "2 pounds ground beef", "½ onion, chopped", "1 egg, beaten", "1 cup dry bread crumbs", "1 (1.25 ounce) packet meatloaf seasoning mix", "1 cup cubed Cheddar cheese", "3 (10 ounce) cans tomato sauce", "1 cup white sugar", "1 tablespoon Worcestershire sauce", "1 ounce uncooked spaghetti, broken into fourths", "½ carrot, cut into 1/8-inch thick slices", "1 tablespoon frozen green peas" ] } ], "instructions": [ "Preheat the oven to 350 degrees F (175 degrees C).", "In a large bowl, combine the ground beef, onion, egg, bread crumbs, and meatloaf seasoning. Use your hands to mix until well blended. Measure out 1/3 cupfuls of the meat mixture and mold around a cube of cheese like a meatball. Shape into a point at one end and lengthen the body a bit by rolling between your hands. Place your "rat" into a shallow baking dish, and continue with the remaining meat. Insert pieces of uncooked spaghetti into the rounded end of the rats to make tails.", "In a medium bowl, stir together the tomato sauce, sugar and Worcestershire sauce. Pour over the rats in the dish and cover the dish with a lid or aluminum foil.", "Bake for 45 minutes in the preheated oven. Uncover the dish and continue to bake for another 20 to 30 minutes, basting occasionally with the sauce to glaze the rats.", "While the rats finish baking, heat the peas and carrots in a small bowl in the microwave for about 15 seconds.", "Carefully transfer the rats to a serving platter so that their delicate tails don't fall off. Press peas into the pointy end to make eyes, and insert carrot slices to make ears. Spoon some of the tomato sauce around them and serve." ], "author": null }
- Assistantjson
{ "data": "WWW" }