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": "Shrimp Tempura from Poppy Hill", "description": "In the 2001 film From Up on Poppy Hill, Umi makes shrimp tempura that sound light and crispy. These tasty Japanese delicacies are generally fried in sesame oil. They can be enjoyed by themselves or served in a noodle soup called tempura udon.\nTempura is not always made with shrimp; it is also commonly prepared with vegetables and a wide variety of fish and seafood. Although this Japanese specialty was originally inspired by a recipe introduced by Portuguese sailors, it features a uniquely light, crispy coating of fried wheat flour (called tenkasu). The way Umi calmly moves the tempura around in the boiling oil with her chopsticks demonstrates her maturity and her comfort with cooking.", "subtitle": null, "ingredients": [ { "section": "For the recipe", "ingredients": [ "Sesame oil for frying (or other frying oil of choice)", "10 raw shrimp", "1 egg", "3/4 cup cold water", "1 cup flour", "Panko breadcrumbs" ] } ], "instructions": [ "Heat the frying oil in a deep pan. While the oil is heating, peel the shrimp and beat together the egg and cold water in a bowl. Sift the flour onto a plate, and pour the breadcrumbs onto a separate plate.", "Roll each shrimp in flour, hold them by the tail to dip them in the beaten egg, and then roll them in the breadcrumbs.", "Drop the shrimp into the hot oil and fry them on both sides. The breading should be golden brown on each side." ], "author": null }
- Assistant
{ "data": "JP" }
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.