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": "AVOCADO, LABANEH, AND PRESERVED LEMON SPREAD", "description": "Teta Fatima's neighbor and good friend had many avocado trees at home. When it was the season, she would send her and us, giant bags of avocados every couple of weeks. When you've given all your neighbors and friends avocados, what do you do with the endless bags of this delicious creamy fruit? You get creative. We used to make all kinds of dips with it: with tahini, with labaneh, with cream cheese, with vegetables, and so on. The contrast between the sweet, creamy avocados and the sharp, salty lemons and labaneh is heavenly. But more than that, the ensuing bright green color is so beautiful and stays vivid in the refrigerator for a couple of days, making it an excellent dip to entertain with.", "subtitle": "أفوكادو بلبنه وحامض مكبوس", "ingredients": [ { "section": "For the recipe", "ingredients": [ "4 small preserved lemons, pith and seeds removed", "3 tablespoons lemon juice", "3 avocados (about 11 oz/300 g flesh)", "3 tablespoons Labaneh, homemade (page 26) or store-bought (see Note)", "¼ teaspoon salt" ] } ], "instructions": [ "Put all the ingredients, except the salt, into the bowl of a food processor and process until fully incorporated and creamy.", "Taste and season with salt accordingly. This will depend on how salty the labaneh you are using is." ], "author": null }
- Assistant
{ "data": "LB" }