Skip to content
The Chat Archive
gpt-4o-mini-2024-07-18· OpenAI 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": "Buckwheat Maple Crackers\nMAKE & ABOUT 60 CRACKER 8\nhese crackers remind me of a childhood trip to New Hampshire, where I was introduced to decadent candies made with pure maple sugar. Here,\nTI combine that same melt-in-your-mouth goodness with buckwheat. Despite its name, buckwheat is not related to wheat, ground from seeds\n(known as groats), buckwheat flour is a great source of fiber and protein. These crackers are prepared similar to cookies.\n128 grams (about 1 cup) Basic Flour Blend (page 23)\n80 grams (about ½ cup) buckwheat flour\n¼ teaspoon xanthan gum\n¼ cup (42 g) maple sugar\n½ teaspoon salt\n8 tablespoons shortening (see page 7), cold\n¼ cup (60 ml) pure maple syrup, cold\nUp to 2 tablespoons cold water, as needed\n1. Combine the flours, xanthan gum, maple sugar, and salt in a large mixing bowl.\n2. Cut the shortening into tablespoon-sized pieces and lay them on top of the flour.\n3. Use a pastry cutter or pastry fork to work the shortening into the flour. After 3 to 4 minutes of cutting the mixture will be crumbly.\n4. Add the maple syrup and work it into the dough with the pastry cutter. Add up to 2 tablespoons of cold water as needed, ½ tablespoon at a time,\nuntil the dough forms. (See Preparing Cookie Dough on page 236.)\n5.\n. Work the dough into a flattened rectangle. Wrap it in plastic and refrigerate for at least an hour. Dough can be refrigerated for up to 2 weeks.\n6. When you are ready to bake the crackers, preheat the oven to 375°F (190°C).\n7. Place the dough between two sheets of parchment paper. Use a rolling pin to roll the dough to within 1 inch (2.5 cm) of the edges of the\nparchment.\n8. Peel back the top layer of parchment and move the bottom layer of parchment (with the dough) to the baking sheet. If pieces of dough fall off\nwhile peeling, simply stick them back together with your fingers.\n9. Use a sharp knife or pizza cutter to score the crackers. Leave them connected.\n10. Bake for 15 to 16 minutes, until the crackers are lightly browned. Let the crackers cool before breaking them apart. Store them at room\ntemperature for up to 3 days.\nTO FREEZE\nCrackers that won't be eaten within 2 to 3 days can be frozen in an airtight container for up to 6 months; bring them to room temperature before\nserving. Cracker dough (prepared through step 5) can be frozen for up to 6 months; thaw it in the refrigerator before continuing with step 6."
    

    }

  2. Assistant
    {
        "NbPersons": 60,
        "Language": "en",
        "Category": "snack",
        "Title": "Buckwheat Maple Crackers",
        "Subtitle": "",
        "Preparation_Time": 90,
        "Cooking_Time": 16,
        "Difficulty": "medium",
        "Ingredients": [
            {
                "section": "Pour la recette",
                "ingredients": [
                    "128 grams (about 1 cup) Basic Flour Blend (page 23)",
                    "80 grams (about ½ cup) buckwheat flour",
                    "¼ teaspoon xanthan gum",
                    "¼ cup (42 g) maple sugar",
                    "½ teaspoon salt",
                    "8 tablespoons shortening (see page 7), cold",
                    "¼ cup (60 ml) pure maple syrup, cold",
                    "Up to 2 tablespoons cold water, as needed"
                ]
            }
        ],
        "Description": "These crackers remind me of a childhood trip to New Hampshire, where I was introduced to decadent candies made with pure maple sugar. Here, I combine that same melt-in-your-mouth goodness with buckwheat. Despite its name, buckwheat is not related to wheat, ground from seeds (known as groats), buckwheat flour is a great source of fiber and protein. These crackers are prepared similar to cookies.",
        "Instructions": [
            "Combine the flours, xanthan gum, maple sugar, and salt in a large mixing bowl.",
            "Cut the shortening into tablespoon-sized pieces and lay them on top of the flour.",
            "Use a pastry cutter or pastry fork to work the shortening into the flour. After 3 to 4 minutes of cutting the mixture will be crumbly.",
            "Add the maple syrup and work it into the dough with the pastry cutter. Add up to 2 tablespoons of cold water as needed, ½ tablespoon at a time, until the dough forms. (See Preparing Cookie Dough on page 236.)",
            "Work the dough into a flattened rectangle. Wrap it in plastic and refrigerate for at least an hour. Dough can be refrigerated for up to 2 weeks.",
            "When you are ready to bake the crackers, preheat the oven to 375°F (190°C).",
            "Place the dough between two sheets of parchment paper. Use a rolling pin to roll the dough to within 1 inch (2.5 cm) of the edges of the parchment.",
            "Peel back the top layer of parchment and move the bottom layer of parchment (with the dough) to the baking sheet. If pieces of dough fall off while peeling, simply stick them back together with your fingers.",
            "Use a sharp knife or pizza cutter to score the crackers. Leave them connected.",
            "Bake for 15 to 16 minutes, until the crackers are lightly browned. Let the crackers cool before breaking them apart. Store them at room temperature for up to 3 days.",
            "Crackers that won't be eaten within 2 to 3 days can be frozen in an airtight container for up to 6 months; bring them to room temperature before serving. Cracker dough (prepared through step 5) can be frozen for up to 6 months; thaw it in the refrigerator before continuing with step 6."
        ],
        "AuthorName": "",
        "Notes_Ingredients": "",
        "Notes_Instructions": ""
    }