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": "POMMES FRITES WITH CAJUN RÉMOULADE", "description": "TARTERS own for New Orleans-style dishes, Cafe Orleans opened in New Orleans Square in 1972 and replaced the Creole Cafe (1966-1972). These spicy "fried potatoes" seem right at home.", "subtitle": null, "ingredients": [ { "section": "CAJUN RÉMOULADE", "ingredients": [ "1 cup Thousand Island dressing", "1/2 cup mayonnaise", "1 teaspoon finely chopped garlic", "1/4 teaspoon lemon juice", "1/2 teaspoon Dijon-style mustard", "1 pinch paprika", "1 teaspoon Worcestershire sauce", "1/2 teaspoon Cajun seasoning", "coarse salt, to taste", "freshly ground white pepper, to taste" ] }, { "section": "POMMES FRITES", "ingredients": [ "1 tablespoon finely chopped garlic", "1/2 teaspoon Cajun seasoning", "1/3 cup grated Parmesan cheese", "1 teaspoon chopped fresh parsley", "1/2 teaspoon coarse salt", "8 cups vegetable oil", "16 ounces frozen french fries" ] } ], "instructions": [ "Mix together all ingredients except salt and pepper in a medium mixing bowl.", "Season to taste; refrigerate until ready to use.", "Mix together garlic, Cajun seasoning, Parmesan cheese, parsley, and salt in a large mixing bowl; set aside.", "Carefully heat oil in a large heavy pot over high heat to 375°F.", "Check the heat by carefully dipping a french fry in the oil; the oil is hot enough if it immediately sizzles.", "With caution, fry the french fries in batches, being careful not to crowd, cooking 4 to 5 minutes or until crisp and golden brown.", "Transfer to paper towels to drain, then lightly toss in the cheese mixture.", "Serve hot with Cajun rémoulade." ], "author": null }
- Assistant
{ "data": "US" }