Comment on page
Custom API
We could also support custom API in case you want to use your own model, by telling us the API URL. All you need to do is making sure that the API complies to the request structure.
If you choose Custom, you can simply enter a custom API URL and load in any API of your own choice. You can see a Custom API sample preview by clicking the button beside the text field.

Custom API ML Assisted for Span Labeling

Custom API ML Assisted for Row Labeling
- 1.Fill in custom API URL
- 2.You can find API request body and response sample beside API URL dialog or examples below
- 3.Click "Predict Labels" to apply labels to your document
{
"id": "[project_id]",
"name": "[project_name]",
"documents": [
{
"id": "[document_id_1]",
"name": "[document_file_name_1]",
"sentences": [
{
"id": 0, // zero-based line number of the document
"text": "first message",
"metadata": []
},
{
"id": 1,
"text": "first message",
"metadata": []
},
]
}
]
}
Last modified 23d ago