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": "Mixed Grains", "description": "This approach to mixing grains was a happy accident that occured when I was short on rice and made up for the shortage with quinoa, which has the same cooking time. This is a great way to add some complexity of flavor and texture to white rice, as well as some protein, since both quinoa and millet are good sources of it. These mixed grains can be used interchangeably in the recipes for bibimbap and other grain bowls, and are even good in the recipes for fried rice. If you want to use brown rice here instead of white, it unfortunately doesn't work as a streamlined, one-pot method, but it's easy enough to just mix cooked brown rice together with the cooked quinoa-millet.", "subtitle": null, "ingredients": [ { "section": "For the recipe", "ingredients": [ "¾ cup medium-grain white rice", "¾ cup quinoa", "¾ cup millet", "3½ cups water, plus more for rinsing", "1 tablespoon toasted sesame seeds (optional)" ] } ], "instructions": [ "Put the rice, quinoa, and millet in a medium saucepan and cover with water to rinse.", "Swish the grains vigorously with your fingers, then drain thoroughly in a sieve.", "Return the grains to the saucepan and cover with the 3½ cups water.", "Place over high heat and bring the liquid to a full boil.", "Cover the pot, reduce the heat to the lowest setting-place the pot on a flame tamer if your stove is hot (see page 220)—and cook for 15 to 18 minutes, until the water is absorbed and the grains are tender but not mushy or overcooked.", "Remove from the heat, fluff with a fork, and fold in the sesame seeds, if using.", "Let stand for at least 10 minutes, covered, before serving." ], "author": null }
- Assistantjson
{ "data": "WWW" }