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": "Shellfish Platter with Rice", "description": "A dish inspired by the poignant film Grave of the Fireflies, this shellfish platter with rice represents a fleeting moment of joy and sustenance for the main characters. Experience a simple yet flavorful combination of fresh seafood, aromatic vegetables, and fluffy rice, a meal that evokes both heartwarming and bittersweet emotions.", "subtitle": null, "ingredients": [ { "section": "For the marinade", "ingredients": [ "3 tablespoons soy sauce", "2 tablespoons mirin", "1 tablespoon sesame oil", "1/2 lemon, juiced", "1 teaspoon white miso paste", "3 cloves garlic" ] }, { "section": "For the shellfish", "ingredients": [ "1 1/2 ounces steamer clams", "1 1/2 ounces whelks", "15 ounces cockles or littleneck clams", "Salt" ] }, { "section": "For the recipe", "ingredients": [ "2/3 cup uncooked rice", "1 onion", "2 green onions", "1 tablespoon olive oil" ] } ], "instructions": [ "Add the soy sauce, mirin, sesame oil, lemon juice, and white miso paste to a mixing bowl.", "Thinly slice the garlic and stir it into the marinade; set aside.", "Rinse the shellfish and place it in a large bowl of water for 5 to 10 minutes.", "Boil 3 cups of water in a saucepan.", "Drain the shellfish, add it to the saucepan, pour in enough water to cover it, and salt.", "Cook for 10 minutes, and drain again.", "In a separate saucepan, cook the rice for 15 minutes.", "Slice the onion and green onions into rounds.", "Heat a pan, and then add the olive oil.", "Add the shellfish to the pan and pour the marinade over the top.", "Fry.", "Add the onion and green onion.", "Cover the pan and simmer for 10 minutes over low heat.", "Serve the rice on plates alongside the shellfish." ], "author": null }
- Assistant
{ "data": "JP" }