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": "Artichoke and Chicken Soup", "description": null, "subtitle": "Soothing soup for today, risotto for tomorrow.", "ingredients": [ { "section": "For the soup", "ingredients": [ "6 bone-in chicken thighs", "Olive or groundnut oil", "700g Jerusalem artichokes", "2 onions", "25g butter", "Water" ] }, { "section": "For the risotto", "ingredients": [ "35g butter", "200g arborio rice", "Some of the soup", "Vegetable stock (if needed)", "2 reserved cooked chicken thighs", "3 heaped tablespoons of freshly chopped parsley" ] } ], "instructions": [ "Lightly brown 6 bone-in chicken thighs in a little olive or groundnut oil and remove.", "Peel and roughly chop 700g Jerusalem artichokes and 2 onions.", "Put them both in the chicken pan with a little oil.", "Fry for 7-10 minutes till lightly golden, then return the chicken to the pan, add enough water to cover, and bring to a boil and simmer for 30 minutes.", "Remove the chicken, reserve 2 thighs for the risotto tomorrow, then slice the meat from the bones of the remaining thighs.", "Blitz the soup liquid in a food processor or blender.", "Check the seasoning, then add 25g butter, stir and pour into bowls.", "Add the chicken to the bowls.", "Put the soup on to warm.", "Melt 35g butter in a pan.", "Add 200g arborio rice, then slowly stir in the hot soup, bit by bit, as if you were adding stock to a risotto, simmering and stirring for 20 minutes or so.", "Add extra vegetable stock if it appears to be getting too thick, but keep stirring regularly till the rice is al dente.", "Remove the flesh from the 2 reserved cooked thighs, and add to the risotto.", "Stir in 3 heaped tablespoons of freshly chopped parsley." ], "author": null }
- Assistantjson
{ "data": "WWW" }