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": "Pork Salad with Cilantro-Lime Dressing", "description": "Most commercial mayonnaise is made with soybean oil and preservatives-definitely not Whole30 compliant. The most common\ncompliant mayo is made with avocado oil. It's mild-tasting enough that it doesn't interfere with the other flavors in the food that are\nsupposed to be in the forefront-like the lime and cilantro in the dressing for this salad.", "subtitle": null, "ingredients": [ { "section": "FOR THE PORK", "ingredients": [ "2 teaspoons chili powder", "½ teaspoon salt", "¼ teaspoon ground cumin", "¼ teaspoon black pepper", "Dash cayenne pepper", "1 Whole30-compliant pork tenderloin (about 1½ pounds), trimmed", "½ cup Whole30-compliant chicken broth or Chicken Bone Broth (page 294)" ] }, { "section": "FOR THE SALAD", "ingredients": [ "½ cup Whole30-compliant mayonnaise", "½ teaspoon grated lime zest", "1 tablespoon fresh lime juice", "2 tablespoons chopped fresh cilantro", "6 cups chopped butterhead lettuce", "1 medium avocado, halved, pitted, peeled, and diced", "1 cup grape tomatoes, halved", "¼ cup sliced green onions" ] } ], "instructions": [ "In a small bowl, combine the chili powder, salt, cumin, pepper, and cayenne; sprinkle over the pork.", "Add the pork to a 4-quart slow cooker. Pour the broth around the pork.", "COVER and cook on low for 5 to 6 hours or on high for 2½ to 3 hours.", "Transfer the pork to a cutting board; cut into ½-inch slices. Discard the cooking liquid.", "In a small bowl, combine the mayonnaise, lime zest, lime juice, and cilantro.", "If the dressing is too thick, stir in water, 1 teaspoon at a time, to reach desired consistency.", "Arrange the lettuce on plates. Top with the pork. avocado, tomatoes, and green onions.", "Spoon the dressing on top. Season with additional pepper, if desired." ], "author": null }
- Assistant
{ "data": "WNA" }