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": "PÂTÉ EN CROÛTE", "description": "Découvrez le délice du pâté en croûte, une recette raffinée à base de viande de volaille et de foie gras, parfaite pour impressionner vos invités.", "subtitle": "Made with Chicken and Duck Foie Gras", "ingredients": [ { "section": "Pour la recette", "ingredients": [ "500G 1 POUND 2 OUNCES (4 CUPS) FLOUR", "250G 8.82 OUNCES (2 STICKS PLUS 2 TABLESPOONS) BUTTER", "10G 0.35 OUNCE (1 1/2 TEASPOONS) SALT", "FRESHLY GROUND PEPPER", "65G 2.29 OUNCES (1/4 CUP PLUS 1 TEASPOON) EGG (1 MEDIUM-SIZE EGG)", "400G 14.11 OUNCES GUINEA FOWL FILLET", "400G 14.11 OUNCES CHICKEN FILLET", "400G 14.11 OUNCES DUCK FILLET", "400G 14.11 OUNCES DUCK FOIE GRAS", "16G 0.56 OUNCE (2 3/4 TEASPOONS) SALT", "8G 0.28 OUNCE (1 1/2 TEASPOONS) CURING SALT", "10ML PORT WINE", "3G 0.11 OUNCE (3/4 TEASPOON) SUGAR", "2G 0.07 OUNCE (1 TEASPOON) FRESHLY GROUND PEPPER", "FLOUR FOR DUSTING", "1 EGG WHITE" ] } ], "instructions": [ "MAKE THE BASIC (SHORTCRUST) PASTRY DOUGH", "In a mixer fitted with a paddle attachment, mix the flour and butter with the salt and pepper until crumbly.", "Add 90ml - 1/3 cup plus 1 tablespoon water and the egg, and continue mixing until the mixture forms a smooth dough.", "Reserve at room temperature.", "MAKE THE FILLING", "Cut each fillet into a 1cm - 3/8 inch dice and the foie gras into 1.5cm 5/8 inch dice.", "Combine the meat with the salts and Port wine.", "Add the sugar and pepper, and mix.", "Set aside* in the refrigerator.", "FINISHING", "Preheat the oven to 150°C - 300°F (gas mark 2) on the convection (fan) setting.", "Line a 20 x 20cm - 8 x 8 inch baking frame with the dough.", "Save a little dough to make a cover.", "Bake the pastry for 35 to 40 minutes.", "Set aside to cool.", "Mix the filling with the egg white.", "Fill the pastry-lined frame with the filling and cover with a thin sheet of dough.", "Refrigerate for 1 hour.", "Increase the oven temperature to 180°C - 350°F (gas mark 4) and bake for 10 minutes, then lower the temperature to 70°C - 160°F (lowest gas mark setting with the door ajar) and cook for another 30 minutes.", "Check the internal temperature with a cooking thermometer, which should read 62°C 144°F.", "Let rest for 20 minutes before refrigerating.", "Refrigerate overnight." ], "author": "Arnaud Nicolas" }
- Assistantjson
{ "data": "FR" }