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": "Mozzarella Chorizo Sandwich", "description": null, "subtitle": null, "ingredients": [ { "section": "For the recipe", "ingredients": [ "mozzarella", "chorizo", "ciabatta", "spinach", "130g cooking chorizo", "a large ball of mozzarella (about 150g)", "freshly ground black pepper", "a short ciabatta", "a handful of spinach leaves" ] }, { "section": "Sweet onions", "ingredients": [ "a seriously good pork sausage", "a couple of onions", "butter", "balsamic or sherry vinegar" ] }, { "section": "Sausage and cheese", "ingredients": [ "a pork sausage or two", "fontina, Comté or some other firm variety cheese" ] } ], "instructions": [ "Slice 130g cooking chorizo thickly, across the diagonal, then place the slices in a large, heavy-based frying pan over a medium heat.", "There is no need to use any oil or butter.", "Cook gently for 4-5 minutes, turning halfway through, until the oil begins to escape from the sausage.", "Slice a large ball of mozzarella (about 150g) on top of the chorizo, then carefully spoon some of the oil from the pan over the top.", "Cook for 2-3 minutes to allow the cheese to melt - covering with a lid will help - then season with a few twists of freshly ground black pepper.", "Tear open a short ciabatta, spoon the chorizo and mozzarella inside, then spoon the juices from the pan over the top.", "Again, there is no need to butter the bread as the pan juices will ensure it gets deliciously moist.", "Tuck a handful of spinach leaves inside the ciabatta.", "Give it a good squeeze, allowing all the juices to soak into the bread and the spinach to wilt a little.", "Slice the ciabatta in half and serve immediately.", "Fry or grill a seriously good pork sausage.", "Peel and thinly slice a couple of onions and let them cook in a little butter till truly soft.", "Add a splash of balsamic or sherry vinegar.", "Add to the sausage as you stuff it into a roll.", "Fry or grill a pork sausage or two.", "Slice in half and place cut-side up on a grill pan.", "Place a slice of cheese - fontina, Comté or some other firm variety - on top and grill till it melts.", "Slide into a roll." ], "author": null }
- Assistantjson
{ "data": "ES" }