USER
Goal
The objective is to extract and structure information from a cooking recipe into a JSON object without ever modifying the original text.
Identify and extract the requested information.
Calculate preparation and cooking times if not specified.
Structure the data into a JSON object conforming to the expected format.
Strictly respect the original language and text of the instructions.
Do not add or modify any information outside of organizing the data.
Return Format
Return a JSON object strictly adhering to this structure:
{
"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 should be the number of people the recipe serves. If multiple numbers keep the minimum of serves;
language should be the ISO 639 code of the recipe's language.
category should be "drinks" if it is a liquid from this list (tea, coffee, fruit juice, cocktail, mocktail). Otherwise, choose the best option from (bread, appetizer, starter, main, dessert, breakfast, snack, teatime, jam, sauce, icecream, sorbet, candies).
title should be the name of the recipe.
subtitle should be a complement to the recipe name.
preparation_time should be the total preparation time (in minutes). If not specified, try to calculate it based on the provided information.
cooking_time should be the total cooking time (in minutes). If not specified, try to calculate it based on the provided information.
difficulty should be one of the following: (easy, medium, hard).
ingredients should be a list of ingredients with quantities per section. Example: {section: "For the sauce", ingredients: ["1 kg of butter"]}. If no section information is provided, use "For the recipe".
instructions should be the instructions present in the explanations. Be precise and detailed about what is written for the instructions. Ensure to respect the order of the instructions. This is a list of strings.
description should be a presentation that makes one want to make the recipe.
notes_ingredients should be important details specified about the ingredients (optional ingredient, replacement of one ingredient with another, etc.).
notes_instructions should be important details specified about the steps to make the recipe (tips, advice, etc.).
Warnings
Do not modify any original text (title, description, ingredients, instructions).
Do not translate the recipe's language; it should be identified and preserved.
The instructions must be strictly identical to the original, without rephrasing.
If information is missing, leave the field empty without adding any invented content.
The quantities of ingredients must remain as a list of strings.
Respect the exact JSON format and ensure it is properly formatted.
The return of JSON object must be translate in english
Verify the return JSON object is in english
Context Dump
Source text provided:
{
"explication": "Kefta de sardines\nPoissons\nPréparation: 15 minutes - Cuisson : 30 minutes - Difficulté: Budget: *\nPour 4 personnes\n12 filets de\nsardines sans\npeau\nO½ bouquet de\ncoriandre\nO½ bouquet de\nmenthe\n5 gousses d'ail\nO1 ceuf\nO 1 oignon\nO 1 cuil. à café\nde cumin en\npoudre\nLe jus de\n1 citron\nOI boîte de\ntomates pelées\n1 cuil. à café de\ncannelle\nMixez la coriandre, la menthe et les gousses d'ail.\nRéservez.\nMixez grossièrement les sardines avec la moitié du\nmélange d'herbes hachées, la moitié du jus de citron,\nl'œuf, le cumin.\nFormez 12 boulettes avec le mélange de sardines,\npuis réservez.\nFaites revenir l'oignon émincé avec de l'huile\nd'olive, puis ajoutez les tomates pelées, le reste du\nmélange d'herbes, la cannelle et le reste du jus de\ncitron.\nMélangez le tout et ajoutez les boulettes de sardine.\nFaites cuire 30 minutes dans une poêle avec 2 cuil. à\nsoupe d'huile d'olive.\nServez avec du riz ou des pommes vapeur.\nO Huile d'olive\nLe plus santé\nLa sardine est un poisson gras, donc à consommer\navec modération dans le cadre d'un régime\nhypocalorique. C'est une source de protéines, d'acides\ngras essentiels polyinsaturés et de vitamine D.\n197"
}
ASSISTANT
```json
{
"NbPersons": 4,
"Language": "fr",
"Category": "main",
"Title": "Kefta de sardines",
"Subtitle": "Poissons",
"Preparation_Time": 15,
"Cooking_Time": 30,
"Difficulty": "easy",
"Ingredients": [
{
"section": "For the recipe",
"ingredients": [
"12 filets de sardines sans peau",
"O½ bouquet de coriandre",
"O½ bouquet de menthe",
"5 gousses d'ail",
"O1 ceuf",
"O 1 oignon",
"O 1 cuil. à café de cumin en poudre",
"Le jus de 1 citron",
"OI boîte de tomates pelées",
"1 cuil. à café de cannelle",
"O Huile d'olive"
]
}
],
"Description": "La sardine est un poisson gras, donc à consommer avec modération dans le cadre d'un régime hypocalorique. C'est une source de protéines, d'acides gras essentiels polyinsaturés et de vitamine D.",
"Instructions": [
"Mixez la coriandre, la menthe et les gousses d'ail.",
"Réservez.",
"Mixez grossièrement les sardines avec la moitié du mélange d'herbes hachées, la moitié du jus de citron, l'œuf, le cumin.",
"Formez 12 boulettes avec le mélange de sardines, puis réservez.",
"Faites revenir l'oignon émincé avec de l'huile d'olive, puis ajoutez les tomates pelées, le reste du mélange d'herbes, la cannelle et le reste du jus de citron.",
"Mélangez le tout et ajoutez les boulettes de sardine.",
"Faites cuire 30 minutes dans une poêle avec 2 cuil. à soupe d'huile d'olive.",
"Servez avec du riz ou des pommes vapeur."
],
"AuthorName": "",
"Notes_Ingredients": "Le plus santé",
"Notes_Instructions": "C'est une source de protéines, d'acides gras essentiels polyinsaturés et de vitamine D."
}
```