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": "Onion Soup Signifying the True Linguini-ness", "description": "Linguini-ness signifies the touch, the charm, that Linguini adds to a dish. Skinner had invented this term to ridicule Linguini. But Linguini's soup turned out to be a life-changing opportunity for Gusteau's Kitchen. Soups are easy to make and are also comfortable food options. Soups never go out of style, therefore, let's learn this recipe.", "subtitle": "A life-changing soup recipe from Linguini that saved Gusteau's Kitchen.", "ingredients": [ { "section": "For the recipe", "ingredients": [ "6 diced sliced onions", "4 tablespoons olive oil", "2 tablespoons butter", "1 teaspoon sugar", "Salt", "2 finely chopped garlic", "8 cups of chicken stew", "1/2 cup white wine", "2 bay leaves", "1 tablespoon thyme", "1/2 teaspoon black pepper", "8 slices of bread", "1 1/2 cups of cheese" ] } ], "instructions": [ "In a pan, add 3 tablespoons of olive oil, and heat it on medium flame.", "Add onions to the pan and cook it for 10-15 minutes.", "Add butter and remaining oil in the pan and increase the heat. Cook the onions for another 15 minutes. By now, they should start turning brown.", "Now sprinkle sugar and add 1 teaspoon of salt to the onions. Cook it for around 10-15 minutes.", "Add the chopped garlic to the pan.", "Now, add white wine to the pot, and mix it very well.", "Now, add the chicken stew, bay leaves, and thyme.", "Cook it for some time on low heat, and put a lid on the saucepan, continue cooking on low heat for about 30 minutes.", "Add salt and pepper to the soup. Remove the bay leaves.", "In a pan, toast the bread with olive oil. Add cheese to the bread, and bake for some more time, until the cheese starts melting or is slightly brown.", "Once done, you can serve the soup in a bowl, with a side of toasted cheesy bread.", "Enjoy!" ], "author": "Linguini" }
- Assistant
{ "data": "FR" }