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é.
1. 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": "Cream of parsnip", "description": "A creamy and delicious parsnip soup enhanced with the richness of bacon, perfect for warming up on a cold day.", "subtitle": "Soup with bacon", "ingredients": [ { "section": "Pour la recette", "ingredients": [ "400 g of parsnips", "1 small onion", "1 medium potato", "500 ml of water", "200 ml of semi-skimmed milk", "splash of olive oil", "50 g of smoked bacon", "100 ml of light cream", "small bunch of flat-leaf parsley" ] } ], "instructions": [ "Scrape and rinse 400 g of parsnips and slice thinly.", "Peel 1 small onion and chop roughly.", "Peel and wash 1 medium potato and cut into small chunks.", "Pour 500 ml of water and 200 ml of semi-skimmed milk into a saucepan, then heat.", "Put another saucepan on the heat with a splash of olive oil, and sweat the onion for 1 minute.", "Add the parsnips and a little salt.", "Pour the hot liquid over the onions and parsnip, turn up the heat and bring to a boil.", "Then add the potato and cook for 20 minutes over a medium heat, stirring occasionally.", "Blend until the soup is nice and smooth. Keep it hot in its saucepan.", "While the soup is cooking, cut 50 g of smoked bacon into tiny lardons (5 mm).", "Put them in a small saucepan and cook over a medium heat for 2 to 3 minutes, stirring.", "Add 100 ml of light cream and cook over a low heat, covered, for 10 minutes.", "Rinse, dry, and chop the leaves of a small bunch of flat-leaf parsley.", "Check the heat and seasoning of the soup.", "Transfer the bacon cream into a soup tureen and pour the parsnip soup over it.", "Sprinkle with chopped parsley." ], "author": "" }
- Assistant
{ "data": "GB" }