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": "Creamy Butternut Squash Soup with Apples and Pork", "description": "Butternut squash soup makes for a rich, creamy soup on its own but can also take on an array of hearty toppings. To simplify the cooking process, large chunks of squash are parcooked in the microwave and drained while a crispy topping of ground pork seasoned with fennel, garlic, and shallot is cooked. The squash is then caramelized in the pork's rendered fat before deglazing and pureeing the soup. Fresh apple matchsticks add a contrasting crunch and sweetness.", "subtitle": "", "ingredients": [ { "section": "For the recipe", "ingredients": [ "1½ pounds butternut squash, peeled, seeded, and cut into 2-inch pieces (3 cups)", "4 ounces ground pork", "1 large shallot, minced, divided", "1 garlic clove, minced", "½ teaspoon ground fennel seeds", "¼ teaspoon table salt", "1 tablespoon unsalted butter", "2 cups chicken broth", "1 sprig fresh thyme", "½ apple, cored and cut into 2-inch-long matchsticks" ] } ], "instructions": [ "Microwave squash in covered bowl until paring knife glides easily through nesh, about 10 minutes, stirring once halfway through.", "Carefully transfer squash to colander set in bowl (squash will be very hot) and let drain for 5 minutes, reserving any liquid.", "Meanwhile, break up ground pork into small pieces in bowl, then stir in half of shallot, garlic, fennel, and salt until well combined.", "Melt butter in large saucepan over medium heat.", "Pinch off 12-inch-size pieces of pork mixture into saucepan and cook, stirring gently, until pork is golden brown, 2 to 4 minutes.", "Using slotted spoon, transfer pork to bowl.", "Pour off all but 1 teaspoon fat from saucepan. (If necessary, add oil to equal 1 teaspoon.)", "Add drained squash and remaining shallot and cook over medium-high heat, stirring occasionally, until squash begins to break down and fond forms on bottom of pot, 5 to 7 minutes.", "Add reserved squash liquid, broth, and thyme, scraping up any browned bits with wooden spoon.", "Bring to simmer and cook over medium heat until favors meld, about 5 minutes.", "Discard thyme sprig.", "Process soup in blender until smooth, about 1 minute.", "Return soup to clean saucepan and bring to brief simmer, adjusting consistency with hot water as needed.", "Season with salt and pepper to taste.", "Divide soup among individual serving bowls then top with pork and apple.", "Serve." ], "author": "" }
- Assistantjson
{ "data": "WWW" }