Add ML Backend
Add an ML backend to a project using the Label Studio UI or by sending a POST request using the following cURL command:
Headers
Authorization
Header authentication of the form Token <token>
Request
This endpoint expects an object.
auth_method
Auth method
Allowed values:
basic_auth_pass
Basic auth password
basic_auth_user
Basic auth user
description
Description
extra_params
Extra parameters
is_interactive
Is interactive
project
Project ID
timeout
Response model timeout
title
Title
url
ML backend URL
Response
basic_auth_pass_is_set
created_at
id
project
readable_state
updated_at
url
URL for the machine learning model server
auth_method
NONE
- NoneBASIC_AUTH
- Basic Auth
Allowed values:
auto_update
If false, model version is set by the user, if true - getting latest version from backend.
basic_auth_user
HTTP Basic Auth user
description
Description for the machine learning backend
error_message
Error message in error state
extra_params
is_interactive
Used to interactively annotate tasks. If true, model returns one list with results
model_version
Current model version associated with this machine learning backend
state
CO
- ConnectedDI
- DisconnectedER
- ErrorTR
- TrainingPR
- Predicting
Allowed values:
timeout
Response model timeout
title
Name of the machine learning backend