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": "Bellini", "description": "While using fresh fruits in mocktails is generally the best way to go, you can sometimes substitute canned fruit, as this recipe does. If making this recipe with fresh peaches, choose peaches that are very ripe, and substitute 1/2 ounce simple syrup for the syrup from the canned peaches.", "subtitle": "The original Bellini recipe calls for white peach purée and prosecco.", "ingredients": [ { "section": "Peach Purée", "ingredients": [ "2 peach halves, canned in heavy syrup", "1/2 ounce heavy syrup from the canned peaches" ] }, { "section": "Nonalcoholic Bellini", "ingredients": [ "4 ounces Peach Purée", "8 ounces chilled nonalcoholic sparkling brut" ] } ], "instructions": [ "1. Make Peach Purée by placing peach halves and syrup into a food processor or a blender and blending until you get a smooth consistency.", "Put purée in the refrigerator to chill at least 30 minutes.", "2. When Peach Purée is chilled, pour 2 ounces purée into each of two champagne flutes.", "3. To finish making Bellini, fill each champagne flute with 4 ounces nonalcoholic sparkling brut.", "Do this carefully and slowly to prevent it from fizzing over.", "4. Gently stir the mixture with a bar spoon or a regular spoon to combine the ingredients." ], "author": "" }
- Assistant
{ "data": "IT" }