Goal L'objectif est d'identifier l'origine d'une recette de cuisine et de retourner un…
- User
Goal L'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 Tu dois renvoyer 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": "Prosciutto-Wrapped Turkey Breast", "description": "I WAS AT A COMPETITION in Minnesota when I wanted something different to enter in an auxiliary category. The salt from the prosciutto, the creaminess of the cheese, and the freshness of the basil with the juicy tenderness of the turkey ended up getting me first place!", "subtitle": "", "ingredients": [ { "section": "Pour la recette", "ingredients": [ "2 (2-pound) boneless turkey breasts, skinned", "1/4 cup olive oil", "1 (12-ounce) jar Big Moe Cason Beef Rub", "10 slices prosciutto (5 to 6 ounces)", "10 large basil leaves", "8 slices white cheddar cheese", "Kitchen twine" ] } ], "instructions": [ "Prepare an indirect fire in a grill or smoker, and preheat to 250°F.", "Pat turkey breasts dry with paper towels. Tenderize turkey if desired, then rub all over with olive oil. Season lightly on both sides with beef rub.", "On a cutting board, arrange 5 slices prosciutto in a line with their edges slightly overlapping. Top with 5 basil leaves and 4 cheese slices, slightly overlapping edges. Place 1 turkey breast on top.", "Beginning at the tapered end, roll turkey breast up in the prosciutto, basil, and cheese, wrapping it completely. Tie the breast with kitchen twine at intervals to secure. Repeat procedure with remaining turkey breast, prosciutto, basil, and cheese.", "Place turkey breasts on grill or smoker; cover and cook until a meat thermometer inserted into centers reads 165°F, about 2 hours. Remove and let stand 10 minutes. Carve into 2-inch-thick slices." ], "author": "" }
- Assistant
{ "data": "WNA" }