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": "Split Lentil Soup", "description": "I've always wondered how one humble ingredient cooked so simply can result in such a delicious dish. This perfect winter dish is very hearty and makes a great stand-alone meal. Because of its nutritional value, this soup is for many people the default or official Ramadan soup, giving them a nutritional boost after a day of fasting without being too heavy. Try topping it with pita croutons and a squeeze of lemon juice and, if you really want to do it the Palestinian way, take bites of radish, scallion (spring onion), and green chilli in between sips.", "subtitle": null, "ingredients": [ { "section": "For the recipe", "ingredients": [ "4 tablespoons olive oil", "1 onion, finely diced", "1 small carrot, finely grated", "1 teaspoon ground cumin", "½ teaspoon turmeric", "½ teaspoon Nine Spice Mix (page 24)", "1 cup (8 oz/225 g) red split lentils, picked over and rinsed", "1 teaspoon salt" ] }, { "section": "To serve", "ingredients": [ "pita croutons", "lemon wedges" ] } ], "instructions": [ "Heat the oil in a large pan over medium-high heat.", "Add the onion and carrot and cook for 3-5 minutes, stirring occasionally, until starting to soften.", "Sprinkle in the spices and continue to toss until aromatic and the onions are starting to brown around the edges, another 2-3 minutes.", "Add the lentils and mix to evenly combine.", "Pour in 6 cups (48 fl oz/1.5 liters) hot water and bring to a boil, then reduce the heat to low and simmer for 20-30 minutes, or until the lentils are cooked and have fallen apart.", "The lentils will turn a yellow color when cooked and easily mash against the side of the pan.", "Once done, stir in the salt.", "Using an immersion blender, puree the soup, if desired.", "If you prefer the soup thicker, boil it a little longer until it reaches the desired consistency, bearing in mind that the soup will thicken the longer it sits.", "If you find it too thick, gradually add more water until you reach the desired consistency.", "To serve, ladle the soup into bowls and top with pita croutons and a squeeze of lemon." ], "author": null }
- Assistantjson
{ "data": "PS" }