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": "MINI PARTY SAUSAGE ROLLS", "description": "Even though I only recently added this savoury bake to my blog, these beauties have been insanely popular and 100% deserve a place in this book. I have always loved a mini sausage roll and as the name suggests, they're great for a party! The charm of these is that you can prep them in advance, freeze and then bake just before your event. I flavour the sausagemeat with some simple but delicious spices for the best results - I hope you love them as much as I do.", "subtitle": null, "ingredients": [ { "section": "For the recipe", "ingredients": [ "400g sausagemeat", "2 garlic cloves, crushed", "½ tsp chilli flakes (optional)", "1 tsp mixed herbs", "Pinch of salt and pepper", "65ml water", "Plain flour, for dusting", "350g ready-made puff pastry", "1 egg, beaten" ] } ], "instructions": [ "Preheat the oven to 210°C/190°C fan and line two large baking trays with parchment paper.", "In a large bowl, add the sausagemeat, garlic, chilli flakes, mixed herbs, salt and pepper and the water and mix together.", "Alternatively, add to a food processor and blitz together until smooth and combined.", "On a lightly floured work surface, roll out the pastry into a rectangle until it is about 35 x 23cm in size and cut down the middle to give two long lengths.", "Spread half of the sausagemeat mixture 1cm in from one of the long edges along one length of the pastry.", "Repeat with the other half of the sausagemeat and pastry.", "Fold the pastry over on each strip, covering the sausagemeat with pastry.", "Seal where the pastry meets, using a pastry brush dipped in the beaten egg.", "Once both lengths of pastry are rolled and sealed, cut each roll into 12 pieces (24 in total).", "Place the sausage rolls onto the lined baking trays, with each sitting on the sealed side of the pastry.", "Brush the top of each sausage roll with more beaten egg and bake in the oven for 28-32 minutes until the pastry has puffed up nicely and the meat has cooked through.", "Cool for 10 minutes and then enjoy hot, or cool completely and enjoy chilled straight from the fridge." ], "author": null }
- Assistantjson
{ "data": "WEU" }