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é.
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 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": "Pork Belly Tacos With Sweet Vinegar Slaw", "description": "Pork Belly Tacos With Sweet Vinegar Slaw", "subtitle": "", "ingredients": [ { "section": "Pour la recette", "ingredients": [ "1 (5-pound) slab skinless pork belly", "2 tablespoons canola oil", "½ cup store-bought Big Moe Cason Pork Rub", "6-inch corn or flour tortillas, warmed", "Sweet Vinegar Slaw (see recipe, see here)", "Toppings: shredded queso fresco, chopped fresh cilantro, Big Moe Cason I-80 Sauce (warmed), salsa verde" ] } ], "instructions": [ "1. Cut pork belly into strips (5 inches long by ½ inch thick). Toss with oil and pork rub, and let rest for 1 hour before putting on the pit.", "2. Prepare and preheat a grill or smoker to 210°F to 220°F. Place pork belly in smoker, leaving a little space between strips so you can get color on all sides. Cooking the belly low and slow allows the fat to render nicely and meat to get tender.", "3. Cover and cook for 1 hour. Flip pork belly; cover and cook until a meat thermometer reads 200°F, 30 minutes to 1 hour.", "4. Serve pork belly strips in tortillas with slaw and desired toppings. It's best to eat this succulent pork belly right when it comes off the smoker." ], "author": "" }
- Assistantjson
{ "data": "WNA" }