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": "Chorizo Burgers", "description": null, "subtitle": null, "ingredients": [ { "section": "For the recipe", "ingredients": [ "350g chorizo cooking sausages", "250g minced pork", "4 ciabatta (or panini) buns", "salad leaves" ] }, { "section": "Morcilla burger", "ingredients": [ "350g soft morcilla", "soft, white baps or sourdough buns" ] }, { "section": "Pork, juniper. Breakfast sausage", "ingredients": [ "650g pork sausage meat", "6 juniper berries", "half a teaspoon of fennel seed", "oregano, thyme or ground bay (optional)" ] } ], "instructions": [ "Remove the skin from 350g chorizo cooking sausages and discard.", "Put the meat in a mixing bowl, add 250g minced pork and mix well.", "Split the mixture into 4 and roll into balls.", "Pat each one into a thick patty, about the diameter of a digestive biscuit.", "Get a non-stick frying pan hot, add a very thin film of oil, then place the burgers in the pan.", "Let them cook till lightly browned on the underside, then flip and cook the other side, adjusting the heat accordingly so they cook through to the middle.", "Be gentle, lest they break up.", "Split 4 ciabatta (or panini) buns open, partially fill with salad leaves, then a chorizo burger.", "Instead of chorizo, mix 350g soft morcilla with the pork opposite. Split into 4 and pat into thick burgers. Fry, then stuff into soft, white baps or sourdough buns.", "Use 650g pork sausage meat taken from good, herby breakfast sausages. Grind 6 juniper berries and half a teaspoon of fennel seed in a pestle and mortar, then stir into the sausage meat. You could include a few herbs, such as oregano, thyme or ground bay. Shape into 4 thick, flat patties and cook as opposite. Fill the buns with a fennel salad or a tomato and cucumber salsa." ], "author": null }
- Assistantjson
{ "data": "ES" }