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": "CHICKEN AND ZOODLE SOUP", "description": "When the world has got you down-or you simply need a little mood boost-this chicken soup has all the comforting flavors of classic chicken noodle soup without getting weighed down by heavy wheat noodles.", "subtitle": null, "ingredients": [ { "section": "For the recipe", "ingredients": [ "2 pounds boneless, skinless chicken thighs, cut into 1-inch pieces", "6 cups Whole30-compliant chicken broth or Chicken Bone Broth (page 294)", "3 carrots, peeled and sliced", "3 stalks celery with leaves, chopped 1/4 inch thick", "1 large white onion, coarsely chopped", "1 tablespoon fresh lemon juice", "1 teaspoon dried thyme", "1 teaspoon dried marjoram", "1 bay leaf", "1 teaspoon salt", "½ teaspoon black pepper", "1 package (10.7 ounces) zucchini noodles or 2 small zucchini, spiralized", "Coarse ground black pepper (optional)", "Fresh thyme leaves (optional)" ] } ], "instructions": [ "IN a 6-quart slow cooker, combine the chicken, broth, carrots, celery, onion, lemon juice, dried thyme, marjoram, bay leaf, salt, and pepper. Stir to combine.", "COVER and cook on low for 6 hours or on high for 3 hours. Remove and discard the bay leaf. Turn the slow cooker to high if using the low setting. Add the zucchini noodles. Cover and cook for 5 minutes or until the noodles are tender.", "IF desired, top servings with coarse ground black pepper and fresh thyme." ], "author": null }
- Assistant
{ "data": "WWW" }