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": "Sichuan Stir-Fry Bowl", "description": "This Chinese-style bowl flips the meat and vegetable equation. Instead of starting with meat, we started with Sichuan green beans, a classic Chinese side dish, which we bulked up with hearty brown rice, then added just a little ground pork for protein and flavor. Sichuan peppercorns provide spicy heat and a playful lip- and tongue-numbing effect.", "subtitle": null, "ingredients": [ { "section": "For the sauce", "ingredients": [ "1 teaspoon Sichuan peppercorns", "3 tablespoons water", "2 tablespoons soy sauce", "1 teaspoon sugar", "1 teaspoon toasted sesame oil", "½ teaspoon cornstarch" ] }, { "section": "For the stir-fry", "ingredients": [ "1 teaspoon vegetable oil", "12 ounces green beans, trimmed and halved crosswise", "4 ounces ground pork", "3 garlic cloves, minced", "½-½ teaspoon red pepper takes", "1 (8-ounce) can sliced water chestnuts, drained" ] }, { "section": "For serving", "ingredients": [ "2 cups cooked brown rice (this page), warmed", "¼ cup fresh cilantro leaves" ] } ], "instructions": [ "Process Sichuan peppercorns in spice grinder until coarsely ground, about 30 seconds.", "Whisk ground peppercorns, water, soy sauce, sugar, sesame oil, and cornstarch together in bowl; set aside.", "Heat vegetable oil in 12-inch nonstick skillet over medium-high heat until just smoking.", "Add green beans and cook, stirring frequently, until green beans are shriveled and blackened in spots, 6 to 8 minutes.", "Add pork and cook, breaking up meat with wooden spoon until no pink remains, about 2 minutes.", "Stir in garlic and pepper fakes and cook until fragrant, about 30 seconds.", "Whisk sauce to recombine then add to skillet along with water chestnuts and cook, stirring constantly, until sauce is thickened, about 15 seconds.", "Divide rice among individual serving bowls then top with green bean mixture and sprinkle with cilantro.", "Serve." ], "author": null }
- Assistantjson
{ "data": "CN" }