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": "Vegetarian Dashi", "description": "The first time I made dashi I was shocked by how easy it was. Just cover kombu with water, and let it sit. That's it. No chopping, no simmering, no skimming, and usually no straining. Traditionally the liquid is steeped with bonito flakes, but since bonito is made from dried fish, it's omitted here. Dried shiitake mushrooms add flavor instead. But even without the bonito flakes, dashi is surprisingly rich in umami, in part because kombu contains some of the same naturally occurring glutamates that appear in MSG.", "subtitle": null, "ingredients": [ { "section": "For the recipe", "ingredients": [ "Four 2-inch squares kombu (about 1½ ounces)", "4 dried shiitake mushrooms", "2 quarts cold water" ] } ], "instructions": [ "Combine the kombu, mushrooms, and water in a large container and let stand for at least 30 minutes, or up to 12 hours.", "It gets stronger as it sits, and the taste can vary depending on what type of kombu you use, so with a few rounds you'll find your preference.", "If you plan to let it stand for more than 4 hours, place it in the refrigerator, lidded or covered with a piece of plastic wrap.", "Alternatively, bring the water to a bare simmer in a saucepan.", "Remove from the heat, add the kombu and mushrooms and let stand for 30 minutes.", "Discard the kombu.", "Pick out the mushrooms and trim off and discard the stems.", "Reserve the mushroom caps for another use.", "You may want to strain the dashi through a fine-mesh sieve or cheesecloth if there are small pieces of kombu left behind, but I rarely do this." ], "author": null }
- Assistant
{ "data": "JP" }