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.
code
Assistant
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). Sinon choisis la meilleure option parmis (bread, appetizer, starter, main, dessert, breakfast, snack, teatime, jam, sauce)
- 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": "40 APPETIZERS\nFRISÉE\nwith Lardons and Croutons\nALLARD\nSERVES 4\nPREPARATION: 20 MINUTES\nCOOKING: 3 HOURS\nRESTING: 24 HOURS\nLARDONS, FRISÉE, AND\nCROUTONS\n400G 14.11 OUNCES PANCETTA\n(SALT-CURED PORK SIDE/BELLY)\n3 HEADS GOOD-QUALITY FRISÉE\n(CHICORY/CURLY ENDIVE)\n2 FICELLE LOAVES\n20ML 4 TEASPOONS GRAPESEED OIL\n10G 0.35 OUNCE (3/4 TABLESPOON)\nBUTTER\n30ML 2 TABLESPOONS\nRED WINE VINEGAR\nFRESHLY GROUND PEPPER\nMUSTARD VINAIGRETTE\n10G 0.35 OUNCE (3/4 TABLESPOON)\nDIJON MUSTARD\nSALT\nFRESHLY GROUND PEPPER\n20ML 4 TEASPOONS\nAGED RED WINE VINEGAR\n80ML\n1/3 CUP CANOLA OR\nRAPESEED OIL\nMAKE THE LARDONS, FRISÉE,\nAND CROUTONS\nOne day ahead, desalt the pancetta by putting it in a bowl and\nsimmering it in water for 24 hours at room temperature. The day\nof serving, select only the yellow frisée leaves. Wash and drain the\nleaves, and set aside* on paper towels.\nSimmer the pancetta in a Dutch oven (cast-iron casserole) and cover\nwith water. Cook it for 3 hours. Let cool in the cooking liquid. Drain\nthe pancetta and cut into 1cm - 5/8 inch lardons.\nCut the ficelle into cubes. Sear* the lardons in a skillet or frying pan\nwith the grapeseed oil. Once the lardons are golden and crispy,\nadd the croutons and fry. Then add the butter and fry until golden.\nRemove the pan from the heat and deglaze with the vinegar. Drain\nthe lardons and croutons in a strainer (sieve) to remove the excess\nfat. Season with pepper.\nMAKE THE\nMUSTARD\nVINAIGRETTE\nPut the mustard into a small bowl and season with salt and pepper.\nWhisk in the vinegar and finish off by gradually beating* in the oil\nto make an emulsion.\nFINISHING\nIn a bowl, dress the frisée with the vinaigrette. Make a nest of frisée\nleaves in salad bowls and top with the lardons and croutons.\nTHE WINE\nA WHITE BURGUNDY, SUCH AS SAVIGNY LES BEAUNE"
}
json
{
"NbPersons": 4,
"Language": "en",
"Category": "appetizer",
"Title": "FRISÉE with Lardons and Croutons",
"Subtitle": "ALLARD",
"Preparation_Time": 20,
"Cooking_Time": 180,
"Difficulty": "medium",
"Ingredients": [
{
"section": "Pour la recette",
"ingredients": [
"400G 14.11 OUNCES PANCETTA (SALT-CURED PORK SIDE/BELLY)",
"3 HEADS GOOD-QUALITY FRISÉE (CHICORY/CURLY ENDIVE)",
"2 FICELLE LOAVES",
"20ML 4 TEASPOONS GRAPESEED OIL",
"10G 0.35 OUNCE (3/4 TABLESPOON) BUTTER",
"30ML 2 TABLESPOONS RED WINE VINEGAR",
"FRESHLY GROUND PEPPER",
"10G 0.35 OUNCE (3/4 TABLESPOON) DIJON MUSTARD",
"SALT",
"20ML 4 TEASPOONS AGED RED WINE VINEGAR",
"80ML 1/3 CUP CANOLA OR RAPESEED OIL"
]
}
],
"Description": "A delightful appetizer featuring frisée lettuce complemented by crispy lardons and croutons, perfect to impress your guests.",
"Instructions": [
"One day ahead, desalt the pancetta by putting it in a bowl and simmering it in water for 24 hours at room temperature.",
"The day of serving, select only the yellow frisée leaves.",
"Wash and drain the leaves, and set aside on paper towels.",
"Simmer the pancetta in a Dutch oven (cast-iron casserole) and cover with water.",
"Cook it for 3 hours.",
"Let cool in the cooking liquid.",
"Drain the pancetta and cut into 1cm - 5/8 inch lardons.",
"Cut the ficelle into cubes.",
"Sear the lardons in a skillet or frying pan with the grapeseed oil.",
"Once the lardons are golden and crispy, add the croutons and fry.",
"Then add the butter and fry until golden.",
"Remove the pan from the heat and deglaze with the vinegar.",
"Drain the lardons and croutons in a strainer (sieve) to remove the excess fat.",
"Season with pepper.",
"Put the mustard into a small bowl and season with salt and pepper.",
"Whisk in the vinegar and finish off by gradually beating in the oil to make an emulsion.",
"In a bowl, dress the frisée with the vinaigrette.",
"Make a nest of frisée leaves in salad bowls and top with the lardons and croutons."
],
"AuthorName": "ALLARD",
"Notes_Ingredients": "",
"Notes_Instructions": "A WHITE BURGUNDY, SUCH AS SAVIGNY LES BEAUNE"
}