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 Boil Tacos with Andouille Sausage, Fresh Corn", "description": "This dish was featured at the On the Cob Marketplace stand at Disney California Adventure Food & Wine Festival. A Riesling with a hint of sweetness will cool the spiciness of the andouille sausage.", "subtitle": "Mains and Sides", "ingredients": [ { "section": "SHRIMP BOIL TACO FILLING", "ingredients": [ "1/2 pounds medium shrimp", "2 sticks unsalted butter", "2 tablespoons Old Bay seasoning", "1 tablespoon Cajun seasoning", "1/2 teaspoons paprika", "1/2 teaspoon cayenne pepper", "4 garlic cloves, chopped", "2 links andouille sausage, diced", "kernels from 4 ears fresh corn" ] }, { "section": "TACOS", "ingredients": [ "1 tablespoon canola oil", "12 (4-inch) blue or yellow corn tortillas", "1 bunch cilantro, chopped", "2 limes, cut into quarters" ] } ], "instructions": [ "Peel and devein shrimp. Remove tails and cut shrimp into bite-size pieces.", "Melt butter in large skillet over medium heat. Add Old Bay, Cajun seasoning, paprika, cayenne, and garlic. Cook for 1 to 2 minutes, or until garlic and spices are fragrant.", "Add shrimp and cook 3 to 4 minutes, or until pink and opaque.", "Add sausage and corn and cook for 5 minutes, until heated through.", "Keep warm until ready to serve.", "Carefully heat oil in large skillet until shimmering and add tortillas in batches. Cook for a few seconds on each side, until soft and warm. Drain on paper towels.", "Top fried tortillas with shrimp mixture. Garnish with chopped cilantro.", "Serve with lime wedges." ], "author": null }
- Assistantjson
{ "data": "US" }