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": "WARM CHICKEN SALAD", "description": "", "subtitle": "This is a fresh, updated, whole-foods take on an old-fashioned casserole-hot chicken salad-that's traditionally made with canned soup, cheese, and mayonnaise and topped with potato chips. This slow-cooked version has all of the same homey appeal as its retro namesake, but it won't weigh you down. (And the crunch comes from romaine lettuce, not potato chips!)", "ingredients": [ { "section": "For the recipe", "ingredients": [ "4 green onions", "2½ pounds bone-in chicken thighs, skin removed", "½ cup Whole30-compliant chicken broth or Chicken Bone Broth", "3 cloves garlic, minced", "1 medium red bell pepper, diced", "2 stalks celery, thinly sliced", "1 tablespoon Whole30-compliant Dijon mustard", "2 tablespoons cider vinegar", "½ cup Whole30-compliant mayonnaise", "1 package (16 ounces) hearts of romaine, chopped" ] } ], "instructions": [ "THINLY slice the green onions; separate the white bottoms from the green tops.", "In a 4-quart slow cooker, combine the green onion whites, chicken, broth, and garlic.", "COVER and cook on low for 4 hours or on high for 2 hours.", "Add the bell pepper and celery.", "Turn the slow cooker to high if using low setting.", "Cover and cook for 20 to 30 minutes, or until the pepper and celery are tender.", "Using a slotted spoon, transfer the chicken, pepper, and celery to a large bowl.", "LET the chicken cool slightly.", "Remove the chicken from the bones; discard the bones.", "Use two forks to shred the chicken.", "Stir the mustard, vinegar, and mayonnaise into the shredded chicken.", "ARRANGE the lettuce on four plates; top with the warm chicken salad.", "Sprinkle with the reserved sliced green onion tops." ], "author": null }
- Assistant
{ "data": "WWW" }