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": "MAKE-AHEAD VINAIGRETTE", "description": "We love a simple vinaigrette on many of our salad and grain bowls, but we wanted an easy version we could make ahead for packed lunches and weeknight dinners that would stay emulsified in the fridge. We found that the right combination of emulsifiers (Dijon and mayonnaise) and a stabilizer (molasses) gave us a vinaigrette with the perfect balanced consistency, and as a bonus we could shake the dressing up in a jar rather than whisking. Regular or light mayonnaise can be used in this recipe. Do not use blackstrap molasses.", "subtitle": "Makes 1 cup", "ingredients": [ { "section": "For the recipe", "ingredients": [ "1 tablespoon mayonnaise", "1 tablespoon molasses", "1 tablespoon Dijon mustard", "½ teaspoon table salt", "¼ cup wine vinegar", "½ cup extra-virgin olive oil, divided", "½ cup vegetable oil" ] } ], "instructions": [ "Combine mayonnaise, molasses, mustard, and salt in 2-cup jar with tight-fitting lid.", "Stir until mixture is milky in appearance and no lumps of mayonnaise or molasses remain.", "Add vinegar, seal jar, and shake until smooth, about 10 seconds.", "Add 1/4 cup olive oil, seal jar, and shake vigorously until thoroughly combined, about 10 seconds.", "Repeat, adding remaining 1/4 cup olive oil and vegetable oil in 2 additions, shaking vigorously until thoroughly combined after each addition.", "(Vinaigrette can be refrigerated for up to 1 week, shake to recombine before using.)" ], "author": null }
- Assistant
{ "data": "FR" }