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": "Lemon Sour", "description": "When Reigen won't respect Mob's boundaries-calling him on short notice and making him do a lot of\nthe work at their joint business, Spirits and Such Consultation Office-they split up, causing Reigen to\nbecome depressed. He realizes that Mob is fine without him and that he's truly lonely when only his\nmom emails him on his birthday. That night, Reigen goes to the Happy Trails bar and orders a lemon\nsour, "extra on the sour," and despite the drink having no alcohol, Reigen feels drunk and leaves the\nbar. A lemon sour is usually made with seltzer and vodka infused with lemon rinds, but without the\nalcohol, it's just fizzy lemonade!", "subtitle": "Extra on the sour", "ingredients": [ { "section": "LEMON-INFUSED SYRUP", "ingredients": [ "3 large lemons", "1¾ cups (350 g) sugar (or same weight as lemons)" ] }, { "section": "ICED-LEMON GARNISH", "ingredients": [ "1 large lemon" ] }, { "section": "ASSEMBLY", "ingredients": [ "1 large lemon", "Large ice cubes", "4 cups (1 L) carbonated water (seltzer, club soda, mineral water)" ] } ], "instructions": [ "1 To make the lemon-infused syrup: Thinly slice the 3 lemons, removing any seeds. Make a layer of lemon slices in a\nglass container (with a tight-fitting lid) and cover them with a thin layer of sugar. Repeat the layers of lemon slices and\nsugar until all are used. Cover with the lid and refrigerate overnight; liquid syrup will seep from the lemons and become\nmore flavorful over time. (You can store in the refrigerator for up to 1 week.)", "2 To make the iced-lemon garnish: Slice the lemon into 8 wedges, removing any seeds, place them in a single layer on a\nparchment-lined plate or tray, and freeze.", "3 To assemble: Juice the lemon. Add 2 teaspoons of the lemon-infused syrup and ½ tablespoon of the freshly squeezed\nlemon juice to a tall glass. Add an iced lemon wedge and ice cubes almost to the rim of the glass. Fill the rest of the glass\nwith carbonated water, stir, and serve. Repeat this step for the remaining drinks." ], "author": null }
- Assistantjson
{ "data": "WWW" }