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é.
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 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": "Walt's Chili and Beans", "description": "This was Walt Disney's favorite meal. The original Disneyland version of the recipe appeared seasonally through the years at restaurants such as Plaza Inn and River Belle Terrace. Over time, the ingredients evolved, too, with past versions including dried thyme and paprika. This is the current version and mainstay at Carnation Café on Main Street, U.S.A.", "subtitle": "A Disney Classic", "ingredients": [ { "section": "FOR CHILI", "ingredients": [ "1/4 cup olive oil, divided", "3/4 pound beef stew meat", "small onion, diced", "1 medium green pepper, diced", "4 cloves garlic, minced", "1 pound ground beef", "1 tablespoon ground cumin", "1/2 tablespoons chili powder", "1 tablespoon onion powder", "3/4 teaspoon cayenne pepper", "3 tablespoons tomato paste", "2 plum tomatoes, diced", "1 (28-ounce) can diced tomatoes", "2 tablespoons beef base", "11/2 cups water", "1 (14.5-ounce) can pinto beans, rinsed and drained", "Coarse salt, to taste" ] }, { "section": "GARNISH", "ingredients": [ "1/2 cup sour cream", "1 cup shredded cheddar cheese", "2 small tomatoes, diced" ] } ], "instructions": [ "Heat 2 tablespoons of the oil in large Dutch oven, over medium heat for 5 minutes.", "Add stew meat and sauté for 10 minutes, until meat is browned on all sides.", "Remove stew meat from pan and set aside.", "Add the remaining 2 tablespoons of oil to pan, heat for 3 minutes over medium heat.", "Add onions and green pepper. Sauté 8 to 10 minutes, until soft.", "Add garlic and sauté one minute longer, until garlic is fragrant.", "Add ground beef. Cook, stirring occasionally to break up large chunks of beef, for 10 to 12 minutes, until beef is no longer pink.", "Drain excess fat.", "Return stew meat to the Dutch oven with ground beef mixture.", "Add ground cumin, chili powder, onion powder, cayenne pepper, tomato paste, diced plum tomatoes, diced can tomatoes, beef base, and water.", "Bring chili to a simmer.", "Cover and simmer over low heat for 3 hours, until stew meat is tender.", "Add pinto beans. Simmer for 10 minutes, until beans are warm.", "Season with salt, as needed.", "TO SERVE", "Garnish with sour cream, shredded cheddar cheese, and diced tomatoes." ], "author": null }
- Assistantjson
{ "data": "WNA" }