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": "Red Sangria", "description": "If you're looking for a batch mocktail that's easy to make on a hot summer day when guests are over, look no further. This nonalcoholic take on a red sangria uses fresh fruits and dealcoholized red wine. The addition of ginger beer adds texture, a bit of spice, and a little sweetness.", "subtitle": "A refreshing non-alcoholic take on a classic.", "ingredients": [ { "section": "For the recipe", "ingredients": [ "1 medium unpeeled orange, seeded and chopped in small pieces", "1 medium unpeeled apple, sliced, cored, and chopped", "1 medium unpeeled lemon, seeded and cut into wedges", "1 (750-milliliter) bottle dealcoholized cabernet sauvignon", "6 dashes alcohol-free aromatic bitters", "7 ½ ounces ginger beer", "1 medium orange for garnish" ] } ], "instructions": [ "1. Place chopped orange, apple, and lemon in a large pitcher.", "2. With a muddler or the back of a wooden spoon, press into the fruits to extract their juices.", "3. Pour in dealcoholized cabernet sauvignon.", "4. Add bitters. Stir and refrigerate at least 1 hour.", "5. Slice remaining orange into 1/4"-thick orange wheels. Set these aside until ready to serve the drink (if not serving for a while, refrigerate orange wheels).", "6. Just before serving, gently pour in ginger beer then lightly stir.", "7. When you're ready to serve, add ice cubes to four wine glasses, pour in sangria while also including some of the muddled fruit in the glass, and then garnish each glass with 1 orange wheel." ], "author": "" }
- Assistant
{ "data": "ES" }