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": "Bacon Cheese Straws", "description": "As I decided to include my Cheese Pesto Whirls recipe (page 248) in this book without shaping them into the traditional straws, I thought it only right to use the straw method elsewhere, and here it is! A sheet of puff pastry, a little mustard, streaky bacon and a load of cheese... so simple and yet so tasty. These are fun to make with your kids, as it can get a little messy with the cheese falling out, but that is part of their charm. I love to serve these when I have friends over for drinks and snacks, but they are also easy to transport to a birthday party. Equally delicious served warm or chilled, make them ahead of time if you prefer.", "subtitle": null, "ingredients": [ { "section": "For the recipe", "ingredients": [ "Plain flour, for dusting", "350g ready-made puff pastry", "1 tbsp Dijon mustard", "100g mature Cheddar cheese, grated", "14 slices streaky bacon", "Pinch of pepper", "1 egg, beaten" ] } ], "instructions": [ "Preheat the oven to 220°C/200°C fan and line two large trays with parchment paper.", "On a lightly floured work surface, roll out the pastry into a large rectangle until 3-4mm thick.", "Spread the mustard evenly onto the pastry.", "Sprinkle the cheese onto the mustard and press down slightly.", "Lay the slices of bacon on top of the cheese, from long side to long side, leaving a small thin gap between each piece so there is room to cut.", "Sprinkle over some pepper.", "Slice into strips with a sharp knife, using the gaps between the bacon as your guide.", "Twist each strip 4-5 times to create twisted straws and place onto the lined baking trays.", "Chill in the fridge for 30 minutes.", "Using a pastry brush, brush the exposed pastry of each straw with the beaten egg.", "Bake in the oven for 22-26 minutes until golden brown in colour and the bacon is cooked through.", "Leave to cool for 15 minutes and enjoy warm or cool fully and enjoy them cold." ], "author": null }
- Assistantjson
{ "data": "GB" }