Custom API
Supported Labeling Types: Span Labeling
, Row Labeling
, Bounding Box Labeling
, Document labeling
We also support Custom API in case you want to use your own model for ML-assisted labeling by simply providing the API URL. Ensure your custom API follows the required request structure to integrate smoothly with the Datasaur platform. Here’s how to set it up:
Setting Up Your Custom API for ML-Assisted Labeling
Create an API: Build an API for your model that adheres to a specific request and response format compatible with the Datasaur App. For guidance, refer to the API Creation Example.
Request and Response Structure: You can find example request and response body near the API URL input field or in the examples below.
Entering Your API URL: Once your API is ready, fill in the API URL in the designated field under the extension.
For Span Based project
Sentences per request (0 = all): Determine how many text you want to include in 1 request to your API service.
For Row Based project
Target Text: Choose the text input that your model will use as a reference.
Target Question: Select the output column your model will predict.
Faster Prediction Speed: Optionally, toggle this feature to run predictions faster via the backend.
Confidence Score: Adjust the value according to your needs.
Apply Labels: After setting up, click "Predict Labels" to automatically apply labels to your document based on your model's predictions.
Custom API for Span Based

Custom API for Row Based

Custom API for Bounding Box Labeling

Custom API for Document Based

Last updated