Programmatic API Labeling
This feature allows you to use an API to apply labels to multiple projects at once.
Last updated
This feature allows you to use an API to apply labels to multiple projects at once.
Last updated
The Programmatic API Labeling feature automates . This feature is best suited for users who want to compare between their model and a human labeler, or between two models.
After successfully , you can follow these steps:
In this example, we will create a token-based project with 2 documents and 1 labeler. We will perform the auto labeling process against this project and add labels in the labeler's document.
The API request above returns a response containing the project id: “PROJECT_ID_1”, which is going to be used for the next set of API requests.
This operation will ask our backend to perform the auto**-**labeling task. We perform the request in chunks. For example, if you have 500 files and 5 files will be sent per request, it will require 100 API calls.
Note: the number of files that can be sent per request depends on your internal server.
Velociraptor API
for labeler@datasaur.aiThe sample response below will apply two labels to the first document and three labels to the second document.
Once the auto labeling process is complete, the labeler's document will look like the screenshots below:
Layer Auto Labeling allows you to specify layer for each label.
On the example below, we will auto label TITLE
on the Layer 1 and YEAR
on the Layer 2.
The instructions are still the same as above. However, we will add a new key "layer"
in the API response.
The labeler's document will look like the screenshots below:
Detailed guidelines can be found .
Our backend will make several API requests based on the configuration provided from the request above. From the sample configuration above, our backend will make an API request to ...