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": "Chili-Bean Oil", "description": "The inspiration for this recipe comes from Andrea Nguyen's always delightful and enlightening website Viet World Kitchen, and was originally published in Barbara Tropp's China Moon Cookbook. Fermented black beans are such a particular, umami-rich flavor, that this is the oil to use when you want to add something unexpected.", "subtitle": null, "ingredients": [ { "section": "For the recipe", "ingredients": [ "2 tablespoons fermented black beans", "3 tablespoons red pepper flakes", "1 tablespoon grated fresh ginger", "½ cup neutral-tasting oil", "1 tablespoon toasted sesame oil" ] } ], "instructions": [ "Place the fermented black beans in a small bowl and cover with cold water.", "Let stand for 20 minutes, then drain and rinse.", "Blot dry with a paper towel, then coarsely chop.", "Combine the beans in a small skillet or saucepan with the red pepper flakes, ginger, and neutral-tasting and sesame oils, and place over medium-low heat.", "Once the oil starts sizzling, watch closely and adjust the heat as necessary to maintain a gentle simmer.", "Cook for 10 to 15 minutes, gently stirring periodically until the ginger is golden brown but not burnt, and some of the frothing has subsided.", "Remove from the heat and let cool completely.", "Transfer to a glass jar and store in a dry, cool space.", "The oil will keep for up to 2 months." ], "author": null }
- Assistant
{ "data": "CN" }