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": "Fillets of red mullet with courgettes and tapenade", "description": "A delightful dish featuring delicate red mullet fillets served atop sautéed courgette strips and garnished with aromatic tapenade. Perfect for a light yet satisfying meal.", "subtitle": "", "ingredients": [ { "section": "Pour la recette", "ingredients": [ "4 red mullet fillets weighting 200 to 250 g", "6 medium courgettes", "3 sprigs of basil", "olive oil", "salt", "freshly ground black pepper", "2 tablespoons of tapenade", "small sprig of thyme", "1 garlic clove" ] } ], "instructions": [ "Get your fishmonger to fillet 4 red mullet weighting 200 to 250 g, and ask him to leave them attached at the tail. Check that there are no bones left in and keep cold.", "Wash and dry 6 medium courgettes. Cut them in half lengthwise then slice each half into long strips with a mandoline slicer, without keeping the pips from the middle.", "Wash and dry 3 sprigs of basil, take off the leaves and crush them.", "Heat a drop of olive oil in a non-stick frying pan and sauté the courgette strips for just 1 minute.", "Add salt and freshly ground black pepper then add the basil and 2 tablespoons of tapenade, mixing very gently.", "Light the oven grill.", "Salt and pepper the inside of the mullet fillets, then lay them on a baking tray.", "Break up a small sprig of thyme on top.", "Slide the baking tray under the grill for just 1 or 2 minutes.", "Peel 1 garlic clove and rub 4 plates with it.", "Arrange the courgettes on the plates and place 1 mullet on top.", "Give a generous twist of freshly ground black pepper and serve immediately." ], "author": "" }
- Assistantjson
{ "data": "FR" }