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": "Shrimp and Grits Bowl", "description": "A staple of the Southern table, grits are a great addition to any meal; we wanted to combine cheesy grits with plump shrimp for an easy weeknight dinner. We preferred quick grits to instant or old-fashioned for their creamy yet substantial texture. A mixture of broth and milk gave the grits a satisfying richness.", "subtitle": "Serves 2 | Calories per Serving: 720", "ingredients": [ { "section": "For the recipe", "ingredients": [ "½ cup fresh or frozen corn kernels", "3 tablespoons unsalted butter, divided", "1 small onion, chopped fine", "1 garlic clove, minced", "1½ cups chicken or vegetable broth", "½ cup whole milk", "½ cup quick grits", "2 ounces extra-sharp cheddar cheese, shredded (½ cup)", "⅛ teaspoon chipotle chile powder", "1 recipe Chipotle Shrimp (this page), warmed", "1 scallion, sliced thin" ] } ], "instructions": [ "1. Microwave corn in bowl until tender, about 1 minute; set aside until ready to serve.", "Melt 1 tablespoon butter in medium saucepan over medium heat. Add onion and cook until softened, about 5 minutes. Stir in garlic and cook until fragrant, about 30 seconds. Stir in broth and milk and bring to simmer. Slowly whisk in grits, reduce heat to low, and cook, stirring often, until grits are thick and creamy, 5 to 7 minutes. Off heat, whisk in cheese then season with salt and pepper to taste; cover and set aside until ready to serve.", "2. Melt remaining 2 tablespoons butter in 8-inch skillet over medium heat. Cook, swirling constantly, until butter is golden brown and has nutty aroma, about 2 minutes. Off heat, whisk in chipotle chile powder. Divide grits among individual serving bowls then top with shrimp, corn, and chipotle butter. Sprinkle with scallion. Serve." ], "author": null }
- Assistantjson
{ "data": "WNA" }