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": "WTF Caesar", "description": "Okay, so I'm a bit of a hypocrite. With the OG Caesar (this page) I'm telling you how much I love a classic brunch cocktail, and the next the thing\nyou know, we're making the over-the-top version. Truth be told, serving this drink with a small beer chaser is fantastic. A nice lager or a pilsner\nreally does balance the spiciness of the Caesar. The spicy elements in this recipe can be adjusted to your taste, but let's be honest: a Caesar has\nto have a little kick. Otherwise it's just a clam cocktail... blah.", "subtitle": "It's the drink that's a meal", "ingredients": [ { "section": "WTF Skewer", "ingredients": [ "3 ounces (85 g) smoked chorizo sausage, cut into 1-inch (2.5 cm) chunks", "3 slices bread and butter pickles", "3 pickled peperoncini peppers" ] }, { "section": "The Caesar", "ingredients": [ "1 lemon wedge", "1 tablespoon (15 mL) Old Bay seasoning", "1½ ounces (45 mL) tequila blanco", "1 cup (250 mL) Clamato (or tomato juice)", "1 ounce (30 mL) bread and butter pickle brine", "1 ounce (30 mL) peperoncini brine", "2 teaspoons (10 mL) Worcestershire sauce", "½ teaspoon (2 mL) sambal oelek", "½ teaspoon (2 mL) Dijon mustard" ] } ], "instructions": [ "Alternately thread the sausage, pickles, and peppers onto a wooden skewer.", "Use the lemon wedge to run around the rim of a pint glass.", "Pour the Old Bay seasoning into a small dish\nand roll the rim of the glass in the seasoning to coat.", "Fill a cocktail shaker halfway with ice and add the tequila, Clamato, pickle brine, pepper brine,\nWorcestershire sauce, sambal oelek, and mustard.", "Shake until the exterior is frosty, about 10 solid shakes.", "Pour the contents of the shaker into the rimmed glass and garnish with the WTF Skewer." ], "author": "" }
- Assistantjson
{ "data": "CA" }