Developer guide for importing annotations on prompt and response projects.
API_KEY
with a valid API key to connect to the Labelbox client.
global_keys
or data_row_ids
attached to the generated data rows by exporting them from the created project or obtaining them directly on the data row tab using the UI.
name
parameter needs to match the value of the name
field in your annotation.
For example, if you provide a name annotation_name
for your created annotation, you need to name the bounding box tool as anotations_name
when setting up your ontology. The same alignment must hold true for the other tools and classifications that you create in the ontology.
This example shows how to create an ontology containing all supported by prompt and response project types annotation types.
global_keys
or data_row_ids
attached to the generated data rows by exporting them from the created project. Since the generation of data rows is an async process you will need to wait for the project data rows to be completed before exporting.
predictions
parameter. For ground truths, pass the payload to the labels
parameter.
is_benchmark_reference
to specify benchmarks.