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": "CALIFORNIA BENNY", "description": "This is the go-to brunch I make for Ky at home, at the cottage, and even at the restaurant, with her personal request for the hollandaise on the side. Always on the side. You'll notice I call for farmhouse bread here, and by that I mean a healthier whole grain bread, as this recipe is a lighter vegetarian option. Feel free to use English muffins or any bread you like, but I really love using a hearty whole grain loaf.", "subtitle": "I consider this the equally cool vegetarian sibling of the Bacon Explosion Benny (this page), seeing as avocado is basically a vegetarian's version of bacon. What really makes this dish stand out is how well the citrus from the guacamole and the pico de gallo pair with the hollandaise sauce.", "ingredients": [ { "section": "Guacamole", "ingredients": [ "4 avocados", "4 teaspoons (20 mL) chopped cilantro", "Juice of 1 lime" ] }, { "section": "For Serving", "ingredients": [ "8 slices whole grain farmhouse bread", "1 batch Pico de Gallo (see this page)", "8 poached eggs (see this page)", "1 batch Hollandaise Sauce (see this page)", "1 jalapeño pepper, sliced, for garnish", "Cilantro leaves, for garnish" ] } ], "instructions": [ "Halve and pit the avocados and squeeze the flesh into a medium bowl.", "Add the cilantro and lime juice and smash with a fork to create a chunky guacamole.", "To assemble, toast the farmhouse bread.", "Place 2 slices on each plate.", "Top each slice with some of the Guacamole and Pico de Gallo, a poached egg, and a spoonful of Hollandaise Sauce.", "Garnish with a jalapeño slice and cilantro leaves." ], "author": null }
- Assistant
{ "data": "WNA" }