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": "Sea bass 'en papillote' with baby leeks, juniper butter and lemon zest", "description": "Sea bass is delicious, meaty and plump, but you could also use pollock, cod or red mullet fillets in this recipe.", "subtitle": "Cooking fish 'en papillote' helps to preserve and even intensify its flavour - which means that the fish must be really fresh to start with.", "ingredients": [ { "section": "The juniper butter", "ingredients": [ "2 teaspoons juniper berries", "50 g/14 oz unsalted butter" ] }, { "section": "The papillotes", "ingredients": [ "12 baby leeks", "4 x 100 g/3½ oz sea bass fillets, skin-on", "fine salt" ] }, { "section": "Finishing off", "ingredients": [ "lemon zest", "fleur de sel" ] } ], "instructions": [ "1-Juniper butter", "Crush then finely chop the juniper berries. Beat the butter until soft, then mix in the juniper berries. Spread half of the juniper butter between 2 sheets of baking parchment, in a layer about 3 mm/% in thick. Chill for 15 minutes, then cut into small discs.", "2 The papillotes", "Lay out 4 sheets of baking parchment, each big enough to wrap a fish fillet, on your work surface. Wash the baby leeks well, then cook for 3 minutes in plenty of boiling salted water. Drain, refresh in cold water and drain again. Divide the leeks between the sheets of baking parchment. Lightly season the fish fillets with salt, place on top of the leeks and cover with the remaining juniper butter. Wrap the baking parchment around the fish, folding the edges together to seal, then bake in an oven preheated to 180°C (350°F; gas mark 4) for 5-7 minutes, depending on the thickness of the fish.", "3-Finishing off and serving", "At the end of the cooking time, open the papillotes. Place a few strips of lemon zest and a little fleur de sel on top of each piece of fish, followed by a disc of juniper butter. Serve immediately." ], "author": "" }
- Assistant
Pour la recette fournie, il n'y a pas de pays spécifiquement mentionné dans le texte. Cependant, le terme "en papillote" est une technique de cuisson qui est souvent associée à la cuisine française. Nous allons donc utiliser le code ISO 3166-1 alpha-2 pour la France (FR) comme origine culinaire.
Voici l'objet JSON structuré conformément aux spécifications :
json{ "data": "FR" }