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": "Cappuccino of corn chowder with morels", "description": "Cooking 25 mins. A delicious and creamy chowder made with sweetcorn and fresh morels, blended to perfection and served with a touch of froth.", "subtitle": "Hot soups", "ingredients": [ { "section": "Pour la recette", "ingredients": [ "1 white onion", "1 large can of sweetcorn", "1 litre of chicken stock", "300 g of fresh morels", "20 g of butter", "500 ml of chicken stock", "50 g of popping corn" ] } ], "instructions": [ "Peel and thinly slice 1 white onion. Melt in a saucepan with a splash of olive oil for 3 minutes without letting it colour.", "Drain and rinse the contents of a large can of sweetcorn and add to the onions. Cook for 5 minutes, stirring.", "Add 1 litre of chicken stock (1.5 litres required in total for recipe (page 10) and cook gently for 20 minutes.", "While the chowder is cooking, remove the bases of 300 g of fresh morels then wash the caps in several changes of warm water until all traces of sand are gone. Dry in a salad spinner.", "Melt 20 g of butter (40 g required in total for recipe) in a frying pan with a drop of olive oil. Roll the morels in this, add salt and sweat for 3 minutes.", "Pour in 500 ml of chicken stock (page 10) and cook for around 20 minutes until the morels are nice and soft.", "In the meantime, heat a frying pan (without fat), put in 50 g of popping corn, cover and let them pop over a high heat.", "When the corn chowder is cooked, blend until perfectly smooth.", "Add the remaining 20 g of butter and the morel cooking liquid.", "Check the seasoning and temperature, and emulsify with a hand blender until light and frothy.", "Pour into a tureen (or soup plates) and spread the morels on top.", "Serve the popcorn separately for people to add to their own bowl." ], "author": "" }
- Assistant
{ "data": "WWW" }