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": "Broccoli and Cheddar Soup", "description": "For this recipe, I was drawn by the lure of mock cheddar. That's right. Mock cheddar. If you haven't already heard, there's a new kid in town by the name of Daiya, and it's changing the face of dairy-free living.", "subtitle": "A creamy and delicious allergy-free soup with mock cheddar.", "ingredients": [ { "section": "Pour la recette", "ingredients": [ "3 tablespoons olive oil", "¼ cup grated yellow onion", "3 tablespoons superfine brown rice flour", "4 cups chicken broth or vegetable broth", "¼ teaspoon ground white pepper", "Pinch of ground nutmeg", "½ teaspoon salt", "Freshly ground pepper", "3 cups lightly steamed broccoli florets", "2 cups rice milk", "1½ cups shredded Dalya vegan cheddar" ] } ], "instructions": [ "Heat a large, heavy pot over medium-high heat.", "Add the olive oil and grated onion. Cook, stirring, for about 2 minutes.", "Add the brown rice flour and cook, stirring, for about 2 minutes more, until lightly golden and aromatic.", "Add 1 cup of the broth, whisking well to prevent lumps from forming.", "Add the remaining 3 cups broth, 1 cup at a time, whisking well after each addition.", "Stir in the white pepper, nutmeg, salt, and a couple of turns of pepper.", "Bring to a slow boil; reduce to a simmer and cook, stirring often, for about 8 minutes.", "Chop the broccoli fine and add it to the pot, along with the rice milk.", "Cook for 10 minutes, until the broccoli is very tender.", "Then either puree the soup in the pot using a handheld immersion blender or transfer to a blender or food processor to puree (and then return it to the pot).", "Bring the soup back to a simmer.", "Add the Daiya cheddar and cook, stirring, until the cheese has completely melted.", "Serve hot." ], "author": "" }
- Assistantjson
{ "data": "WWW" }