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é.
1. 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": "Sesame-coated steamed beef patties with coconut condiment", "description": "Sesame-coated steamed beef patties with coconut condiment is a delicious and healthy meal option that brings together a variety of flavors and textures.", "subtitle": "A delightful dish combining flavors and textures.", "ingredients": [ { "section": "Pour la recette", "ingredients": [ "4 white onions", "1 small green pepper", "a splash of olive oil", "400 g of lean minced beef", "4 eggs", "a bunch of flat-leaf parsley", "a bunch of marjoram", "50 g white sesame seeds", "50 g yellow sesame seeds", "1 pack of desiccated coconut (125 g)", "half a glass (100 ml) of semi-skimmed milk", "a very small bunch of mint", "a very small bunch of coriander", "5 shelled walnuts", "3 pinches of Piment d'Espelette", "4 pinches of curry powder", "3 tablespoons of olive oil", "juice of half a lemon", "4 handfuls of baby spinach leaves", "juice of 1 lemon", "salt", "freshly ground black pepper" ] } ], "instructions": [ "Peel 4 white onions and 1 small green pepper and cut into the finest possible slivers.", "Heat a splash of olive oil in a sauté pan and soften the onions for 1 minute.", "Add the pepper, stir, salt and cook until quite soft.", "Chop the leaves from a bunch of marjoram and a bunch of flat-leaf parsley.", "In a bowl, mix 400 g of lean minced beef, 4 eggs, the parsley and marjoram.", "Add the cooked onions and peppers, stir and season to taste.", "Mix 50 g white sesame seeds and 50 g yellow sesame seeds on a plate.", "Take 1 tablespoon of the stuffing and roll it between the palms of your hands, forming a ball about 3 cm in diameter.", "Then roll it in the sesame seeds.", "Prepare the other patties similarly and keep in the fridge until you are ready to cook them.", "In a bowl, combine 1 pack of desiccated coconut (125 g) and half a glass (100 ml) of semi-skimmed milk.", "Stir and leave to swell.", "Take the leaves from a very small bunch of mint and a very small bunch of coriander.", "Crush 5 shelled walnuts.", "Combine in the bowl of the blender and add the coconut soaked in milk, 3 pinches of Piment d'Espelette and 4 pinches of curry powder.", "Blend until the preparation is nice and smooth.", "Warm in a saucepan and add 3 tablespoons of olive oil, stirring vigorously.", "Add the juice of half a lemon (2 required in total for the recipe), season to taste and keep warm.", "Rinse and dry 4 handfuls of baby spinach leaves.", "Season with the juice of 1 lemon, salt and freshly ground black pepper.", "... Put the patties into 4 small bamboo baskets.", "Place them over a pan of boiling water and steam for 5 minutes.", "Then share out the baby spinach leaves in each basket.", "Serve in the baskets, with the coconut condiment in a separate dish." ], "author": "Unknown" }
- Assistant
Pour identifier l'origine de la recette donnée, je vais procéder à l'analyse des ingrédients et instructions à la recherche d'un pays spécifique mentionné dans la recette.
Analyse :
- Les ingrédients incluent des éléments comme "Piment d'Espelette", qui est typiquement associé à la cuisine française, en particulier au Pays Basque. Cela fait que la France (FR) peut être considérée comme un pays pertinent ici.
Résultat :
Étant donné que la France est clairement associée à la recette, je vais retourner le code ISO 3166-1 alpha-2 pour la France.
Voici le format JSON structuré requis :
{ "data": "FR" }