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": "Crespeou", "description": "AD Creopeou is a Provençal cake of thin omelettes that look like crepes, hence its name. If you fancy, season with a little balsamic vinegar. Serve with a herb salad.", "subtitle": "Cold omelette", "ingredients": [ { "section": "Pour la recette", "ingredients": [ "12 eggs", "2 sprigs of thyme", "2 sprigs of savory", "20 chive stalks", "leaves of 2 sprigs of marjoram", "2 sprigs of tarragon", "5 sprigs of parsley", "5 sprigs of basil", "100 g of chopped cooked tomatoes", "50 g of tapenade", "olive oil", "salt", "freshly ground black pepper" ] } ], "instructions": [ "Finely chop 2 sprigs of thyme, 2 sprigs of savory, 20 chive stalks, the leaves of 2 sprigs of marjoram, 2 sprigs of tarragon, 5 sprigs of parsley and 5 sprigs of basil.", "Combine them in a bowl, break 4 eggs on top, beat and season with salt and freshly ground black pepper.", "Pour 100 g of chopped cooked tomatoes into another bowl. Break 4 eggs on top, mix together and season.", "Beat 4 more eggs with 50 g of tapenade into a third bowl and check the seasoning.", "Heat a splash of olive oil in a small frying pan (20 cm in diameter).", "Pour in a small ladleful of the egg and tomato mixture to make a very thin omelette. Once cooked lay it on a dish.", "Then cook a small tapenade omelette in the same way, followed by a herb omelette, placing each omelette on top of the previous one.", "Continue in this way until all the egg mix is used up.", "Cover the crespeou with a sheet of greaseproof paper. Place a weight on top and refrigerate until you are ready to serve.", "Serve as it is or cut into sections and arrange them on plates.", "Either way, season with a little sea salt and freshly ground black pepper." ], "author": "" }
- Assistant
{ "data": "FR" }