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": "Cod with Peppers and Tomatoes", "description": "", "subtitle": "The quickest way to prep a bell pepper? Stand it upright on a cutting board, then slice down each of the four "sides." You'll be left with\npieces that are ready for slicing-and the stem and seedy core that can be tossed.", "ingredients": [ { "section": "For the recipe", "ingredients": [ "2 medium yellow bell peppers, sliced", "3 medium shallots, sliced", "3 cloves garlic, minced", "1 can (14.5 ounces) Whole30-compliant diced tomatoes", "4 cod fillets (5 to 6 ounces each)", "¼ teaspoon salt", "¼ teaspoon black pepper", "1 tablespoon chopped fresh flat-leaf parsley", "1 tablespoon Whole30-compliant capers, drained", "1 teaspoon grated lemon zest", "1 tablespoon extra-virgin olive oil" ] } ], "instructions": [ "IN a 3½- to 4-quart slow cooker, combine the bell peppers, shallots, garlic, and tomatoes. Cover and cook on low for 4 to 5 hours or on high for 2 to 2½ hours.", "IF on low, turn the slow cooker to the high setting. Place the fish fillets on the sauce. Sprinkle with the salt and pepper. Cover and cook just until the fish starts to flake with a fork, 30 to 40 minutes.", "TOP the cod with the parsley, capers, lemon zest, and olive oil, and serve.", "INSTANT POT VARIATION In a 6-quart Instant Pot, combine the bell peppers, shallots, garlic, and tomatoes. Place the fish on the vegetables. Sprinkle with the salt and pepper. Lock the lid in place. Select Manual, adjust to Less/Low, and cook for 3 minutes. Use natural release for 2 minutes, then quick release. Continue with the remaining serving directions." ], "author": "" }
- Assistant
{ "data": "WWW" }