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": "Quinoa and Vegetable Stew", "description": "Hearty, nutritious quinoa isn't just a great base for grain bowls. Here it's the perfect starting point for a stew that holds an array of lively toppings. Drawing inspiration from South American quinoa stew, we spiced our version with paprika, garlic, cumin, and coriander, plus onion and red bell pepper, for a flavor-packed base.", "subtitle": null, "ingredients": [ { "section": "For the recipe", "ingredients": [ "1 tablespoon vegetable oil", "1 small onion, chopped fine", "½ red bell pepper, stemmed, seeded, and cut into ½-inch pieces", "2 garlic cloves, minced", "1 teaspoon paprika", "½ teaspoon ground coriander", "½ teaspoon ground cumin", "2 cups chicken or vegetable broth", "½ cup water, plus extra as needed", "6 ounces red potatoes, unpeeled and cut into ½-inch pieces", "½ cup prewashed white quinoa", "½ cup fresh or frozen corn", "1 ounce queso fresco, crumbled (½ cup)", "3 tablespoons minced fresh cilantro", "Lime wedges" ] } ], "instructions": [ "Heat oil in large saucepan over medium heat until shimmering.", "Add onion, bell pepper, garlic, paprika, coriander, and cumin and cook until vegetables are softened and spices are fragrant, about 5 minutes.", "Stir in broth, water, and potatoes, scraping up any browned bits with wooden spoon.", "Bring to simmer and cook for 10 minutes.", "Stir in quinoa and simmer for 8 minutes.", "Stir in corn and continue to simmer until vegetables and quinoa are just tender, 6 to 8 minutes.", "Adjust consistency of soup with hot water as needed then season with salt and pepper to taste.", "Divide soup among individual serving bowls, then top with queso fresco and cilantro.", "Serve with lime wedges." ], "author": null }
- Assistant
{ "data": "WSA" }