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": "BLACK LIME TEA", "description": "The dried limes known as limoo Omani, or black limes, range in color from brown to black, and either can be used. Breaking the orbs and simmering the pieces in water allows the tang of the gummy black flesh and bitterness of the skin to be fully released in this intensely tart digestive. The funkiness of this tea is polarizing, but after a sip or two, it becomes quite addictive, and it really does wonders to settle an upset stomach after a big meal. You can add sugar, but I think it tastes best black. Omani limes can be found at most Middle Eastern markets or ordered online.", "subtitle": "The dried limes known as limoo Omani, or black limes, range in color from brown to black, and either can be used.", "ingredients": [ { "section": "For the recipe", "ingredients": [ "6 dried limes, scrubbed", "Sugar (optional)" ] } ], "instructions": [ "Carefully cut the dried limes in half and discard any seeds.", "Roughly chop the dried limes into pieces.", "Place in a medium saucepan with 4 cups water and bring to a boil over high heat.", "Decrease the heat to low and simmer until the flavor is earthy and tart, 15 to 20 minutes (the tea becomes more bitter the longer you let it simmer).", "Strain the tea into glasses and sweeten to taste with sugar, if desired." ], "author": "" }
- Assistantjson
{ "data": "OM" }