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": "Croque Monsieur Linguini", "description": "", "subtitle": "An ode to Linguini, and his growth in the movie. This dish is a ham and cheese sandwich. It's a famous French snack, and let's learn this recipe.", "ingredients": [ { "section": "For the sauce", "ingredients": [ "125ml milk", "125ml cream", "1 finely chopped garlic", "2 bay leaves", "1 finely sliced onion", "minced nutmeg" ] }, { "section": "For the mayo", "ingredients": [ "1 tablespoon mayo mustard", "1 tablespoon mayonnaise" ] }, { "section": "For the recipe", "ingredients": [ "4 slices of bread", "20g melted butter", "1 tablespoon mustard", "100g minced cheese", "4 slices of smoked ham" ] } ], "instructions": [ "In a pan, add milk, cream, garlic, leaves, onion and cook them on medium heat.", "Turn the heat off when you see that the mixture has started boiling.", "Now, filter the sauce and throw away the leaves and onion.", "In another bowl or saucepan, add butter and flour. Cook them gently. Now, slowly add milk to the saucepan. When you see the mixture has started boiling, add mustard, grated nutmeg, and salt, and pepper.", "Toast the bread with butter.", "Once done, take the bread and spread one layer of mustard, on top of it add one layer of sauce.", "Add grated cheese to the sauce, then add a sliced ham.", "Once done, add one more layer of sauce, and cover it with cheese.", "Once done, bake it for 10-15 minutes.", "You can serve it with mayo mustard." ], "author": "" }
- Assistant
{ "data": "FR" }