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": "Seared Scallops with Ginger-Blueberry Sauce", "description": null, "subtitle": null, "ingredients": [ { "section": "FOR THE GINGER-BLUEBERRY SAUCE", "ingredients": [ "1 cup fresh or frozen blueberries", "1½ teaspoons finely chopped fresh ginger", "1/4 teaspoon salt" ] }, { "section": "FOR THE SCALLOPS", "ingredients": [ "34 pound sea scallops, patted dry", "1/2 teaspoon salt", "1/2 teaspoon black pepper", "3 tablespoons cooking fat" ] } ], "instructions": [ "TO MAKE THE GINGER-BLUEBERRY SAUCE: Defrost your blueberries (if necessary), then combine with 1 cup of water in a small saucepan over medium-high heat.", "Let the mixture reach a boil, then add the ginger and salt.", "Reduce the heat to medium and cook for 5 minutes, letting the blueberries burst and release their juice and the ginger steep.", "The sauce can be left chunky, but it looks prettier if you blend it in a food processor or with an immersion blender to a smooth consistency.", "Just return it to the pan after blending to keep warm.", "TO MAKE THE SCALLOPS: Season both sides evenly with the salt and pepper.", "Heat the cooking fat in a large skillet over medium-high heat.", "When the fat is hot, add the scallops in a single layer (you may need to cook them in batches).", "Cook until the scallops begin to pull away from pan and brown, 2 to 3 minutes.", "Using kitchen tongs, turn the scallops and repeat the searing on the other side, for another 2 minutes.", "TRANSFER the scallops to a serving dish or individual plates.", "Top with ¼ to ½ cup of the blueberry sauce.", "Serve warm or at room temperature." ], "author": null }
- Assistant
{ "data": "WWW" }