Skip to content
TheChatArchiveThe Chat Archive
gpt-4o-mini-2024-07-18· OpenAIAi2 WildChat-4.8M (AI2)

Goal Objectif est d'extraire et structurer les informations d'une recette de cuisine…

  1. User

    Goal Objectif est d'extraire et structurer les informations d'une recette de cuisine sous forme d'un objet JSON sans jamais modifier le texte d'origine.

    1. Identification et extraction des informations demandées.
    2. Calcul des temps de préparation et de cuisson si non précisés.
    3. Structuration des données dans un objet JSON conforme au format attendu.
    4. Respect strict de la langue d'origine et du texte des instructions.
    5. Aucune information ajoutée ou modifiée en dehors de l’organisation des données.
    
    
    Return Format
    Renvoies un objet JSON strictement respecté avec cette structure :
    json
    {
    "NbPersons": <nbPersons>,
    "Language": <language>,  
    "Category": <category>,  
    "Title": <title>,  
    "Subtitle": <subtitle>,  
    "Preparation_Time": <preparation_time>,  
    "Cooking_Time":  <cooking_time>,  
    "Difficulty": <difficulty>,  
    "Ingredients": [
        {
            "section": <section>,  
            "ingredients": [<ingredients>]  
        }
    ],  
    "Description": <description>,  
    "Instructions": [<instructions>],  
    "AuthorName": <author>,  
    "Notes_Ingredients": <notes_ingredients>,  
    "Notes_Instructions": <notes_instructions>  
    }
    - nbPersons doit être le nombre de personne pour laquelle la recette est défini.
    - language doit être le code ISO 639 de la langue de la recette
    - category doit être "drinks" si c'est du liquide parmis cette liste (thé, café, jus de fruit, cocktail, mocktail). Sinon choisis la meilleure option parmis (bread, appetizer, starter, main, dessert, breakfast, snack, teatime, jam, sauce, icecream)
    - title doit être le nom de la recette
    - subtitle doit être un complément du nom de la recette.
    - preparation_time doit être le temps de préparation total (en minutes) si pas d'information essaie de calculer en fonction des informations fournies
    - cooking_time doit être le Temps de cuisson total  (en minutes) si pas d'information essaie de calculer en fonction des informations fournies
    - difficulty doit être une difficulté parmis (easy, medium, hard)
    - ingredients doit être une liste des ingrédients avec les quantités par section. Exemple: {section: "Pour la sauce", ingredients: ["1 kg de beurre"]}. Si absence d'information pour la section, tu mettras "Pour la recette".
    - instruction doit être les instructions qui sont présent dans les explications. Précises bien en détails ce qui est écris pour les instructions. Fais attention à respecter l'ordre des instructions. C'est une liste de string.
    - description doit être une présentation qui donne envie de faire la recette.
    - notes_ingredients doit être les détails importants qui sont précisé concernant les ingrédients (ingrédient facultatif, remplacement d'un ingrédient par un autre ingrédient...)
    - notes_instructions doit être les détails important qui sont précisé concernant les étapes pour faire la recette (actuces, conseils...)
    
    Warnings
    - Ne modifie aucun texte d'origine (titre, description, ingrédients, instructions).
    - Ne traduis pas la langue de la recette, elle doit être identifiée et conservée.
    - Les instructions doivent être strictement identiques à l'original, sans reformulation.
    - Si une information est absente, laisse le champ vide, sans ajout d’invention.
    - Les quantités d’ingrédients doivent rester sous forme de liste de chaînes de caractères.
    - Respecte le format JSON exact et assure-toi qu’il soit bien formatté.
    
    Context Dump
    Texte source fourni :
    
    {
    "explication": "Teriyaki Chicken Thighs\nThese teriyaki chicken thighs-low in fat, high in protein, succulent, and flavorful-have become a go-to favorite\nat my house, particularly on Tuesdays when the kids and I don't get home from break-dancing class until eight\no'clock. Use your garlic press, and your mini chopper to mince the ginger, for a super speedy prep.\nSERVES 4\nTERIYAKI SAUCE\n6 tablespoons coconut amino acids\n3 cloves garlic, finely minced or pressed\n1½ teaspoons finely minced ginger\n½ teaspoon cayenne pepper\n¾ teaspoon salt\n% teaspoon freshly ground pepper\n3 tablespoons brown sugar\n1½ tablespoons honey\n3 tablespoons rice vinegar\n3 tablespoons dry sherry\n3 pounds bone-in chicken thighs\nI tablespoon shelled hemp seeds (optional)\nI green onion, white and green parts, chopped\n1 To make the sauce, combine all the sauce ingredients in a large bowl, stirring well to dissolve the brown sugar.\n2 Preheat the broiler on high heat. Line the broiler pan with aluminum foil.\n3 Remove the skin from the chicken. Rinse and pat the chicken dry, then add it to the sauce, turning to coat and\nspooning sauce over the top. Let rest for 5 minutes.\n4 Transfer the chicken to the lined broiler pan, reserving the sauce. Cook the chicken thighs top-side down 4 inches\nfrom the heat source for 10 minutes or until crispy, rotating the pan halfway through. Flip the chicken and cook for 8\nminutes more, rotating the pan after 4 minutes. Sprinkle the chicken with the hemp seeds and cook for 2 minutes\nmore, until crispy.\n5 Meanwhile, pour the sauce into a small saucepan and bring to a simmer over medium heat. Decrease the heat to\nmedium-low and cook at a slow simmer for 16 to 20 minutes to reduce to a syrupy consistency.\n6 To serve, drizzle the chicken with the sauce and garnish with the chopped green onion."
    

    }

  2. Assistant
    {
        "NbPersons": 4,
        "Language": "en",
        "Category": "main",
        "Title": "Teriyaki Chicken Thighs",
        "Subtitle": "These teriyaki chicken thighs-low in fat, high in protein, succulent, and flavorful-have become a go-to favorite at my house.",
        "Preparation_Time": 5,
        "Cooking_Time": 38,
        "Difficulty": "medium",
        "Ingredients": [
            {
                "section": "Pour la sauce",
                "ingredients": [
                    "6 tablespoons coconut amino acids",
                    "3 cloves garlic, finely minced or pressed",
                    "1½ teaspoons finely minced ginger",
                    "½ teaspoon cayenne pepper",
                    "¾ teaspoon salt",
                    "% teaspoon freshly ground pepper",
                    "3 tablespoons brown sugar",
                    "1½ tablespoons honey",
                    "3 tablespoons rice vinegar",
                    "3 tablespoons dry sherry"
                ]
            },
            {
                "section": "Pour le poulet",
                "ingredients": [
                    "3 pounds bone-in chicken thighs",
                    "1 tablespoon shelled hemp seeds (optional)",
                    "1 green onion, white and green parts, chopped"
                ]
            }
        ],
        "Description": "These teriyaki chicken thighs-low in fat, high in protein, succulent, and flavorful-have become a go-to favorite at my house, particularly on Tuesdays when the kids and I don't get home from break-dancing class until eight o'clock.",
        "Instructions": [
            "To make the sauce, combine all the sauce ingredients in a large bowl, stirring well to dissolve the brown sugar.",
            "Preheat the broiler on high heat. Line the broiler pan with aluminum foil.",
            "Remove the skin from the chicken. Rinse and pat the chicken dry, then add it to the sauce, turning to coat and spooning sauce over the top. Let rest for 5 minutes.",
            "Transfer the chicken to the lined broiler pan, reserving the sauce. Cook the chicken thighs top-side down 4 inches from the heat source for 10 minutes or until crispy, rotating the pan halfway through. Flip the chicken and cook for 8 minutes more, rotating the pan after 4 minutes. Sprinkle the chicken with the hemp seeds and cook for 2 minutes more, until crispy.",
            "Meanwhile, pour the sauce into a small saucepan and bring to a simmer over medium heat. Decrease the heat to medium-low and cook at a slow simmer for 16 to 20 minutes to reduce to a syrupy consistency.",
            "To serve, drizzle the chicken with the sauce and garnish with the chopped green onion."
        ],
        "AuthorName": "",
        "Notes_Ingredients": "I tablespoon shelled hemp seeds (optional)",
        "Notes_Instructions": ""
    }