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": "Pea and Watercress Soup, Prawn Soldiers", "description": null, "subtitle": "Sweet pea soup, crisp prawn toasts", "ingredients": [ { "section": "For the recipe", "ingredients": [ "peas", "watercress", "prawns", "baguette", "vegetable stock", "2 medium shallots", "a little oil", "500g (podded weight) fresh peas", "1 litre vegetable stock", "a bunch of watercress", "150g shelled prawns", "50g butter", "black pepper", "a pinch of ground mace", "a small baguette" ] } ], "instructions": [ "Peel 2 medium shallots and chop them quite finely, then let them cook in a little oil over a moderate heat, till they are soft and translucent.", "Tip in 500g (podded weight) fresh peas then 1 litre vegetable stock.", "Stir and leave to simmer for 5 minutes.", "Put most of the peas and the liquid into a food processor or blender and blitz till smooth.", "Add a bunch of watercress and continue processing till smooth, then return to the rest of the soup.", "Making it this way will give you a lightly-textured soup, more interesting than a totally smooth one.", "Check the seasoning.", "For the prawn soldiers, roughly chop 150g shelled prawns.", "Cube 50g butter and mash the chopped prawns into it.", "Season with black pepper and a pinch of ground mace.", "Thinly slice a small baguette.", "Spread the prawn butter on to the bread and bake for 10 minutes at 200°C/Gas 6, or cook under an overhead grill if you prefer.", "Serve with the hot soup." ], "author": null }
- Assistantjson
{ "data": "FR" }