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": "Peruvian Home Fries", "description": "From the farmers' market to the supermarket, the sultry blue potato is coming out of hiding and staking its claim on produce shelves. Blue potatoes can sometimes be purple potatoes and vice versa, but don't worry about all that; if it looks even remotely like a black eye, you can call it a blue potato.\nHere we take the traditional North American home fry and give it a Latin American spin. Colorful red onion and red bell peppers, aromatic coriander seeds, and a little heat from red pepper flakes make these Peruvian natives the perfect sidekick to Courico Tacos with Grilled Pineapple Salsa (page 73), an Omelet Rancheros (page 16), or any Latin-inspired spread.", "subtitle": null, "ingredients": [ { "section": "For the recipe", "ingredients": [ "2 pounds blue potatoes cut in 3/4-inch pieces", "3 tablespoons vegetable oil, divided", "2 teaspoons coriander seeds, crushed", "½ teaspoon red pepper flakes", "1 red bell pepper, seeded, cut into ½-inch wide, inch-long pieces", "1 medium red onion, cut into ½-inch wide, inch-long pieces", "3/4 teaspoon salt", "Cilantro for garnish (optional)" ] } ], "instructions": [ "Place potatoes in a pot and cover with cold water.", "Cover the pot and bring to a boil.", "Once boiling, turn heat down to simmer and cook for about 10 to 12 more minutes-they should be thoroughly cooked but still firm.", "Drain well.", "Preheat a large, heavy-bottomed skillet over medium-high heat.", "Add 2 tablespoons oil and let the oil get hot.", "Add the coriander seeds, red pepper flakes, and potatoes.", "Flip them around with a spatula to coat in oil.", "Let them cook undisturbed for about 5 to 7 minutes; they should be lightly browned. If not then bring the heat up a bit.", "Toss them and let cook for 10 more minutes, flipping occasionally to brown all sides. They won't all get browned and crispy; just do your best.", "Add the peppers, onions, and salt, plus another tablespoon of oil, and cook for 5 to 7 more minutes, stirring often, until onions and peppers are cooked.", "Garnish with fresh cilantro if you like." ], "author": null }
- Assistantjson
{ "data": "PE" }