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": "Linguini's drunken adventure", "description": "Gusteau's kitchen was facing issues ever since a food critic, Anton Ego gave them a starless for their dish. But things changed when Remy and Linguini entered Gusteau's kitchen. Remy's accidental tomato soup brought in lots of praises for Linguini and the kitchen. They were back in the newspaper, and there was a rush in the restaurant. The staff rejoiced, they had drinks and they celebrated that day. Any celebration is incomplete without a drink. Therefore, in this recipe, we will discuss an amazing cocktail, one can easily prepare for any occasion.", "subtitle": null, "ingredients": [ { "section": "For the Orgeat", "ingredients": [ "45ml white rum", "180ml orange drink", "180ml lemon juice", "14ml orgeat", "14ml rum", "sliced lemon", "mint", "2 cups of washed-out almonds", "1 1/2 cups sugar", "1 1/4 cups water", "29ml brandy", "1/2 teaspoon orange flower water" ] } ], "instructions": [ "In a shaker add white rum, orange juice, lemon juice, and the almond drink.", "Add ice to the shaker and shake gently for about 3 seconds.", "Once done, transfer it to the drinks glass.", "At this point, you can pour the dark rum on top and let it lightly float.", "For garnishing, you can use the sliced lemon pieces, and mint.", "And it's ready. Enjoy!" ], "author": null }
- Assistant
{ "data": "WWW" }
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.