Goal L'objectif est d'identifier l'origine d'une recette de cuisine et de retourner un…
- User
Goal L'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 Tu dois renvoyer 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": "Grilled Mirin-and-Cognac-Marinated Redfish", "description": "I'VE BEEN FISHING since I was playing with Tonka trucks; it's a part of who I am. I still love it to this day, and it's a joy to pass that on to my girls. My second-oldest loves to cook with mirin and miso. With this dish, the sweetness of the mirin brings out the natural sweetness of the redfish. White miso is milder than regular miso, so it doesn't overpower a delicate fish like this. Salty and sweet with a splash of cognac on the back end to spice everything up.", "subtitle": "", "ingredients": [ { "section": "Pour la recette", "ingredients": [ "½ cup mirin", "½ cup cognac", "1 cup white miso paste", "2/3 cup sugar", "12 (11- to 2-inch-thick) redfish fillets (about 6 ounces each)", "Vegetable oil" ] } ], "instructions": [ "1. In a small saucepan, bring mirin and cognac to a boil over medium heat. Whisk in miso until dissolved, then whisk in sugar. Reduce heat to low, and cook until sugar is dissolved. Remove from heat, and let cool completely.", "2. Place fish in a large baking dish, and pour marinade over top, turning the fish to coat completely. Cover and chill overnight.", "3. Prepare and preheat a smoker to 400°F. Brush grill grates with a little vegetable oil. Remove fish from marinade and allow excess marinade to drip back into the dish. Discard marinade. Place fish in smoker, skin sides down; cover and cook for 6 minutes. Flip fish, and grill until flaky, 4 to 6 minutes.", "4. Remove from grill, cover with foil, and let rest for 5 minutes before serving." ], "author": "MARSEUSE" }
- Assistant
{ "data": "WWW" }