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": "The Hollywood Brown Derby Cobb Salad", "description": "Disney's spin on the classic Cobb salad is the most requested entrée at The Hollywood Brown Derby. The story goes that in 1937, Bob Cobb, owner of the original Brown Derby, and theater magnate Sid Grauman prowled the restaurant's kitchen for a midnight snack, resulting in this style of salad, which Grauman then ordered again the next day. It became an overnight sensation.", "subtitle": "A Disney Classic", "ingredients": [ { "section": "SALAD", "ingredients": [ "1 cup chopped iceberg lettuce leaves, washed and spun dry", "1 cup chopped chicory leaves, washed and spun dry", "1 cup tender sprigs watercress, washed and spun dry, plus additional sprigs for garnish", "1 pound poached turkey breast, finely chopped", "2 medium-size ripe tomatoes, peeled, seeded, and finely chopped", "1 avocado, peeled, seeded, and finely chopped", "1/2 cup crumbled blue cheese (about 2½ ounces)", "6 bacon slices, cooked crisp, drained, and crumbled", "3 hard-boiled eggs, peeled and finely chopped", "2 tablespoons snipped fresh chives", "1/2 cup Hollywood Brown Derby Old-fashioned French Dressing, chilled (recipe follows)" ] }, { "section": "DRESSING", "ingredients": [ "2 tablespoons water", "2 tablespoons red wine vinegar", "1 tablespoon fresh lemon juice", "1/2 teaspoon Worcestershire sauce", "1/2 teaspoon salt, or to taste", "1/2 teaspoon minced garlic", "1/4 teaspoon sugar", "1/4 teaspoon freshly ground pepper, or to taste", "1/8 teaspoon dry English mustard", "1/3 cup vegetable oil", "2 tablespoons olive oil" ] } ], "instructions": [ "Toss the iceberg lettuce, chicory, and watercress together, and arrange in a salad bowl.", "In straight and separate lines, arrange the turkey, tomatoes, avocado, blue cheese, bacon, and eggs on top of the greens.", "Sprinkle the chives in two diagonal lines across the salad.", "To serve, present the salad at the table, toss with the dressing, and place on chilled plates with watercress sprigs as garnish.", "Whisk together the water, red wine vinegar, lemon juice, Worcestershire sauce, salt, garlic, sugar, freshly ground pepper, and dry mustard in a small bowl until well blended.", "Whisking constantly, add the vegetable oil and the olive oil in a slow steady stream until the dressing is emulsified.", "Store covered and chilled until ready to serve. Whisk the dressing to blend just before serving." ], "author": null }
- Assistant
{ "data": "WNA" }