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": "Navy Bean Gravy", "description": "lost people seem to have a particular way they like their gravy. This one is of the thick, southern-style kinds that you serve on the side and is great for dipping your biscuit or potatoes in. It's also really wonderful with the Tempeh Sausage Pastry Puffs (page 129). Since everything is pureed, don't be too particular about how you chop the ingredients up.", "subtitle": null, "ingredients": [ { "section": "For the recipe", "ingredients": [ "1 tablespoon olive oil", "1 small onion, roughly chopped", "3 garlic cloves, chopped", "3 tablespoons fresh thyme, chopped", "Several dashes fresh black pepper", "1½ cups vegetable broth", "1/3 cup flour", "1 fifteen-ounce can navy beans, drained and rinsed", "3 tablespoons soy sauce", "¼ to ½ cup water", "Salt, to taste (if needed)" ] } ], "instructions": [ "Preheat a saucepan over medium-high heat.", "Sauté the onion and garlic in the oil for about 5 minutes.", "Add the thyme and black pepper (I like a lot of black pepper in this) and cook for about 3 minutes more.", "While that is cooking, stir the flour into the broth until dissolved.", "If you have an immersion blender, then add the beans, broth mixture, and soy sauce to the saucepan.", "Blend immediately and lower the heat to medium.", "Stir the gravy often for about 10 minutes while it thickens.", "If you are using a regular blender, add the beans, broth mixture, and soy sauce to the blender and blend until smooth.", "Transfer the onion and the other stuff from the pan to the blender.", "Puree again until no big chunks of onion are left.", "Add back to the pot and stir often over medium heat to thicken.", "Once the gravy thickens, reduce the heat to low.", "Now you can decide exactly how thick you want it by adding splashes of water, anywhere from 4 to ½ cup.", "Cook for about 20 more minutes to let the flavors deepen, stirring occasionally.", "Add water as necessary and taste for salt.", "Keep gravy covered and warm until ready to serve." ], "author": null }
- Assistant
{ "data": "WNA" }