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": "Creamy Mixed Vegetables", "description": "This simple dish is so easy to prepare and so delicious - sure to pamper your palate. Serve with Sizzling Lamb Steaks (see page 61), Masala Roast Chicken (see page 72) or just on its own.", "subtitle": null, "ingredients": [ { "section": "For the recipe", "ingredients": [ "1 large potato, peeled and cut into 2-3cm chunks", "1 sweet potato, peeled and cut into 2-3cm chunks", "1 large carrot, peeled and cut into 2-3cm chunks", "1 corn on the cob, cut into 3 pieces", "50g frozen peas", "40g butter", "1 teaspoon garlic paste", "3 tablespoons brown sugar", "1 teaspoon ground black pepper", "1 tablespoon chilli flakes", "1 teaspoon dried mixed herbs", "½ teaspoon salt", "100ml single or double cream" ] } ], "instructions": [ "Place the potato, sweet potato, carrot, corn and peas in a steamer and cook for 20 minutes or until just tender with a slight bite to them.", "Do not overcook or they will become mushy.", "Alternatively, cook the vegetables in a saucepan of boiling water if you prefer.", "Melt the butter in a saucepan on a low heat and add the garlic paste, sugar, black pepper, chilli flakes, mixed herbs, salt and cream.", "Gently simmer the sauce for 8-10 minutes until nice and creamy.", "Add the vegetables to the sauce and stir together." ], "author": null }
- Assistantjson
{ "data": "WWW" }