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": "Roasted Butternut Squash", "description": "Roasted butternut squash is like a big fluffy blanket on a wet autumn day. There's certainly nothing wrong with just splitting the squash, seeding it, and popping it in the oven. But when I've got the time I really love to peel and cube it; this way the outside is crisp and toasty and the inside is creamy and sweet. I also love to serve this in place of home fries. It tastes especially great alongside Basic Scrambled Tempeh.", "subtitle": null, "ingredients": [ { "section": "For the recipe", "ingredients": [ "1 medium-size butternut squash", "2 tablespoons olive oil", "1/2 teaspoon salt" ] } ], "instructions": [ "Preheat the oven to 375°F.", "Peel the squash, then cut the round part from the long part.", "Cut the round part in half and scoop out the seeds.", "Slice everything into 2-inch to 3/4-inch pieces.", "Line a large baking sheet with parchment paper.", "Spread the squash out in a single layer and drizzle with olive oil.", "The single layer is important because if the baking sheet is overcrowded the squash won't brown, it'll steam and just get mushy.", "Sprinkle with salt and use your hands to coat everything.", "Pop in the oven for about 45 minutes, flipping every 15 minutes or so.", "The squash is done when lightly browned on the outside and tender inside." ], "author": null }
- Assistantjson
{ "data": "WWW" }