Recipes - Overview

Prev Next

What is a Recipe?

In Dataloop, a Recipe serves as the foundational configuration for annotation tasks. It defines the structure, behavior, and guidelines for how data should be labeled across various domains. Recipes enable teams to standardize labeling processes, improve annotation quality, and accelerate the training of AI and ML models.

Recipes promote consistency and repeatability by ensuring that annotators follow predefined parameters aligned with the project’s goals.

Ontology

Contains the labels (classes) and attributes used in the project. The dataset ontology is the building block of a model and helps define the information applied to data to represent the knowledge models that are then trained to inference.

  • Labels (like classes) are the names used for classifying annotations.

  • Attributes allow additional independent degrees of freedom to define labels.

Recipe and Dataset Association

  • Every Dataset is linked to a single Recipe by default.

  • During dataset creation, users can:

    • Create a new Recipe (with the same name as the dataset), or

    • Link an existing Recipe to the new dataset.

  • This linkage ensures that the dataset has predefined labeling instructions from the outset.

Recipe and Task Configuration

  • Annotation and QA tasks derive their configuration from the linked Recipe.

  • By default, a task uses the recipe associated with the dataset from which its items originate.

  • However, users can override the default recipe during task creation or editing:

    • This enables the same data item to be annotated or reviewed under multiple recipes, each with distinct taxonomies or label structures.

    • Useful for multi-purpose evaluations, A/B workflows, or cross-domain annotation strategies.

Working with Recipes via SDK

Dataloop’s SDK allows developers to programmatically create, manage, and associate recipes within their pipelines.

  • You can define ontologies, attributes, tools, and task instructions via code.

  • Useful for automating dataset onboarding or syncing recipe configurations across projects.

To learn more, visit the Developers Guide on Recipes.


Types of Recipes

Classic ML Recipe

The Classic ML Recipe is designed for traditional machine learning pipelines and structured data-labeling workflows. It provides all the essential components required for defining how data is annotated — including ontology, annotation tools, attributes, and studio settings — within a modernized and user-friendly interface.

This recipe type offers improved usability, streamlined configuration, and enhanced management of labels, attributes, and tools, helping teams create consistent and efficient annotation workflows optimized for classic ML model development.

Users can still switch back to the Legacy Recipe when needed to maintain older project setups or workflows.

Best suited for:

  • Computer Vision (image classification, detection, segmentation)

  • Natural Language Processing (text classification, entity recognition)

  • Audio analysis (speech labeling, transcription)

  • 3D/LiDAR data annotation

Features and Setup:

  • Define hierarchical labels and custom attributes

  • Configure annotation tools (bounding box, polygon, keypoint, etc.)

  • Set label colors, import/export labels from text files

  • Provide detailed PDF work instructions to guide annotators

  • Enable rule-based studio configurations to control labeling behavior

  • Fully compatible with SDK and automation tools for model-assisted labeling

Learn more

GenAI / Multimodal Recipe

The Multimodal recipe is tailored for evaluating and managing responses from Generative AI models and multi-input annotation tasks.

Best suited for:

  • LLM-based workflows (prompt-response evaluation)

  • Image + Text alignment tasks

  • Multimodal data analysis

Features and Setup:

  • Start with ready-to-use templates or design a custom layout

  • Define input prompts, responses, and evaluation criteria

  • Customize interface for tasks like ranking, scoring, classification, or open-ended assessment

  • Support for integrating multiple data types (text, images, audio, etc.) within a single annotation flow

  • Ideal for prompt engineering, response quality benchmarking, and human-in-the-loop validation

  • Provide detailed PDF work instructions to guide annotators.

Learn more

Recipes for Annotation Studios

In Dataloop, Annotation Studios are specialized workspaces designed for annotating different data types (images, video, lidar, text, etc.).

A Recipe defines how annotation happens inside that studio — what tools are available, what labels exist, and what automation (ML) is used.

Annotation Studio

Supported Recipe Type(s)

Explanation

Image Studio

Classic ML Recipe

Used for image annotation (bounding boxes, polygons, segmentation). Works with classic CV automation models.

PDF Studio

Classic ML Recipe

For annotating PDF documents using text selection, bounding boxes, and OCR-supported tasks.

Video Studio

Classic ML Recipe

Built for video annotation with tracking, interpolation, and frame-by-frame labeling.

Audio Studio

Classic ML Recipe

Used for annotating audio waveforms, segments, and classifications.

Lidar Studio

Classic ML Recipe

For annotating 3D point clouds (LiDAR), including 3D boxes and segmentation.

Text Classification Studio

Classic ML Recipe

Designed for text classification tasks like sentiment, topic tagging, or label selection.

GIS Studio

Classic ML Recipe

For geospatial annotations (polygons, lines, points) on raster/vector maps.

Prompt Studio

Classic ML Recipe

A GenAI-native studio. Uses attributes from the recipes to provide feedback about the responses.

GenAI Evaluation Studio

GenAI / Multimodal Recipe

For evaluating LLM and multimodal model responses using scoring, ranking, or pairwise comparison. Uses the newest GenAI recipe format.


Create Recipes

Dataloop enables you to create tailored recipes based on your specific task type, offering support for both Classic ML and GenAI/Multimodal workflows.


Access Recipes

To open the recipe page for a specific Dataset, use one of the following options:

  1. From the Dashboard → Data Management table:

    1. Find the Dataset from the list.

    2. Click on the Recipe icon to view recipe details.

  1. From the Recipes menu:

    1. Click on the Recipes from the lift-side menu.

    2. Locate/search for the recipe from the list.

    3. Click on the recipe.

  2. From the Dataset Browser:

    1. Open the Dataset Browser.

    2. In the right-side panel of Dataset Details, click on the recipe link from the Recipe field.

  1. From Annotation Studios:

    1. Click on the Recipe link above the label-picker section.

Permission

Only Annotation Manager or above can access from Annotation Studios.

  1. Or, select the Item tab from the right-side panel.

  2. Click on the Recipe icon in the Item-Info tab,


View Preview of a Recipe

  1. Click on the Recipes from the lift-side menu.

  2. Locate or search for the desired recipe in the list.

  3. Select the recipe. A preview of the selected recipe will appear in the right-side panel, displaying its labels and attributes.

This page helps you to edit, export ontology, clone recipes, etc. used across your datasets and annotation projects.


Manage Your Recipes

Edit Recipes

  1. Click on the Recipes from the lift-side menu.

  2. Locate or search for the desired recipe in the list.

  3. Click on the â‹® Three Dots and select Edit Recipe from the list.

  4. Make required changes and click Save.


Copy Recipe ID

  1. Click on the Recipes from the lift-side menu.

  2. Locate or search for the desired recipe in the list.

  3. Click on the â‹® Three Dots and select Copy Recipe ID from the list. The recipe ID will be copied.


Delete Recipes

  1. Click on the Recipes from the lift-side menu.

  2. Locate or search for the desired recipe in the list.

  3. Click on the â‹® Three Dots and select Delete Recipe from the list.

  4. Click Delete to confirm. Deleting a recipe from a dataset will also remove it from any other datasets where it has been set as the active recipe.


Switch (or Change) the Recipe of a Dataset

To change the recipe linked from one dataset to another:

  1. Click on the Data from the lift-side menu.

  2. Locate or search for the desired dataset in the list.

  3. Click on the 3-dots action button of a dataset entry (from either the project overview or the Datasets page).

  4. Select Switch Recipe.

  5. Select a different recipe from the list and approve.


Updating the Ontology with a Label Thumbnail Using the SDK

The following code snippets demonstrate how to add a new label with a thumbnail and how to update an existing label to include thumbnail display data using the Dataloop SDK.

Adding a Label with a Thumbnail

import dtlpy as dl
dataset = dl.datasets.get(dataset_id="65f82c9fc26fd1bc97ea9915")
ontology = dataset.ontologies.list()[0]
ontology.add_label(label_name='dog', color=(34, 6, 231), icon_path=r"C:\Datasets\Dogs\dog.webp")

Updating an Existing Label with a Thumbnail

import dtlpy as dl
dataset = dl.datasets.get(dataset_id="65f82c9fc26fd1bc97ea9915")
ontology = dataset.ontologies.list()[0]
# Add label if not already existing
ontology.add_label(label_name='dog', color=(34, 6, 231), icon_path=r"C:\Datasets\Dogs\dog.webp")
# Create a label object with display data
label = dl.Label(tag='dog',
                 display_label='dog',
                 display_data={'displayImage': {'itemId': '65fa86e310864a269c607064',
                                                'datasetId': "65f82c9fc26fd1bc97ea9915"}})
# Update the label in the ontology
ontology.update_labels(label_list=[label], update_ontology=True)