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": "Sweet and Spicy Shredded Pork", "description": "Ground chipotle pepper (chipotle powder) provides the heat and smoke-and just a few dates provide the sweetness-to this slow-simmered pork shoulder. Paper-thin slices of jicama serve as fresh and crunchy "tortillas" to serve with the richly flavored meat. You could also serve it over greens for a hearty salad.", "subtitle": null, "ingredients": [ { "section": "For the recipe", "ingredients": [ "1 cup coarsely chopped seeded tomatoes", "1 small onion, cut into thin wedges", "4 pitted unsweetened dates", "1 teaspoon coarse salt", "1 teaspoon garlic powder", "½ teaspoon dry mustard", "½ teaspoon black pepper", "1/4 teaspoon ground cloves", "1/4 teaspoon chipotle powder", "2 pounds boneless pork shoulder, trimmed and cut into 3 portions", "½ cup Whole30-compliant tomato paste", "2 teaspoons Whole30-compliant coarse-grain mustard", "Jicama tortillas (see Tip, page 113)", "Chopped fresh chives or parsley" ] } ], "instructions": [ "PLACE the tomatoes, onion, and dates in a 4-quart slow cooker.", "In a small bowl, combine the salt, garlic powder, dry mustard, pepper, cloves, and chipotle powder.", "Sprinkle the seasoning over the pork pieces; rub in with your fingers.", "Arrange the pork in the cooker over the vegetables.", "Pour ½ cup water over all.", "COVER and cook on low for 9 to 10 hours or on high for 4½ to 5 hours.", "Using a slotted spoon, transfer the pork to a cutting board.", "Using two forks, pull the meat into shreds. Set aside.", "CAREFULLY transfer the cooking liquid to a blender.", "Add the tomato paste and coarse-grain mustard.", "Cover and blend until smooth; pour back into the cooker.", "Add the shredded meat.", "Toss to combine.", "SERVE the pork in jicama tortillas and top with chives or parsley." ], "author": null }
- Assistantjson
{ "data": "WNA" }