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": "Pan-bagnat", "description": "The pan-bagnat is a deliciously Mediterranean sandwich filled with a mix of fresh vegetables, tuna, and quail eggs, perfect for a light meal or a picnic.", "subtitle": "", "ingredients": [ { "section": "Pour la recette", "ingredients": [ "4 flat round wholemeal rolls about 15 cm in diameter", "1 garlic clove", "6 tomatoes", "8 quail eggs", "12 leaves of romaine lettuce", "8 radishes", "1 courgette", "2 spring onions", "1 small celery heart", "1 silverskin onion", "half a yellow pepper", "1 small fennel bulb", "12 pitted Nice olives", "100 g of tuna in oil", "8 fillets of anchovies in oil" ] } ], "instructions": [ "Prepare the bread", "Cut 4 flat round wholemeal rolls about 15 cm in diameter in half through the middle.", "Peel and halve 1 garlic clove and rub each half roll with it.", "Wash 6 tomatoes and cut in half; squeeze gently to collect the juice in a bowl.", "Sprinkle the half rolls with it, then drizzle a little olive oil and a little wine vinegar on top.", "Sprinkle a little sea salt and some freshly ground black pepper.", "Set aside.", "Prepare the quail eggs", "Cook 8 quail eggs in boiling water for 5 minutes.", "Allow to cool, then shell and cut them in half.", "Set them aside.", "Prepare the salad and tomatoes", "Wash and spin 12 leaves of romaine lettuce.", "Cut the half-tomatoes into slices 8 mm thick and cut 12 segments of tomato confit in half.", "Set all this aside.", "Prepare the vegetables", "Clean 8 radishes, 1 courgette, 2 spring onions, 1 small celery heart, 1 silverskin onion, half a yellow pepper and 1 small fennel bulb.", "Slice the radishes and the courgette very finely.", "Cut the spring onions and celery at an angle into 2 mm slices.", "Slice the onion into 2 mm rounds.", "Cut the pepper into strips 2 cm by 2 mm.", "Cut the fennel bulb in half, then cut each half into 2 mm slices.", "Strip the leaves off a small bunch of basil.", "Combine all these vegetables in a large bowl.", "Season with a little olive oil and a little wine vinegar, salt and freshly ground black pepper.", "Then add 12 pitted Nice olives and mix well.", "To finish your pan-bagnats", "Drain 100 g of tuna in oil.", "Drain 8 fillets of anchovies in oil.", "Arrange the tomato rounds, tomato confit and salad leaves on 4 half rolls.", "Spread the vegetable mixture on top.", "Add the whole anchovies, tuna and quail eggs.", "Add freshly ground black pepper.", "Close up the rolls and press gently.", "Let them rest for 10 minutes before serving." ], "author": "" }
- Assistant
{ "data": "FR" }