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 CILBIR", "description": "Ky made this dish for me, and I was blown away. Poached eggs served in yogurt with some pita and a refreshing cucumber salad. It sounds so simple, yet the little hits of acid and spice all come together in a delicious, different dish.", "subtitle": "Turkish food is not really top of mind when thinking up brunch ideas. However, sometimes the most unexpected inspirations end up being the best.", "ingredients": [ { "section": "Cucumber Salad", "ingredients": [ "1 cup (250 mL) diced cucumber", "1/4 cup (60 mL) diced red onion", "1 tablespoon (15 mL) olive oil", "1½ teaspoons (7 mL) white vinegar", "1/4 teaspoon (1 mL) harissa", "Salt and black pepper" ] }, { "section": "Spicy Clarified Butter", "ingredients": [ "1 cup (250 mL) unsalted butter", "1 clove garlic, smashed", "2 tablespoons (30 mL) harissa", "1 tablespoon (15 mL) cayenne pepper" ] }, { "section": "For Serving", "ingredients": [ "1 cup (250 mL) plain Greek yogurt", "½ cup (125 mL) cream cheese, at room temperature", "Juice of 1 lemon", "1 tablespoon (15 mL) canola oil", "½ cup (125 mL) sliced leek (white and pale green part only)", "4 pitas", "8 poached eggs (see this page)" ] } ], "instructions": [ "KOOKY FOR CUCUMBERS\nIn a small bowl combine the cucumber, red onion, olive oil, vinegar, and harissa; stir well. Season with salt and pepper and set aside.", "JUST A BIT OF BUTTER, PROMISE\nMelt the butter in a small saucepan over medium heat and bring to a simmer. As the butter simmers, use a ladle to skim off the white froth that forms on the surface. What you are left with is clarified butter. Turn the heat down to medium-low and add the garlic, harissa, and cayenne pepper. Allow everything to simmer for 4 minutes. Pour the seasoned butter through a fine-mesh strainer and collect the clear, red butter in a bowl. Set aside.", "In a food processor combine the yogurt, cream cheese, and lemon juice and purée.", "Heat the canola oil in a small frying pan over medium-high heat and fry the leeks for 2 to 3 minutes, until crispy.", "ALL POACHED UP\nTo assemble, toast the pitas. Spoon 1/2 cup (125 mL) of the yogurt mixture onto each of 4 plates and use the back of a large spoon to swirl it around the plate in a clockwise motion. Top each plate with 2 poached eggs, a drizzle of Spicy Clarified Butter, and a sprinkling of fried leeks. Serve the toasted pitas and Cucumber Salad on the side." ], "author": null }
- Assistantjson
{ "data": "TR" }