label-studio-sdk 2.0.10__py3-none-any.whl → 2.0.12__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of label-studio-sdk might be problematic. Click here for more details.
- label_studio_sdk/__init__.py +10 -0
- label_studio_sdk/activity_logs/client.py +12 -0
- label_studio_sdk/annotation_history/client.py +36 -0
- label_studio_sdk/annotation_reviews/client.py +60 -0
- label_studio_sdk/billing/client.py +12 -0
- label_studio_sdk/comments/client.py +72 -0
- label_studio_sdk/export_storage/azure_spi/client.py +84 -0
- label_studio_sdk/export_storage/databricks/client.py +84 -0
- label_studio_sdk/export_storage/gcswif/client.py +84 -0
- label_studio_sdk/export_storage/s3s/client.py +84 -0
- label_studio_sdk/import_storage/azure_spi/client.py +84 -0
- label_studio_sdk/import_storage/databricks/client.py +84 -0
- label_studio_sdk/import_storage/gcswif/client.py +84 -0
- label_studio_sdk/import_storage/s3s/client.py +84 -0
- label_studio_sdk/label_interface/control_tags.py +12 -7
- label_studio_sdk/ml/client.py +14 -2
- label_studio_sdk/model_providers/client.py +72 -0
- label_studio_sdk/organizations/client.py +30 -6
- label_studio_sdk/organizations/invites/client.py +24 -0
- label_studio_sdk/organizations/members/client.py +24 -0
- label_studio_sdk/organizations/permissions/client.py +60 -0
- label_studio_sdk/project_templates/client.py +76 -4
- label_studio_sdk/projects/__init__.py +14 -1
- label_studio_sdk/projects/assignments/client.py +60 -0
- label_studio_sdk/projects/client.py +20 -0
- label_studio_sdk/projects/members/bulk/client.py +24 -0
- label_studio_sdk/projects/members/client.py +149 -30
- label_studio_sdk/projects/members/paginated/client.py +12 -0
- label_studio_sdk/projects/metrics/client.py +24 -0
- label_studio_sdk/projects/pauses/client.py +60 -0
- label_studio_sdk/projects/roles/__init__.py +2 -0
- label_studio_sdk/projects/roles/client.py +555 -0
- label_studio_sdk/projects/stats/__init__.py +12 -0
- label_studio_sdk/projects/stats/client.py +766 -1
- label_studio_sdk/projects/stats/types/__init__.py +14 -0
- label_studio_sdk/projects/stats/types/stats_agreement_annotators_response.py +22 -0
- label_studio_sdk/projects/stats/types/stats_model_version_annotator_agreement_response.py +19 -0
- label_studio_sdk/projects/stats/types/stats_model_version_ground_truth_agreement_response.py +19 -0
- label_studio_sdk/projects/stats/types/stats_model_version_prediction_agreement_response.py +19 -0
- label_studio_sdk/projects/stats/types/stats_users_prediction_agreement_response.py +27 -0
- label_studio_sdk/projects/stats/types/stats_users_prediction_agreement_response_agreement_value.py +5 -0
- label_studio_sdk/prompts/client.py +96 -0
- label_studio_sdk/prompts/indicators/client.py +24 -0
- label_studio_sdk/prompts/runs/client.py +36 -0
- label_studio_sdk/prompts/versions/client.py +84 -0
- label_studio_sdk/sso/saml/client.py +24 -0
- label_studio_sdk/sso/scim/client.py +24 -0
- label_studio_sdk/types/__init__.py +10 -0
- label_studio_sdk/types/all_roles_project_list.py +5 -1
- label_studio_sdk/types/default_role.py +2 -2
- label_studio_sdk/types/lse_organization.py +1 -1
- label_studio_sdk/types/lse_project.py +5 -1
- label_studio_sdk/types/lse_project_create.py +5 -1
- label_studio_sdk/types/lse_project_response.py +5 -1
- label_studio_sdk/types/lse_project_update.py +5 -1
- label_studio_sdk/types/project.py +198 -0
- label_studio_sdk/types/project_member.py +19 -0
- label_studio_sdk/types/project_role.py +35 -0
- label_studio_sdk/types/project_sampling.py +7 -0
- label_studio_sdk/types/project_skip_queue.py +7 -0
- label_studio_sdk/types/project_template.py +1 -1
- label_studio_sdk/types/project_template_request.py +1 -1
- label_studio_sdk/users/client.py +24 -0
- label_studio_sdk/versions/client.py +12 -0
- label_studio_sdk/workspaces/__init__.py +2 -2
- label_studio_sdk/workspaces/client.py +4 -0
- label_studio_sdk/workspaces/projects/__init__.py +2 -0
- label_studio_sdk/workspaces/projects/client.py +352 -0
- {label_studio_sdk-2.0.10.dist-info → label_studio_sdk-2.0.12.dist-info}/METADATA +1 -1
- {label_studio_sdk-2.0.10.dist-info → label_studio_sdk-2.0.12.dist-info}/RECORD +72 -57
- {label_studio_sdk-2.0.10.dist-info → label_studio_sdk-2.0.12.dist-info}/LICENSE +0 -0
- {label_studio_sdk-2.0.10.dist-info → label_studio_sdk-2.0.12.dist-info}/WHEEL +0 -0
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
# This file was auto-generated by Fern from our API Definition.
|
|
2
2
|
|
|
3
3
|
from .stats_agreement_annotator_response import StatsAgreementAnnotatorResponse
|
|
4
|
+
from .stats_agreement_annotators_response import StatsAgreementAnnotatorsResponse
|
|
4
5
|
from .stats_data_filters_response import StatsDataFiltersResponse
|
|
5
6
|
from .stats_data_filters_response_user_filters import StatsDataFiltersResponseUserFilters
|
|
6
7
|
from .stats_data_filters_response_user_filters_stats_item import StatsDataFiltersResponseUserFiltersStatsItem
|
|
@@ -11,6 +12,9 @@ from .stats_iaa_response_iaa import StatsIaaResponseIaa
|
|
|
11
12
|
from .stats_iaa_response_std import StatsIaaResponseStd
|
|
12
13
|
from .stats_lead_time_response import StatsLeadTimeResponse
|
|
13
14
|
from .stats_lead_time_response_lead_time_stats_item import StatsLeadTimeResponseLeadTimeStatsItem
|
|
15
|
+
from .stats_model_version_annotator_agreement_response import StatsModelVersionAnnotatorAgreementResponse
|
|
16
|
+
from .stats_model_version_ground_truth_agreement_response import StatsModelVersionGroundTruthAgreementResponse
|
|
17
|
+
from .stats_model_version_prediction_agreement_response import StatsModelVersionPredictionAgreementResponse
|
|
14
18
|
from .stats_total_agreement_response import StatsTotalAgreementResponse
|
|
15
19
|
from .stats_total_agreement_response_one import StatsTotalAgreementResponseOne
|
|
16
20
|
from .stats_total_agreement_response_zero import StatsTotalAgreementResponseZero
|
|
@@ -23,9 +27,14 @@ from .stats_user_prediction_agreement_response_average_prediction_agreement_per_
|
|
|
23
27
|
from .stats_user_review_score_response import StatsUserReviewScoreResponse
|
|
24
28
|
from .stats_user_review_score_response_performance_score import StatsUserReviewScoreResponsePerformanceScore
|
|
25
29
|
from .stats_user_review_score_response_review_score import StatsUserReviewScoreResponseReviewScore
|
|
30
|
+
from .stats_users_prediction_agreement_response import StatsUsersPredictionAgreementResponse
|
|
31
|
+
from .stats_users_prediction_agreement_response_agreement_value import (
|
|
32
|
+
StatsUsersPredictionAgreementResponseAgreementValue,
|
|
33
|
+
)
|
|
26
34
|
|
|
27
35
|
__all__ = [
|
|
28
36
|
"StatsAgreementAnnotatorResponse",
|
|
37
|
+
"StatsAgreementAnnotatorsResponse",
|
|
29
38
|
"StatsDataFiltersResponse",
|
|
30
39
|
"StatsDataFiltersResponseUserFilters",
|
|
31
40
|
"StatsDataFiltersResponseUserFiltersStatsItem",
|
|
@@ -36,6 +45,9 @@ __all__ = [
|
|
|
36
45
|
"StatsIaaResponseStd",
|
|
37
46
|
"StatsLeadTimeResponse",
|
|
38
47
|
"StatsLeadTimeResponseLeadTimeStatsItem",
|
|
48
|
+
"StatsModelVersionAnnotatorAgreementResponse",
|
|
49
|
+
"StatsModelVersionGroundTruthAgreementResponse",
|
|
50
|
+
"StatsModelVersionPredictionAgreementResponse",
|
|
39
51
|
"StatsTotalAgreementResponse",
|
|
40
52
|
"StatsTotalAgreementResponseOne",
|
|
41
53
|
"StatsTotalAgreementResponseZero",
|
|
@@ -46,4 +58,6 @@ __all__ = [
|
|
|
46
58
|
"StatsUserReviewScoreResponse",
|
|
47
59
|
"StatsUserReviewScoreResponsePerformanceScore",
|
|
48
60
|
"StatsUserReviewScoreResponseReviewScore",
|
|
61
|
+
"StatsUsersPredictionAgreementResponse",
|
|
62
|
+
"StatsUsersPredictionAgreementResponseAgreementValue",
|
|
49
63
|
]
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
|
|
3
|
+
from ....core.unchecked_base_model import UncheckedBaseModel
|
|
4
|
+
import typing
|
|
5
|
+
import pydantic
|
|
6
|
+
from ....core.pydantic_utilities import IS_PYDANTIC_V2
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
class StatsAgreementAnnotatorsResponse(UncheckedBaseModel):
|
|
10
|
+
agreement: typing.Dict[str, float] = pydantic.Field()
|
|
11
|
+
"""
|
|
12
|
+
Mapping of annotator ID to their agreement score (0-1) or null if no data
|
|
13
|
+
"""
|
|
14
|
+
|
|
15
|
+
if IS_PYDANTIC_V2:
|
|
16
|
+
model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
|
|
17
|
+
else:
|
|
18
|
+
|
|
19
|
+
class Config:
|
|
20
|
+
frozen = True
|
|
21
|
+
smart_union = True
|
|
22
|
+
extra = pydantic.Extra.allow
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
# This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
|
|
3
|
+
from ....core.unchecked_base_model import UncheckedBaseModel
|
|
4
|
+
import typing
|
|
5
|
+
from ....core.pydantic_utilities import IS_PYDANTIC_V2
|
|
6
|
+
import pydantic
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
class StatsModelVersionAnnotatorAgreementResponse(UncheckedBaseModel):
|
|
10
|
+
agreement: typing.Optional[float] = None
|
|
11
|
+
|
|
12
|
+
if IS_PYDANTIC_V2:
|
|
13
|
+
model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
|
|
14
|
+
else:
|
|
15
|
+
|
|
16
|
+
class Config:
|
|
17
|
+
frozen = True
|
|
18
|
+
smart_union = True
|
|
19
|
+
extra = pydantic.Extra.allow
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
# This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
|
|
3
|
+
from ....core.unchecked_base_model import UncheckedBaseModel
|
|
4
|
+
import typing
|
|
5
|
+
from ....core.pydantic_utilities import IS_PYDANTIC_V2
|
|
6
|
+
import pydantic
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
class StatsModelVersionGroundTruthAgreementResponse(UncheckedBaseModel):
|
|
10
|
+
agreement: typing.Optional[float] = None
|
|
11
|
+
|
|
12
|
+
if IS_PYDANTIC_V2:
|
|
13
|
+
model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
|
|
14
|
+
else:
|
|
15
|
+
|
|
16
|
+
class Config:
|
|
17
|
+
frozen = True
|
|
18
|
+
smart_union = True
|
|
19
|
+
extra = pydantic.Extra.allow
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
# This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
|
|
3
|
+
from ....core.unchecked_base_model import UncheckedBaseModel
|
|
4
|
+
import typing
|
|
5
|
+
from ....core.pydantic_utilities import IS_PYDANTIC_V2
|
|
6
|
+
import pydantic
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
class StatsModelVersionPredictionAgreementResponse(UncheckedBaseModel):
|
|
10
|
+
average_prediction_agreement_per_model: typing.Optional[float] = None
|
|
11
|
+
|
|
12
|
+
if IS_PYDANTIC_V2:
|
|
13
|
+
model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
|
|
14
|
+
else:
|
|
15
|
+
|
|
16
|
+
class Config:
|
|
17
|
+
frozen = True
|
|
18
|
+
smart_union = True
|
|
19
|
+
extra = pydantic.Extra.allow
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
# This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
|
|
3
|
+
from ....core.unchecked_base_model import UncheckedBaseModel
|
|
4
|
+
import typing
|
|
5
|
+
from .stats_users_prediction_agreement_response_agreement_value import (
|
|
6
|
+
StatsUsersPredictionAgreementResponseAgreementValue,
|
|
7
|
+
)
|
|
8
|
+
import pydantic
|
|
9
|
+
from ....core.pydantic_utilities import IS_PYDANTIC_V2
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
class StatsUsersPredictionAgreementResponse(UncheckedBaseModel):
|
|
13
|
+
agreement: typing.Optional[typing.Dict[str, StatsUsersPredictionAgreementResponseAgreementValue]] = pydantic.Field(
|
|
14
|
+
default=None
|
|
15
|
+
)
|
|
16
|
+
"""
|
|
17
|
+
Dictionary mapping user IDs to their prediction agreement scores
|
|
18
|
+
"""
|
|
19
|
+
|
|
20
|
+
if IS_PYDANTIC_V2:
|
|
21
|
+
model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
|
|
22
|
+
else:
|
|
23
|
+
|
|
24
|
+
class Config:
|
|
25
|
+
frozen = True
|
|
26
|
+
smart_union = True
|
|
27
|
+
extra = pydantic.Extra.allow
|
|
@@ -48,6 +48,12 @@ class PromptsClient:
|
|
|
48
48
|
request_options: typing.Optional[RequestOptions] = None,
|
|
49
49
|
) -> BatchFailedPredictions:
|
|
50
50
|
"""
|
|
51
|
+
<Card href="https://humansignal.com/goenterprise">
|
|
52
|
+
<img style="pointer-events: none; margin-left: 0px; margin-right: 0px;" src="https://docs.humansignal.com/images/badge.svg" alt="Label Studio Enterprise badge"/>
|
|
53
|
+
<p style="margin-top: 10px; font-size: 14px;">
|
|
54
|
+
This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)
|
|
55
|
+
</p>
|
|
56
|
+
</Card>
|
|
51
57
|
Create a new batch of failed predictions.
|
|
52
58
|
|
|
53
59
|
Parameters
|
|
@@ -122,6 +128,12 @@ class PromptsClient:
|
|
|
122
128
|
request_options: typing.Optional[RequestOptions] = None,
|
|
123
129
|
) -> BatchPredictions:
|
|
124
130
|
"""
|
|
131
|
+
<Card href="https://humansignal.com/goenterprise">
|
|
132
|
+
<img style="pointer-events: none; margin-left: 0px; margin-right: 0px;" src="https://docs.humansignal.com/images/badge.svg" alt="Label Studio Enterprise badge"/>
|
|
133
|
+
<p style="margin-top: 10px; font-size: 14px;">
|
|
134
|
+
This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)
|
|
135
|
+
</p>
|
|
136
|
+
</Card>
|
|
125
137
|
Create a new batch prediction.
|
|
126
138
|
|
|
127
139
|
Parameters
|
|
@@ -200,6 +212,12 @@ class PromptsClient:
|
|
|
200
212
|
request_options: typing.Optional[RequestOptions] = None,
|
|
201
213
|
) -> PaginatedProjectSubsetTasksResponseList:
|
|
202
214
|
"""
|
|
215
|
+
<Card href="https://humansignal.com/goenterprise">
|
|
216
|
+
<img style="pointer-events: none; margin-left: 0px; margin-right: 0px;" src="https://docs.humansignal.com/images/badge.svg" alt="Label Studio Enterprise badge"/>
|
|
217
|
+
<p style="margin-top: 10px; font-size: 14px;">
|
|
218
|
+
This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)
|
|
219
|
+
</p>
|
|
220
|
+
</Card>
|
|
203
221
|
|
|
204
222
|
Provides list of tasks, based on project subset. Includes predictions for tasks. For the 'HasGT' subset, accuracy metrics will also be provided.
|
|
205
223
|
|
|
@@ -294,6 +312,12 @@ class PromptsClient:
|
|
|
294
312
|
request_options: typing.Optional[RequestOptions] = None,
|
|
295
313
|
) -> typing.List[ProjectSubsetItem]:
|
|
296
314
|
"""
|
|
315
|
+
<Card href="https://humansignal.com/goenterprise">
|
|
316
|
+
<img style="pointer-events: none; margin-left: 0px; margin-right: 0px;" src="https://docs.humansignal.com/images/badge.svg" alt="Label Studio Enterprise badge"/>
|
|
317
|
+
<p style="margin-top: 10px; font-size: 14px;">
|
|
318
|
+
This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)
|
|
319
|
+
</p>
|
|
320
|
+
</Card>
|
|
297
321
|
|
|
298
322
|
Provides list of available subsets for a project along with count of tasks in each subset
|
|
299
323
|
|
|
@@ -410,6 +434,12 @@ class PromptsClient:
|
|
|
410
434
|
request_options: typing.Optional[RequestOptions] = None,
|
|
411
435
|
) -> ModelInterface:
|
|
412
436
|
"""
|
|
437
|
+
<Card href="https://humansignal.com/goenterprise">
|
|
438
|
+
<img style="pointer-events: none; margin-left: 0px; margin-right: 0px;" src="https://docs.humansignal.com/images/badge.svg" alt="Label Studio Enterprise badge"/>
|
|
439
|
+
<p style="margin-top: 10px; font-size: 14px;">
|
|
440
|
+
This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)
|
|
441
|
+
</p>
|
|
442
|
+
</Card>
|
|
413
443
|
Create a new prompt.
|
|
414
444
|
|
|
415
445
|
Parameters
|
|
@@ -554,6 +584,12 @@ class PromptsClient:
|
|
|
554
584
|
|
|
555
585
|
def get(self, id: str, *, request_options: typing.Optional[RequestOptions] = None) -> ModelInterfaceSerializerGet:
|
|
556
586
|
"""
|
|
587
|
+
<Card href="https://humansignal.com/goenterprise">
|
|
588
|
+
<img style="pointer-events: none; margin-left: 0px; margin-right: 0px;" src="https://docs.humansignal.com/images/badge.svg" alt="Label Studio Enterprise badge"/>
|
|
589
|
+
<p style="margin-top: 10px; font-size: 14px;">
|
|
590
|
+
This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)
|
|
591
|
+
</p>
|
|
592
|
+
</Card>
|
|
557
593
|
Retrieve a specific prompt.
|
|
558
594
|
|
|
559
595
|
Parameters
|
|
@@ -600,6 +636,12 @@ class PromptsClient:
|
|
|
600
636
|
|
|
601
637
|
def delete(self, id: str, *, request_options: typing.Optional[RequestOptions] = None) -> None:
|
|
602
638
|
"""
|
|
639
|
+
<Card href="https://humansignal.com/goenterprise">
|
|
640
|
+
<img style="pointer-events: none; margin-left: 0px; margin-right: 0px;" src="https://docs.humansignal.com/images/badge.svg" alt="Label Studio Enterprise badge"/>
|
|
641
|
+
<p style="margin-top: 10px; font-size: 14px;">
|
|
642
|
+
This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)
|
|
643
|
+
</p>
|
|
644
|
+
</Card>
|
|
603
645
|
Delete a prompt by ID
|
|
604
646
|
|
|
605
647
|
Parameters
|
|
@@ -652,6 +694,12 @@ class PromptsClient:
|
|
|
652
694
|
request_options: typing.Optional[RequestOptions] = None,
|
|
653
695
|
) -> ModelInterface:
|
|
654
696
|
"""
|
|
697
|
+
<Card href="https://humansignal.com/goenterprise">
|
|
698
|
+
<img style="pointer-events: none; margin-left: 0px; margin-right: 0px;" src="https://docs.humansignal.com/images/badge.svg" alt="Label Studio Enterprise badge"/>
|
|
699
|
+
<p style="margin-top: 10px; font-size: 14px;">
|
|
700
|
+
This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)
|
|
701
|
+
</p>
|
|
702
|
+
</Card>
|
|
655
703
|
Update a specific prompt by ID.
|
|
656
704
|
|
|
657
705
|
Parameters
|
|
@@ -749,6 +797,12 @@ class AsyncPromptsClient:
|
|
|
749
797
|
request_options: typing.Optional[RequestOptions] = None,
|
|
750
798
|
) -> BatchFailedPredictions:
|
|
751
799
|
"""
|
|
800
|
+
<Card href="https://humansignal.com/goenterprise">
|
|
801
|
+
<img style="pointer-events: none; margin-left: 0px; margin-right: 0px;" src="https://docs.humansignal.com/images/badge.svg" alt="Label Studio Enterprise badge"/>
|
|
802
|
+
<p style="margin-top: 10px; font-size: 14px;">
|
|
803
|
+
This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)
|
|
804
|
+
</p>
|
|
805
|
+
</Card>
|
|
752
806
|
Create a new batch of failed predictions.
|
|
753
807
|
|
|
754
808
|
Parameters
|
|
@@ -831,6 +885,12 @@ class AsyncPromptsClient:
|
|
|
831
885
|
request_options: typing.Optional[RequestOptions] = None,
|
|
832
886
|
) -> BatchPredictions:
|
|
833
887
|
"""
|
|
888
|
+
<Card href="https://humansignal.com/goenterprise">
|
|
889
|
+
<img style="pointer-events: none; margin-left: 0px; margin-right: 0px;" src="https://docs.humansignal.com/images/badge.svg" alt="Label Studio Enterprise badge"/>
|
|
890
|
+
<p style="margin-top: 10px; font-size: 14px;">
|
|
891
|
+
This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)
|
|
892
|
+
</p>
|
|
893
|
+
</Card>
|
|
834
894
|
Create a new batch prediction.
|
|
835
895
|
|
|
836
896
|
Parameters
|
|
@@ -917,6 +977,12 @@ class AsyncPromptsClient:
|
|
|
917
977
|
request_options: typing.Optional[RequestOptions] = None,
|
|
918
978
|
) -> PaginatedProjectSubsetTasksResponseList:
|
|
919
979
|
"""
|
|
980
|
+
<Card href="https://humansignal.com/goenterprise">
|
|
981
|
+
<img style="pointer-events: none; margin-left: 0px; margin-right: 0px;" src="https://docs.humansignal.com/images/badge.svg" alt="Label Studio Enterprise badge"/>
|
|
982
|
+
<p style="margin-top: 10px; font-size: 14px;">
|
|
983
|
+
This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)
|
|
984
|
+
</p>
|
|
985
|
+
</Card>
|
|
920
986
|
|
|
921
987
|
Provides list of tasks, based on project subset. Includes predictions for tasks. For the 'HasGT' subset, accuracy metrics will also be provided.
|
|
922
988
|
|
|
@@ -1019,6 +1085,12 @@ class AsyncPromptsClient:
|
|
|
1019
1085
|
request_options: typing.Optional[RequestOptions] = None,
|
|
1020
1086
|
) -> typing.List[ProjectSubsetItem]:
|
|
1021
1087
|
"""
|
|
1088
|
+
<Card href="https://humansignal.com/goenterprise">
|
|
1089
|
+
<img style="pointer-events: none; margin-left: 0px; margin-right: 0px;" src="https://docs.humansignal.com/images/badge.svg" alt="Label Studio Enterprise badge"/>
|
|
1090
|
+
<p style="margin-top: 10px; font-size: 14px;">
|
|
1091
|
+
This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)
|
|
1092
|
+
</p>
|
|
1093
|
+
</Card>
|
|
1022
1094
|
|
|
1023
1095
|
Provides list of available subsets for a project along with count of tasks in each subset
|
|
1024
1096
|
|
|
@@ -1151,6 +1223,12 @@ class AsyncPromptsClient:
|
|
|
1151
1223
|
request_options: typing.Optional[RequestOptions] = None,
|
|
1152
1224
|
) -> ModelInterface:
|
|
1153
1225
|
"""
|
|
1226
|
+
<Card href="https://humansignal.com/goenterprise">
|
|
1227
|
+
<img style="pointer-events: none; margin-left: 0px; margin-right: 0px;" src="https://docs.humansignal.com/images/badge.svg" alt="Label Studio Enterprise badge"/>
|
|
1228
|
+
<p style="margin-top: 10px; font-size: 14px;">
|
|
1229
|
+
This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)
|
|
1230
|
+
</p>
|
|
1231
|
+
</Card>
|
|
1154
1232
|
Create a new prompt.
|
|
1155
1233
|
|
|
1156
1234
|
Parameters
|
|
@@ -1313,6 +1391,12 @@ class AsyncPromptsClient:
|
|
|
1313
1391
|
self, id: str, *, request_options: typing.Optional[RequestOptions] = None
|
|
1314
1392
|
) -> ModelInterfaceSerializerGet:
|
|
1315
1393
|
"""
|
|
1394
|
+
<Card href="https://humansignal.com/goenterprise">
|
|
1395
|
+
<img style="pointer-events: none; margin-left: 0px; margin-right: 0px;" src="https://docs.humansignal.com/images/badge.svg" alt="Label Studio Enterprise badge"/>
|
|
1396
|
+
<p style="margin-top: 10px; font-size: 14px;">
|
|
1397
|
+
This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)
|
|
1398
|
+
</p>
|
|
1399
|
+
</Card>
|
|
1316
1400
|
Retrieve a specific prompt.
|
|
1317
1401
|
|
|
1318
1402
|
Parameters
|
|
@@ -1367,6 +1451,12 @@ class AsyncPromptsClient:
|
|
|
1367
1451
|
|
|
1368
1452
|
async def delete(self, id: str, *, request_options: typing.Optional[RequestOptions] = None) -> None:
|
|
1369
1453
|
"""
|
|
1454
|
+
<Card href="https://humansignal.com/goenterprise">
|
|
1455
|
+
<img style="pointer-events: none; margin-left: 0px; margin-right: 0px;" src="https://docs.humansignal.com/images/badge.svg" alt="Label Studio Enterprise badge"/>
|
|
1456
|
+
<p style="margin-top: 10px; font-size: 14px;">
|
|
1457
|
+
This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)
|
|
1458
|
+
</p>
|
|
1459
|
+
</Card>
|
|
1370
1460
|
Delete a prompt by ID
|
|
1371
1461
|
|
|
1372
1462
|
Parameters
|
|
@@ -1427,6 +1517,12 @@ class AsyncPromptsClient:
|
|
|
1427
1517
|
request_options: typing.Optional[RequestOptions] = None,
|
|
1428
1518
|
) -> ModelInterface:
|
|
1429
1519
|
"""
|
|
1520
|
+
<Card href="https://humansignal.com/goenterprise">
|
|
1521
|
+
<img style="pointer-events: none; margin-left: 0px; margin-right: 0px;" src="https://docs.humansignal.com/images/badge.svg" alt="Label Studio Enterprise badge"/>
|
|
1522
|
+
<p style="margin-top: 10px; font-size: 14px;">
|
|
1523
|
+
This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)
|
|
1524
|
+
</p>
|
|
1525
|
+
</Card>
|
|
1430
1526
|
Update a specific prompt by ID.
|
|
1431
1527
|
|
|
1432
1528
|
Parameters
|
|
@@ -20,6 +20,12 @@ class IndicatorsClient:
|
|
|
20
20
|
self, id: int, *, request_options: typing.Optional[RequestOptions] = None
|
|
21
21
|
) -> typing.List[IndicatorsListResponseItem]:
|
|
22
22
|
"""
|
|
23
|
+
<Card href="https://humansignal.com/goenterprise">
|
|
24
|
+
<img style="pointer-events: none; margin-left: 0px; margin-right: 0px;" src="https://docs.humansignal.com/images/badge.svg" alt="Label Studio Enterprise badge"/>
|
|
25
|
+
<p style="margin-top: 10px; font-size: 14px;">
|
|
26
|
+
This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)
|
|
27
|
+
</p>
|
|
28
|
+
</Card>
|
|
23
29
|
Get key indicators for the Prompt dashboard.
|
|
24
30
|
|
|
25
31
|
Parameters
|
|
@@ -68,6 +74,12 @@ class IndicatorsClient:
|
|
|
68
74
|
self, id: int, indicator_key: str, *, request_options: typing.Optional[RequestOptions] = None
|
|
69
75
|
) -> LseKeyIndicatorValue:
|
|
70
76
|
"""
|
|
77
|
+
<Card href="https://humansignal.com/goenterprise">
|
|
78
|
+
<img style="pointer-events: none; margin-left: 0px; margin-right: 0px;" src="https://docs.humansignal.com/images/badge.svg" alt="Label Studio Enterprise badge"/>
|
|
79
|
+
<p style="margin-top: 10px; font-size: 14px;">
|
|
80
|
+
This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)
|
|
81
|
+
</p>
|
|
82
|
+
</Card>
|
|
71
83
|
Get a specific key indicator for the Prompt dashboard.
|
|
72
84
|
|
|
73
85
|
Parameters
|
|
@@ -124,6 +136,12 @@ class AsyncIndicatorsClient:
|
|
|
124
136
|
self, id: int, *, request_options: typing.Optional[RequestOptions] = None
|
|
125
137
|
) -> typing.List[IndicatorsListResponseItem]:
|
|
126
138
|
"""
|
|
139
|
+
<Card href="https://humansignal.com/goenterprise">
|
|
140
|
+
<img style="pointer-events: none; margin-left: 0px; margin-right: 0px;" src="https://docs.humansignal.com/images/badge.svg" alt="Label Studio Enterprise badge"/>
|
|
141
|
+
<p style="margin-top: 10px; font-size: 14px;">
|
|
142
|
+
This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)
|
|
143
|
+
</p>
|
|
144
|
+
</Card>
|
|
127
145
|
Get key indicators for the Prompt dashboard.
|
|
128
146
|
|
|
129
147
|
Parameters
|
|
@@ -180,6 +198,12 @@ class AsyncIndicatorsClient:
|
|
|
180
198
|
self, id: int, indicator_key: str, *, request_options: typing.Optional[RequestOptions] = None
|
|
181
199
|
) -> LseKeyIndicatorValue:
|
|
182
200
|
"""
|
|
201
|
+
<Card href="https://humansignal.com/goenterprise">
|
|
202
|
+
<img style="pointer-events: none; margin-left: 0px; margin-right: 0px;" src="https://docs.humansignal.com/images/badge.svg" alt="Label Studio Enterprise badge"/>
|
|
203
|
+
<p style="margin-top: 10px; font-size: 14px;">
|
|
204
|
+
This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)
|
|
205
|
+
</p>
|
|
206
|
+
</Card>
|
|
183
207
|
Get a specific key indicator for the Prompt dashboard.
|
|
184
208
|
|
|
185
209
|
Parameters
|
|
@@ -34,6 +34,12 @@ class RunsClient:
|
|
|
34
34
|
request_options: typing.Optional[RequestOptions] = None,
|
|
35
35
|
) -> typing.List[ModelRun]:
|
|
36
36
|
"""
|
|
37
|
+
<Card href="https://humansignal.com/goenterprise">
|
|
38
|
+
<img style="pointer-events: none; margin-left: 0px; margin-right: 0px;" src="https://docs.humansignal.com/images/badge.svg" alt="Label Studio Enterprise badge"/>
|
|
39
|
+
<p style="margin-top: 10px; font-size: 14px;">
|
|
40
|
+
This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)
|
|
41
|
+
</p>
|
|
42
|
+
</Card>
|
|
37
43
|
Get information (status, metadata, etc) about an existing inference run
|
|
38
44
|
|
|
39
45
|
Parameters
|
|
@@ -115,6 +121,12 @@ class RunsClient:
|
|
|
115
121
|
request_options: typing.Optional[RequestOptions] = None,
|
|
116
122
|
) -> ModelRun:
|
|
117
123
|
"""
|
|
124
|
+
<Card href="https://humansignal.com/goenterprise">
|
|
125
|
+
<img style="pointer-events: none; margin-left: 0px; margin-right: 0px;" src="https://docs.humansignal.com/images/badge.svg" alt="Label Studio Enterprise badge"/>
|
|
126
|
+
<p style="margin-top: 10px; font-size: 14px;">
|
|
127
|
+
This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)
|
|
128
|
+
</p>
|
|
129
|
+
</Card>
|
|
118
130
|
Run a prompt inference.
|
|
119
131
|
|
|
120
132
|
Parameters
|
|
@@ -203,6 +215,12 @@ class RunsClient:
|
|
|
203
215
|
request_options: typing.Optional[RequestOptions] = None,
|
|
204
216
|
) -> CancelModelRunResponse:
|
|
205
217
|
"""
|
|
218
|
+
<Card href="https://humansignal.com/goenterprise">
|
|
219
|
+
<img style="pointer-events: none; margin-left: 0px; margin-right: 0px;" src="https://docs.humansignal.com/images/badge.svg" alt="Label Studio Enterprise badge"/>
|
|
220
|
+
<p style="margin-top: 10px; font-size: 14px;">
|
|
221
|
+
This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)
|
|
222
|
+
</p>
|
|
223
|
+
</Card>
|
|
206
224
|
Cancel the inference run for the given api
|
|
207
225
|
|
|
208
226
|
Parameters
|
|
@@ -270,6 +288,12 @@ class AsyncRunsClient:
|
|
|
270
288
|
request_options: typing.Optional[RequestOptions] = None,
|
|
271
289
|
) -> typing.List[ModelRun]:
|
|
272
290
|
"""
|
|
291
|
+
<Card href="https://humansignal.com/goenterprise">
|
|
292
|
+
<img style="pointer-events: none; margin-left: 0px; margin-right: 0px;" src="https://docs.humansignal.com/images/badge.svg" alt="Label Studio Enterprise badge"/>
|
|
293
|
+
<p style="margin-top: 10px; font-size: 14px;">
|
|
294
|
+
This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)
|
|
295
|
+
</p>
|
|
296
|
+
</Card>
|
|
273
297
|
Get information (status, metadata, etc) about an existing inference run
|
|
274
298
|
|
|
275
299
|
Parameters
|
|
@@ -359,6 +383,12 @@ class AsyncRunsClient:
|
|
|
359
383
|
request_options: typing.Optional[RequestOptions] = None,
|
|
360
384
|
) -> ModelRun:
|
|
361
385
|
"""
|
|
386
|
+
<Card href="https://humansignal.com/goenterprise">
|
|
387
|
+
<img style="pointer-events: none; margin-left: 0px; margin-right: 0px;" src="https://docs.humansignal.com/images/badge.svg" alt="Label Studio Enterprise badge"/>
|
|
388
|
+
<p style="margin-top: 10px; font-size: 14px;">
|
|
389
|
+
This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)
|
|
390
|
+
</p>
|
|
391
|
+
</Card>
|
|
362
392
|
Run a prompt inference.
|
|
363
393
|
|
|
364
394
|
Parameters
|
|
@@ -455,6 +485,12 @@ class AsyncRunsClient:
|
|
|
455
485
|
request_options: typing.Optional[RequestOptions] = None,
|
|
456
486
|
) -> CancelModelRunResponse:
|
|
457
487
|
"""
|
|
488
|
+
<Card href="https://humansignal.com/goenterprise">
|
|
489
|
+
<img style="pointer-events: none; margin-left: 0px; margin-right: 0px;" src="https://docs.humansignal.com/images/badge.svg" alt="Label Studio Enterprise badge"/>
|
|
490
|
+
<p style="margin-top: 10px; font-size: 14px;">
|
|
491
|
+
This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)
|
|
492
|
+
</p>
|
|
493
|
+
</Card>
|
|
458
494
|
Cancel the inference run for the given api
|
|
459
495
|
|
|
460
496
|
Parameters
|