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é.
1. 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": "Perfect Grilled Shrimp", "description": "Shrimp may seem intimidating, but they're actually fast and easy to cook. Our recipes all call for large shrimp―these are the kind most commonly found in your supermarket's seafood section, and usually come about 25 to 35 to a pound.", "subtitle": null, "ingredients": [ { "section": "For the recipe", "ingredients": [ "1½ teaspoons garlic powder", "1½ teaspoons garlic salt", "1½ teaspoons dried oregano", "3/4 teaspoon paprika", "3/4 teaspoon black pepper", "2 tablespoons extra-virgin olive oil", "1 pound large shrimp, peeled and deveined" ] } ], "instructions": [ "PREHEAT the grill to high heat (500°F). If using wooden skewers, soak them in water for 30 minutes to 1 hour to prevent them from burning on the grill.", "TO make the rub, combine the garlic powder, garlic salt, oregano, paprika, and pepper in a plastic bag or a large bowl with a lid.", "Mix the spices together, then add the olive oil and the shrimp.", "Close the bag or cover the bowl and toss until the shrimp are well coated.", "REMOVE the shrimp and thread them onto metal or soaked wooden skewers.", "Place the skewers on the grill and grill until the shrimp are seared, 2 to 3 minutes.", "Flip the skewers and cook for an additional 2 to 3 minutes.", "REMOVE the skewers from the grill and serve hot." ], "author": null }
- Assistant
{ "data": "WWW" }