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": "Tartines", "description": "With fibre and carbohydrates from the wholemeal bread and vegetables, plant protein and also a little animal protein from the ricotta and parmesan, this is a really well-balanced sandwich. Combine with a yogurt and some fruit, and you have a perfect office lunch.", "subtitle": "", "ingredients": [ { "section": "Pour la recette", "ingredients": [ "8 large slices of wholemeal bread", "1 garlic clove", "1 aubergine", "2 courgettes", "4 sprigs of basil", "100 g of ricotta", "1 tablespoon of grated parmesan", "olive oil", "a handful of wild rocket", "2 tomatoes", "40 g of parmesan" ] } ], "instructions": [ "Cut 8 large slices lengthwise from a wholemeal loaf, and rub them with 1 garlic clove cut in half.", "Wash 1 aubergine and 2 courgettes and cut into slices about 5 mm thick. Brush them lightly with oil, salt and grill for 1 minute on each side. Drain on kitchen paper.", "Chop the leaves of 4 sprigs of basil and mix them in a bowl with 100 g of ricotta, a tablespoon of grated parmesan and a small splash of olive oil.", "Wash a handful of wild rocket and dry well, then remove the stalks.", "Slice 2 tomatoes into rounds then arrange over the 4 tartines with the slices of grilled aubergine and courgettes.", "With a peeler, shave 40 g of parmesan and spread on top.", "Spread the other 4 slices of bread with basil-flavoured ricotta and arrange the wild rocket leaves on top.", "Give a generous twist of freshly ground black pepper and lay the ricotta tartines on top of the slices covered with vegetables.", "Press lightly to hold them together.", "Wrap in cling film until you are ready to eat." ], "author": "" }
- Assistantjson
{ "data": "IT" }