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": "Beef Ragout Banquet", "description": "We've mentioned the feast in Beauty and the Beast, and it is undeniable a lavish spread that no one can forget. In addition to cheese soufflé and various pies, there is also the warm owl of beef ragout! Here's the recipe to create your own if you ever want to prepare your own feast at home.", "subtitle": "A lavish dish inspired by Beauty and the Beast.", "ingredients": [ { "section": "For the recipe", "ingredients": [ "Chuck, diced - 1.5 lb.", "Olive oil 3 tablespoons", "Flour - 1/2 cup", "Salt and pepper, to taste", "Onion diced 1/2 cup", "Garlic, minced - 3 cloves", "Tomato paste 2 tablespoons", "Flour 2 tablespoons", "Red wine 1 cup", "Crushed tomatoes - 14 oz", "Beef broth - 3 cups", "Water - 1 cup", "Bay leaves - 2", "Thyme - 2 sprigs", "Carrots, diced - 1 cup", "Potato, diced - 1 lb.", "Mushroom, sliced - 5 oz" ] } ], "instructions": [ "Sprinkle beef with salt, pepper, and 2 tablespoons", "Heat oil in a pot and place beef chuck. Cook until they turn golden brown and set aside.", "Turn down the heat. Add onions, garlic, tomato paste. Cook for 8 minutes.", "Add 1/2 cup flour and cook for 2 more minutes.", "Stir in red wine, crushed tomatoes, broth, water, bay leaves, and thyme. Let simmer for 1.5 hours.", "Add the carrots, potatoes, and mushrooms, then cook for 1 more hour.", "Season with more salt and pepper.", "Enjoy!" ], "author": "" }
- Assistant
{ "data": "FR" }
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.