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": "Courico Tacos with Grilled Pineapple Salsa", "description": "Courico Tacos with Grilled Pineapple Salsa: A chewy, meaty, and spicy taco experience complemented by the sweetness of caramelized grilled pineapple salsa. Inspired by Portuguese chorizo, this recipe combines the unique flavors of soy curls (or seitan), chipotle peppers, and a blend of spices. A must-try for adventurous food lovers.", "subtitle": "A chewy and, dare I say, meaty, spicy taco topped with sweet, caramelized Grilled Pineapple Salsa", "ingredients": [ { "section": "For the courico", "ingredients": [ "2 cups soy curls or 1½ cups seitan", "2 tablespoons olive oil", "1 medium-size yellow onion, diced small", "4 garlic cloves, minced", "2 tablespoons soy sauce", "2 to 6 chipotles in adobe sauce, seeds removed, chopped very thoroughly (almost pulverized)", "2 tablespoons chopped fresh marjoram (or oregano), or 2 teaspoons dried", "4 teaspoons ground cumin", "2 teaspoons mild chili powder", "½ teaspoon anise seed", "½ teaspoon salt", "½ cup red wine", "1 tablespoon sugar", "1 fifteen-ounce can stewed tomatoes", "1 tablespoon apple cider vinegar" ] }, { "section": "To assemble", "ingredients": [ "8 taco shells, steamed, microwaved, or otherwise warmed up", "1 recipe Grilled Pineapple Salsa (page 76)" ] } ], "instructions": [ "Put soy curls in a bowl and cover with warm water.", "Let sit for about 5 minutes, stirring occasionally so that they soak evenly.", "Drain in a colander and gently squeeze them to remove some of the water.", "If using seitan, just skip this step and cut the seitan into bite-size pieces.", "Preheat a large pan over medium heat.", "Sauté the onion in the oil for 5 to 7 minutes, until the onion is translucent.", "Add the garlic, sauté for about another minute.", "Add the soy curls and soy sauce, and turn the heat up.", "Cook for about 5 minutes on high heat, until soy curls get a little browned.", "Add chipotles, marjoram, cumin, chili powder, anise seed, and salt.", "Sauté for another minute.", "Add the wine, sugar, tomatoes, and vinegar.", "Cook for 10 minutes or so on high heat, stirring occasionally, until most of the liquid is absorbed.", "Let sit for at least 10 minutes before serving.", "The courico tastes better the longer it sits, so if you can make this dish an hour before you're ready to serve and then reheat, that would be ideal.", "TO ASSEMBLE", "You can figure this out, right?" ], "author": null }
- Assistantjson
{ "data": "MX" }