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": "BALSAMIC-GLAZED SWEET POTATOES AND SALMON", "description": "Even though fish doesn't take long to cook, the slow cooker provides an ideal environment for cooking it. Just 25 minutes sitting on top of sweet potatoes in the gentle, moist heat of the slow cooker renders salmon tender, buttery, and perfectly done.", "subtitle": null, "ingredients": [ { "section": "For the recipe", "ingredients": [ "2 pounds sweet potatoes, peeled and cut into 1-inch pieces", "1 medium red onion, cut into thin wedges", "3 tablespoons balsamic vinegar", "2 teaspoons Whole30-compliant coarse-grain mustard", "1 teaspoon salt", "1½ pounds fresh or frozen salmon fillet, thawed if frozen, skin removed", "½ teaspoon dried thyme", "½ teaspoon ground coriander", "1/4 teaspoon ground ginger", "1/4 teaspoon black pepper" ] } ], "instructions": [ "IN a 6-quart slow cooker, combine the sweet potatoes, onion, ½ cup water, the vinegar, mustard, and ½ teaspoon of the salt. Toss to coat and spread in an even layer. Cover and cook on low for 4 to 5 hours or on high for 2 to 2½ hours, or just until the potatoes are tender.", "RINSE the salmon with cold water; pat dry with paper towels. Cut the salmon crosswise in half. In a small bowl, combine the remaining ½ teaspoon salt, the thyme, coriander, ginger, and pepper. Sprinkle evenly over the salmon.", "TURN the slow cooker to high if using the low setting. Gently stir the potato mixture. Lay the salmon pieces on the potatoes. Cover and cook on high until the salmon flakes easily when tested with a fork, about 25 minutes.", "TRANSFER the salmon to a cutting board; cut into 6 portions. Serve the salmon and potatoes drizzled with some of the cooking liquid." ], "author": null }
- Assistant
{ "data": "WWW" }