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": "Eggs Rabona Fried Bread Sandwiches", "description": "A traditional rabona is a fried bread sandwich-you fry the bread in oil before building your sandwich. While tasty, though, these sandwiches are rarely memorable. This recipe marries the concept of a rabona with a delicious melted/fried cheese technique, creating an inside-out grilled cheese sandwich experience.", "subtitle": null, "ingredients": [ { "section": "Vegetable Salad", "ingredients": [ "1½ cups (375 mL) diced cucumber", "1½ cups (375 mL) diced red onion", "1½ cups (375 mL) diced tomatoes", "1/4 cup (60 mL) cilantro leaves", "1 Thai red chili pepper, sliced", "Juice of 1 lime", "½ teaspoon (2 mL) salt", "½ teaspoon (2 mL) black pepper" ] }, { "section": "For Serving", "ingredients": [ "1 batch Spicy Mayo (see this page)", "8 slices of your favourite soft bread", "2 cups (500 mL) finely shredded mozzarella cheese, divided", "2 tablespoons (30 mL) canola oil", "4 large eggs" ] } ], "instructions": [ "In a large bowl combine the cucumber, red onion, tomato, cilantro, chili pepper, lime juice, salt, and pepper.", "Toss to mix, then set the salad aside to allow the flavours to mingle.", "Spread the Spicy Mayo on one side of each slice of bread.", "Heat a large non-stick frying pan over medium heat. For each toast, sprinkle 1/4 cup (60 mL) mozzarella into the frying pan in an even layer about the same size as your bread, making as many cheese layers as will fit in your pan.", "When the cheese has melted, place a slice of bread, Spicy Mayo side up, on top of each portion of cheese and fry for 2 minutes, or until crispy and golden brown.", "Flip the bread so that the crunchy, cheesy layer is on top. Fry the second side for 2 minutes, or until crispy brown.", "Transfer to a plate and repeat with the remaining cheese and bread.", "In a medium frying pan, heat the canola oil over medium-high heat. Crack the eggs into the pan and turn the heat down to medium. Cook the eggs sunny side up for about 5 minutes.", "To assemble, place a slice of fried bread, cheesy side down, on each plate.", "Drain the Vegetable Salad, then divide it evenly among the four sandwiches.", "Complete each sandwich with a second piece of fried bread, cheesy side up, and top with a sunny-side-up egg." ], "author": null }
- Assistantjson
{ "data": "WWW" }