Custom API
We also support a Custom API option for using your own model in ML-assisted labeling by providing an API URL. Your API must follow the required request structure to integrate with the Datasaur platform. Here’s how to set it up:
Set up custom API for ML-assisted labeling
Build an API for your model that follows the required request and response format compatible with Datasaur. For guidance, refer to the API creation example.
You can find example request and response bodies near the API URL input field or in the Examples section below.
Once your API is ready, enter the API URL in the designated field in the extension.
For span labeling project
Sentences per request (0 = all): Define how many sentences are sent in a single API request.
For row labeling project
Target text: Select the input text used as reference.
Target question: Select the output column to predict.
Faster prediction speed: Enables faster predictions by processing requests on the backend.
Confidence score: Adjust the value according to your needs.
Click Predict labels.
Examples
Custom API for span labeling

Custom API for row labeling

Custom API for bounding box labeling

Custom API for document labeling

Last updated