label-studio-sdk 1.0.7__py3-none-any.whl → 1.0.8__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 +6 -0
- label_studio_sdk/_extensions/label_studio_tools/core/label_config.py +13 -4
- label_studio_sdk/_extensions/label_studio_tools/core/utils/json_schema.py +86 -0
- label_studio_sdk/_legacy/schema/label_config_schema.json +42 -11
- label_studio_sdk/converter/converter.py +10 -5
- label_studio_sdk/core/client_wrapper.py +1 -1
- label_studio_sdk/label_interface/control_tags.py +205 -10
- label_studio_sdk/label_interface/interface.py +80 -6
- label_studio_sdk/label_interface/region.py +1 -10
- label_studio_sdk/model_providers/client.py +520 -2
- label_studio_sdk/prompts/versions/client.py +125 -0
- label_studio_sdk/types/__init__.py +6 -0
- label_studio_sdk/types/inference_run_cost_estimate.py +57 -0
- label_studio_sdk/types/model_provider_connection.py +30 -0
- label_studio_sdk/types/model_provider_connection_budget_reset_period.py +5 -0
- label_studio_sdk/types/model_provider_connection_provider.py +1 -1
- label_studio_sdk/types/refined_prompt_response.py +1 -1
- label_studio_sdk/types/task.py +3 -2
- label_studio_sdk/types/task_comment_authors_item.py +5 -0
- {label_studio_sdk-1.0.7.dist-info → label_studio_sdk-1.0.8.dist-info}/METADATA +3 -1
- {label_studio_sdk-1.0.7.dist-info → label_studio_sdk-1.0.8.dist-info}/RECORD +23 -19
- {label_studio_sdk-1.0.7.dist-info → label_studio_sdk-1.0.8.dist-info}/LICENSE +0 -0
- {label_studio_sdk-1.0.7.dist-info → label_studio_sdk-1.0.8.dist-info}/WHEEL +0 -0
|
@@ -9,6 +9,7 @@ from ...core.client_wrapper import AsyncClientWrapper, SyncClientWrapper
|
|
|
9
9
|
from ...core.jsonable_encoder import jsonable_encoder
|
|
10
10
|
from ...core.pydantic_utilities import pydantic_v1
|
|
11
11
|
from ...core.request_options import RequestOptions
|
|
12
|
+
from ...types.inference_run_cost_estimate import InferenceRunCostEstimate
|
|
12
13
|
from ...types.prompt_version import PromptVersion
|
|
13
14
|
from ...types.prompt_version_created_by import PromptVersionCreatedBy
|
|
14
15
|
from ...types.prompt_version_organization import PromptVersionOrganization
|
|
@@ -336,6 +337,68 @@ class VersionsClient:
|
|
|
336
337
|
raise ApiError(status_code=_response.status_code, body=_response.text)
|
|
337
338
|
raise ApiError(status_code=_response.status_code, body=_response_json)
|
|
338
339
|
|
|
340
|
+
def cost_estimate(
|
|
341
|
+
self,
|
|
342
|
+
prompt_id: int,
|
|
343
|
+
version_id: int,
|
|
344
|
+
*,
|
|
345
|
+
project_id: int,
|
|
346
|
+
project_subset: int,
|
|
347
|
+
request_options: typing.Optional[RequestOptions] = None,
|
|
348
|
+
) -> InferenceRunCostEstimate:
|
|
349
|
+
"""
|
|
350
|
+
Get cost estimate for running a prompt version on a particular project/subset
|
|
351
|
+
|
|
352
|
+
Parameters
|
|
353
|
+
----------
|
|
354
|
+
prompt_id : int
|
|
355
|
+
Prompt ID
|
|
356
|
+
|
|
357
|
+
version_id : int
|
|
358
|
+
Prompt Version ID
|
|
359
|
+
|
|
360
|
+
project_id : int
|
|
361
|
+
ID of the project to get an estimate for running on
|
|
362
|
+
|
|
363
|
+
project_subset : int
|
|
364
|
+
Subset of the project to get an estimate for running on (e.g. 'All', 'Sample', or 'HasGT')
|
|
365
|
+
|
|
366
|
+
request_options : typing.Optional[RequestOptions]
|
|
367
|
+
Request-specific configuration.
|
|
368
|
+
|
|
369
|
+
Returns
|
|
370
|
+
-------
|
|
371
|
+
InferenceRunCostEstimate
|
|
372
|
+
|
|
373
|
+
|
|
374
|
+
Examples
|
|
375
|
+
--------
|
|
376
|
+
from label_studio_sdk.client import LabelStudio
|
|
377
|
+
|
|
378
|
+
client = LabelStudio(
|
|
379
|
+
api_key="YOUR_API_KEY",
|
|
380
|
+
)
|
|
381
|
+
client.prompts.versions.cost_estimate(
|
|
382
|
+
prompt_id=1,
|
|
383
|
+
version_id=1,
|
|
384
|
+
project_id=1,
|
|
385
|
+
project_subset=1,
|
|
386
|
+
)
|
|
387
|
+
"""
|
|
388
|
+
_response = self._client_wrapper.httpx_client.request(
|
|
389
|
+
f"api/prompts/{jsonable_encoder(prompt_id)}/versions/{jsonable_encoder(version_id)}/cost-estimate",
|
|
390
|
+
method="POST",
|
|
391
|
+
params={"project_id": project_id, "project_subset": project_subset},
|
|
392
|
+
request_options=request_options,
|
|
393
|
+
)
|
|
394
|
+
try:
|
|
395
|
+
if 200 <= _response.status_code < 300:
|
|
396
|
+
return pydantic_v1.parse_obj_as(InferenceRunCostEstimate, _response.json()) # type: ignore
|
|
397
|
+
_response_json = _response.json()
|
|
398
|
+
except JSONDecodeError:
|
|
399
|
+
raise ApiError(status_code=_response.status_code, body=_response.text)
|
|
400
|
+
raise ApiError(status_code=_response.status_code, body=_response_json)
|
|
401
|
+
|
|
339
402
|
def get_refined_prompt(
|
|
340
403
|
self,
|
|
341
404
|
prompt_id: int,
|
|
@@ -789,6 +852,68 @@ class AsyncVersionsClient:
|
|
|
789
852
|
raise ApiError(status_code=_response.status_code, body=_response.text)
|
|
790
853
|
raise ApiError(status_code=_response.status_code, body=_response_json)
|
|
791
854
|
|
|
855
|
+
async def cost_estimate(
|
|
856
|
+
self,
|
|
857
|
+
prompt_id: int,
|
|
858
|
+
version_id: int,
|
|
859
|
+
*,
|
|
860
|
+
project_id: int,
|
|
861
|
+
project_subset: int,
|
|
862
|
+
request_options: typing.Optional[RequestOptions] = None,
|
|
863
|
+
) -> InferenceRunCostEstimate:
|
|
864
|
+
"""
|
|
865
|
+
Get cost estimate for running a prompt version on a particular project/subset
|
|
866
|
+
|
|
867
|
+
Parameters
|
|
868
|
+
----------
|
|
869
|
+
prompt_id : int
|
|
870
|
+
Prompt ID
|
|
871
|
+
|
|
872
|
+
version_id : int
|
|
873
|
+
Prompt Version ID
|
|
874
|
+
|
|
875
|
+
project_id : int
|
|
876
|
+
ID of the project to get an estimate for running on
|
|
877
|
+
|
|
878
|
+
project_subset : int
|
|
879
|
+
Subset of the project to get an estimate for running on (e.g. 'All', 'Sample', or 'HasGT')
|
|
880
|
+
|
|
881
|
+
request_options : typing.Optional[RequestOptions]
|
|
882
|
+
Request-specific configuration.
|
|
883
|
+
|
|
884
|
+
Returns
|
|
885
|
+
-------
|
|
886
|
+
InferenceRunCostEstimate
|
|
887
|
+
|
|
888
|
+
|
|
889
|
+
Examples
|
|
890
|
+
--------
|
|
891
|
+
from label_studio_sdk.client import AsyncLabelStudio
|
|
892
|
+
|
|
893
|
+
client = AsyncLabelStudio(
|
|
894
|
+
api_key="YOUR_API_KEY",
|
|
895
|
+
)
|
|
896
|
+
await client.prompts.versions.cost_estimate(
|
|
897
|
+
prompt_id=1,
|
|
898
|
+
version_id=1,
|
|
899
|
+
project_id=1,
|
|
900
|
+
project_subset=1,
|
|
901
|
+
)
|
|
902
|
+
"""
|
|
903
|
+
_response = await self._client_wrapper.httpx_client.request(
|
|
904
|
+
f"api/prompts/{jsonable_encoder(prompt_id)}/versions/{jsonable_encoder(version_id)}/cost-estimate",
|
|
905
|
+
method="POST",
|
|
906
|
+
params={"project_id": project_id, "project_subset": project_subset},
|
|
907
|
+
request_options=request_options,
|
|
908
|
+
)
|
|
909
|
+
try:
|
|
910
|
+
if 200 <= _response.status_code < 300:
|
|
911
|
+
return pydantic_v1.parse_obj_as(InferenceRunCostEstimate, _response.json()) # type: ignore
|
|
912
|
+
_response_json = _response.json()
|
|
913
|
+
except JSONDecodeError:
|
|
914
|
+
raise ApiError(status_code=_response.status_code, body=_response.text)
|
|
915
|
+
raise ApiError(status_code=_response.status_code, body=_response_json)
|
|
916
|
+
|
|
792
917
|
async def get_refined_prompt(
|
|
793
918
|
self,
|
|
794
919
|
prompt_id: int,
|
|
@@ -34,6 +34,7 @@ from .gcs_export_storage_status import GcsExportStorageStatus
|
|
|
34
34
|
from .gcs_import_storage import GcsImportStorage
|
|
35
35
|
from .gcs_import_storage_status import GcsImportStorageStatus
|
|
36
36
|
from .inference_run import InferenceRun
|
|
37
|
+
from .inference_run_cost_estimate import InferenceRunCostEstimate
|
|
37
38
|
from .inference_run_created_by import InferenceRunCreatedBy
|
|
38
39
|
from .inference_run_organization import InferenceRunOrganization
|
|
39
40
|
from .inference_run_project_subset import InferenceRunProjectSubset
|
|
@@ -51,6 +52,7 @@ from .ml_backend import MlBackend
|
|
|
51
52
|
from .ml_backend_auth_method import MlBackendAuthMethod
|
|
52
53
|
from .ml_backend_state import MlBackendState
|
|
53
54
|
from .model_provider_connection import ModelProviderConnection
|
|
55
|
+
from .model_provider_connection_budget_reset_period import ModelProviderConnectionBudgetResetPeriod
|
|
54
56
|
from .model_provider_connection_created_by import ModelProviderConnectionCreatedBy
|
|
55
57
|
from .model_provider_connection_organization import ModelProviderConnectionOrganization
|
|
56
58
|
from .model_provider_connection_provider import ModelProviderConnectionProvider
|
|
@@ -86,6 +88,7 @@ from .serialization_option import SerializationOption
|
|
|
86
88
|
from .serialization_options import SerializationOptions
|
|
87
89
|
from .task import Task
|
|
88
90
|
from .task_annotators_item import TaskAnnotatorsItem
|
|
91
|
+
from .task_comment_authors_item import TaskCommentAuthorsItem
|
|
89
92
|
from .task_filter_options import TaskFilterOptions
|
|
90
93
|
from .user_simple import UserSimple
|
|
91
94
|
from .view import View
|
|
@@ -130,6 +133,7 @@ __all__ = [
|
|
|
130
133
|
"GcsImportStorage",
|
|
131
134
|
"GcsImportStorageStatus",
|
|
132
135
|
"InferenceRun",
|
|
136
|
+
"InferenceRunCostEstimate",
|
|
133
137
|
"InferenceRunCreatedBy",
|
|
134
138
|
"InferenceRunOrganization",
|
|
135
139
|
"InferenceRunProjectSubset",
|
|
@@ -147,6 +151,7 @@ __all__ = [
|
|
|
147
151
|
"MlBackendAuthMethod",
|
|
148
152
|
"MlBackendState",
|
|
149
153
|
"ModelProviderConnection",
|
|
154
|
+
"ModelProviderConnectionBudgetResetPeriod",
|
|
150
155
|
"ModelProviderConnectionCreatedBy",
|
|
151
156
|
"ModelProviderConnectionOrganization",
|
|
152
157
|
"ModelProviderConnectionProvider",
|
|
@@ -182,6 +187,7 @@ __all__ = [
|
|
|
182
187
|
"SerializationOptions",
|
|
183
188
|
"Task",
|
|
184
189
|
"TaskAnnotatorsItem",
|
|
190
|
+
"TaskCommentAuthorsItem",
|
|
185
191
|
"TaskFilterOptions",
|
|
186
192
|
"UserSimple",
|
|
187
193
|
"View",
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
# This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
|
|
3
|
+
import datetime as dt
|
|
4
|
+
import typing
|
|
5
|
+
|
|
6
|
+
from ..core.datetime_utils import serialize_datetime
|
|
7
|
+
from ..core.pydantic_utilities import deep_union_pydantic_dicts, pydantic_v1
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
class InferenceRunCostEstimate(pydantic_v1.BaseModel):
|
|
11
|
+
prompt_cost_usd: typing.Optional[str] = pydantic_v1.Field(default=None)
|
|
12
|
+
"""
|
|
13
|
+
Cost of the prompt (in USD)
|
|
14
|
+
"""
|
|
15
|
+
|
|
16
|
+
completion_cost_usd: typing.Optional[str] = pydantic_v1.Field(default=None)
|
|
17
|
+
"""
|
|
18
|
+
Cost of the completion (in USD)
|
|
19
|
+
"""
|
|
20
|
+
|
|
21
|
+
total_cost_usd: typing.Optional[str] = pydantic_v1.Field(default=None)
|
|
22
|
+
"""
|
|
23
|
+
Total cost of the inference (in USD)
|
|
24
|
+
"""
|
|
25
|
+
|
|
26
|
+
is_error: typing.Optional[bool] = pydantic_v1.Field(default=None)
|
|
27
|
+
"""
|
|
28
|
+
Whether an error occurred or not
|
|
29
|
+
"""
|
|
30
|
+
|
|
31
|
+
error_type: typing.Optional[str] = pydantic_v1.Field(default=None)
|
|
32
|
+
"""
|
|
33
|
+
Type of error (e.g. "Timeout", "Rate Limit", etc)
|
|
34
|
+
"""
|
|
35
|
+
|
|
36
|
+
error_message: typing.Optional[str] = pydantic_v1.Field(default=None)
|
|
37
|
+
"""
|
|
38
|
+
Error message details
|
|
39
|
+
"""
|
|
40
|
+
|
|
41
|
+
def json(self, **kwargs: typing.Any) -> str:
|
|
42
|
+
kwargs_with_defaults: typing.Any = {"by_alias": True, "exclude_unset": True, **kwargs}
|
|
43
|
+
return super().json(**kwargs_with_defaults)
|
|
44
|
+
|
|
45
|
+
def dict(self, **kwargs: typing.Any) -> typing.Dict[str, typing.Any]:
|
|
46
|
+
kwargs_with_defaults_exclude_unset: typing.Any = {"by_alias": True, "exclude_unset": True, **kwargs}
|
|
47
|
+
kwargs_with_defaults_exclude_none: typing.Any = {"by_alias": True, "exclude_none": True, **kwargs}
|
|
48
|
+
|
|
49
|
+
return deep_union_pydantic_dicts(
|
|
50
|
+
super().dict(**kwargs_with_defaults_exclude_unset), super().dict(**kwargs_with_defaults_exclude_none)
|
|
51
|
+
)
|
|
52
|
+
|
|
53
|
+
class Config:
|
|
54
|
+
frozen = True
|
|
55
|
+
smart_union = True
|
|
56
|
+
extra = pydantic_v1.Extra.allow
|
|
57
|
+
json_encoders = {dt.datetime: serialize_datetime}
|
|
@@ -5,6 +5,7 @@ import typing
|
|
|
5
5
|
|
|
6
6
|
from ..core.datetime_utils import serialize_datetime
|
|
7
7
|
from ..core.pydantic_utilities import deep_union_pydantic_dicts, pydantic_v1
|
|
8
|
+
from .model_provider_connection_budget_reset_period import ModelProviderConnectionBudgetResetPeriod
|
|
8
9
|
from .model_provider_connection_created_by import ModelProviderConnectionCreatedBy
|
|
9
10
|
from .model_provider_connection_organization import ModelProviderConnectionOrganization
|
|
10
11
|
from .model_provider_connection_provider import ModelProviderConnectionProvider
|
|
@@ -21,6 +22,35 @@ class ModelProviderConnection(pydantic_v1.BaseModel):
|
|
|
21
22
|
created_by: typing.Optional[ModelProviderConnectionCreatedBy] = None
|
|
22
23
|
created_at: typing.Optional[dt.datetime] = None
|
|
23
24
|
updated_at: typing.Optional[dt.datetime] = None
|
|
25
|
+
is_internal: typing.Optional[bool] = pydantic_v1.Field(default=None)
|
|
26
|
+
"""
|
|
27
|
+
Whether the model provider connection is internal, not visible to the user.
|
|
28
|
+
"""
|
|
29
|
+
|
|
30
|
+
budget_limit: typing.Optional[float] = pydantic_v1.Field(default=None)
|
|
31
|
+
"""
|
|
32
|
+
Budget limit for the model provider connection (null if unlimited)
|
|
33
|
+
"""
|
|
34
|
+
|
|
35
|
+
budget_last_reset_date: typing.Optional[dt.datetime] = pydantic_v1.Field(default=None)
|
|
36
|
+
"""
|
|
37
|
+
Date and time the budget was last reset
|
|
38
|
+
"""
|
|
39
|
+
|
|
40
|
+
budget_reset_period: typing.Optional[ModelProviderConnectionBudgetResetPeriod] = pydantic_v1.Field(default=None)
|
|
41
|
+
"""
|
|
42
|
+
Budget reset period for the model provider connection (null if not reset)
|
|
43
|
+
"""
|
|
44
|
+
|
|
45
|
+
budget_total_spent: typing.Optional[float] = pydantic_v1.Field(default=None)
|
|
46
|
+
"""
|
|
47
|
+
Tracked total budget spent for the given provider connection within the current budget period
|
|
48
|
+
"""
|
|
49
|
+
|
|
50
|
+
budget_alert_threshold: typing.Optional[float] = pydantic_v1.Field(default=None)
|
|
51
|
+
"""
|
|
52
|
+
Budget alert threshold for the given provider connection
|
|
53
|
+
"""
|
|
24
54
|
|
|
25
55
|
def json(self, **kwargs: typing.Any) -> str:
|
|
26
56
|
kwargs_with_defaults: typing.Any = {"by_alias": True, "exclude_unset": True, **kwargs}
|
|
@@ -35,7 +35,7 @@ class RefinedPromptResponse(pydantic_v1.BaseModel):
|
|
|
35
35
|
Status of the refinement job
|
|
36
36
|
"""
|
|
37
37
|
|
|
38
|
-
total_cost: typing.Optional[
|
|
38
|
+
total_cost: typing.Optional[str] = pydantic_v1.Field(default=None)
|
|
39
39
|
"""
|
|
40
40
|
Total cost of the refinement job (in USD)
|
|
41
41
|
"""
|
label_studio_sdk/types/task.py
CHANGED
|
@@ -6,6 +6,7 @@ import typing
|
|
|
6
6
|
from ..core.datetime_utils import serialize_datetime
|
|
7
7
|
from ..core.pydantic_utilities import deep_union_pydantic_dicts, pydantic_v1
|
|
8
8
|
from .task_annotators_item import TaskAnnotatorsItem
|
|
9
|
+
from .task_comment_authors_item import TaskCommentAuthorsItem
|
|
9
10
|
|
|
10
11
|
|
|
11
12
|
class Task(pydantic_v1.BaseModel):
|
|
@@ -134,9 +135,9 @@ class Task(pydantic_v1.BaseModel):
|
|
|
134
135
|
Project ID for this task
|
|
135
136
|
"""
|
|
136
137
|
|
|
137
|
-
comment_authors: typing.Optional[typing.List[
|
|
138
|
+
comment_authors: typing.Optional[typing.List[TaskCommentAuthorsItem]] = pydantic_v1.Field(default=None)
|
|
138
139
|
"""
|
|
139
|
-
List of comment authors
|
|
140
|
+
List of comment authors for this task
|
|
140
141
|
"""
|
|
141
142
|
|
|
142
143
|
def json(self, **kwargs: typing.Any) -> str:
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: label-studio-sdk
|
|
3
|
-
Version: 1.0.
|
|
3
|
+
Version: 1.0.8
|
|
4
4
|
Summary:
|
|
5
5
|
Requires-Python: >=3.8,<4.0
|
|
6
6
|
Classifier: Intended Audience :: Developers
|
|
@@ -21,8 +21,10 @@ Classifier: Topic :: Software Development :: Libraries :: Python Modules
|
|
|
21
21
|
Classifier: Typing :: Typed
|
|
22
22
|
Requires-Dist: Pillow (>=10.0.1)
|
|
23
23
|
Requires-Dist: appdirs (>=1.4.3)
|
|
24
|
+
Requires-Dist: datamodel-code-generator (==0.26.1)
|
|
24
25
|
Requires-Dist: httpx (>=0.21.2)
|
|
25
26
|
Requires-Dist: ijson (>=3.2.3)
|
|
27
|
+
Requires-Dist: jsf (>=0.11.2,<0.12.0)
|
|
26
28
|
Requires-Dist: jsonschema (>=4.23.0)
|
|
27
29
|
Requires-Dist: lxml (>=4.2.5)
|
|
28
30
|
Requires-Dist: nltk (>=3.9.1,<4.0.0)
|
|
@@ -1,12 +1,13 @@
|
|
|
1
|
-
label_studio_sdk/__init__.py,sha256=
|
|
1
|
+
label_studio_sdk/__init__.py,sha256=BgtReTTLTt0cMD1xHMd3bUf8TPxLHfM27-DdMXL3RiU,10091
|
|
2
2
|
label_studio_sdk/_extensions/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
3
3
|
label_studio_sdk/_extensions/eval/categorical.py,sha256=MxH2Jl8Mc6HS2byBnlRgABZgwMutSQdH3tgspwCkxqk,2703
|
|
4
4
|
label_studio_sdk/_extensions/label_studio_tools/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
5
5
|
label_studio_sdk/_extensions/label_studio_tools/core/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
6
|
-
label_studio_sdk/_extensions/label_studio_tools/core/label_config.py,sha256=
|
|
6
|
+
label_studio_sdk/_extensions/label_studio_tools/core/label_config.py,sha256=P1S7dPjFkqF2zIQzk11iljhharrUc9qQRM_rUN38iJQ,6406
|
|
7
7
|
label_studio_sdk/_extensions/label_studio_tools/core/utils/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
8
8
|
label_studio_sdk/_extensions/label_studio_tools/core/utils/exceptions.py,sha256=JxaXUMghUp1YvL--s8KFC4mCHVbV39giE3kSBHCmuFU,66
|
|
9
9
|
label_studio_sdk/_extensions/label_studio_tools/core/utils/io.py,sha256=fGnVo--KkiNRjswnoJgIapUN7ao26P0X61X88zM8Ws8,9129
|
|
10
|
+
label_studio_sdk/_extensions/label_studio_tools/core/utils/json_schema.py,sha256=uLlly2XvUvRL9tyaUQ0J4MFR83L7rTeIpCpoVCu5eJg,3172
|
|
10
11
|
label_studio_sdk/_extensions/label_studio_tools/core/utils/params.py,sha256=ZSUb-IXG5OcPQ7pJ8NDRLon-cMxnjVq6XtinxvTuJso,1244
|
|
11
12
|
label_studio_sdk/_extensions/label_studio_tools/etl/__init__.py,sha256=SdN7JGLJ1araqbx-nL2fVdhm6E6CNyru-vWVs6sMswI,31
|
|
12
13
|
label_studio_sdk/_extensions/label_studio_tools/etl/beam.py,sha256=aGWS-LgU6du2Fm0HE_3mDWeQ5dcwMWWMeuS-0xjEcVE,833
|
|
@@ -19,7 +20,7 @@ label_studio_sdk/_legacy/__init__.py,sha256=e1C8VJ0l6EKmQwvzOnkKvy5Cu6uNi2dboNno
|
|
|
19
20
|
label_studio_sdk/_legacy/client.py,sha256=7lZeuQNw39C_Iqb6O-LSY8dOYbrE7hhA8qrc0SH3Qw0,14052
|
|
20
21
|
label_studio_sdk/_legacy/exceptions.py,sha256=Xpx6phdRD_dTWlA-nq0v0Feta0RVDltPUjRXSiXJ0Yk,196
|
|
21
22
|
label_studio_sdk/_legacy/project.py,sha256=4sO4kZQECmDmFZRNo502PpDcRX68la0FO0WDePOyVxI,93567
|
|
22
|
-
label_studio_sdk/_legacy/schema/label_config_schema.json,sha256=
|
|
23
|
+
label_studio_sdk/_legacy/schema/label_config_schema.json,sha256=5wCJPCUxxgG7YLGogaHfr2Aw_XhlrbJfakEZO0DhxBc,6897
|
|
23
24
|
label_studio_sdk/_legacy/users.py,sha256=G5wxBf7sGpZlN_0sR2NDovESIw1v2RfXWveCLHTgvN4,1402
|
|
24
25
|
label_studio_sdk/_legacy/utils.py,sha256=ZeBEwUmHyK_GdUjAEOdIqkbKRT7SviO4Db0Uj6tMNfI,4518
|
|
25
26
|
label_studio_sdk/_legacy/workspaces.py,sha256=9SrmZyWqj_0etCyTWzeC6v30jAIDnjerx4cNBlP3MGg,1913
|
|
@@ -48,7 +49,7 @@ label_studio_sdk/comments/client.py,sha256=qUX31qgUWfyJa1qS_R_FehvpZRFAWWFQyyFdf
|
|
|
48
49
|
label_studio_sdk/converter/__init__.py,sha256=qppSJed16HAiZbGons0yVrPRjszuWFia025Rm477q1c,201
|
|
49
50
|
label_studio_sdk/converter/audio.py,sha256=U9oTULkeimodZhIkB16Gl3eJD8YzsbADWxW_r2tPcxw,1905
|
|
50
51
|
label_studio_sdk/converter/brush.py,sha256=jRL3fLl_J06fVEX7Uat31ru0uUZ71C4zrXnX2qOcrIo,13370
|
|
51
|
-
label_studio_sdk/converter/converter.py,sha256=
|
|
52
|
+
label_studio_sdk/converter/converter.py,sha256=YdnSUk12snOlC3FyD0J98ntAWJKGO5XbaXvyDdqgY4o,48111
|
|
52
53
|
label_studio_sdk/converter/exports/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
53
54
|
label_studio_sdk/converter/exports/csv.py,sha256=F4t04tFsg5gBXTZNmkjw_NeEVsobRH_Y_vfFDi7R0Zw,2865
|
|
54
55
|
label_studio_sdk/converter/exports/csv2.py,sha256=9FxcPtIDcuztDF-y4Z7Mm0AgbYUR1oMitYT6BlcOFes,3125
|
|
@@ -63,7 +64,7 @@ label_studio_sdk/converter/main.py,sha256=tB1HbxV_prR67tEjk-YLk4pLJ5isxQAsyChxak
|
|
|
63
64
|
label_studio_sdk/converter/utils.py,sha256=_UmT7S9lQgd_xb_hi9JyCQMYqvRIWW0L7zth1iFX9yU,18606
|
|
64
65
|
label_studio_sdk/core/__init__.py,sha256=Io96G1IY5muGWXsxPKOkzYv3We4OJlBKMkUFvEYfVEQ,1054
|
|
65
66
|
label_studio_sdk/core/api_error.py,sha256=RE8LELok2QCjABadECTvtDp7qejA1VmINCh6TbqPwSE,426
|
|
66
|
-
label_studio_sdk/core/client_wrapper.py,sha256=
|
|
67
|
+
label_studio_sdk/core/client_wrapper.py,sha256=KQdZNzU7fdwvmoT0WQY8vaGECy0LRkJBqEgcoDweO3k,1817
|
|
67
68
|
label_studio_sdk/core/datetime_utils.py,sha256=nBys2IsYrhPdszxGKCNRPSOCwa-5DWOHG95FB8G9PKo,1047
|
|
68
69
|
label_studio_sdk/core/file.py,sha256=sy1RUGZ3aJYuw998bZytxxo6QdgKmlnlgBaMvwEKCGg,1480
|
|
69
70
|
label_studio_sdk/core/http_client.py,sha256=boOEXUeA9zpitlEfyqa-A2_gnEYSYU9VNB3MmzwYS7U,18717
|
|
@@ -144,14 +145,14 @@ label_studio_sdk/import_storage/types/__init__.py,sha256=LSPRtCZ04H1CRzFC6KQnse2
|
|
|
144
145
|
label_studio_sdk/import_storage/types/import_storage_list_types_response_item.py,sha256=dXfZjNrSliDu9nDP3jrNfxPOUAyILN7vJ6_uArkMiY0,1199
|
|
145
146
|
label_studio_sdk/label_interface/__init__.py,sha256=Eg6y3mAaYdKzJ5ZPhU_BTX2qoNPafthdxLD2I_rmXoU,38
|
|
146
147
|
label_studio_sdk/label_interface/base.py,sha256=NCgY7ntk0WSc9O9iXu3g37-CxbZgCx_WO2pvOEHK-cg,2786
|
|
147
|
-
label_studio_sdk/label_interface/control_tags.py,sha256=
|
|
148
|
+
label_studio_sdk/label_interface/control_tags.py,sha256=Wq4_LLztCLCp3aaxXuR3GSy6YMAXcJve23LaplU7QjI,29571
|
|
148
149
|
label_studio_sdk/label_interface/create.py,sha256=c3h5_FF4u5J62_mqq1oK2mjqXL-I1559C6MfoxkgO6s,6993
|
|
149
150
|
label_studio_sdk/label_interface/data_examples.json,sha256=uCYvCtMIxPi1-jLlFhwJPh01tLyMIRwTjINeAeW-JzE,8195
|
|
150
|
-
label_studio_sdk/label_interface/interface.py,sha256=
|
|
151
|
+
label_studio_sdk/label_interface/interface.py,sha256=Cq6HcTIhZhaWwB5rcVAvdj90lGzshCkc9ypm_igGzC8,42186
|
|
151
152
|
label_studio_sdk/label_interface/label_tags.py,sha256=nWEo21Gd8IPzIO72UqraLrChIbvrSMCA_eEhzYGnGCc,2282
|
|
152
153
|
label_studio_sdk/label_interface/object_tags.py,sha256=haw-LbP4wRr6c--mKON5XiYufB8ubkZsU1WAFW0dbwg,8639
|
|
153
154
|
label_studio_sdk/label_interface/objects.py,sha256=V1Spp0S9qE7iA-5kPCi0QyHrJ80Du9BUuYMsQUAQqc0,1535
|
|
154
|
-
label_studio_sdk/label_interface/region.py,sha256=
|
|
155
|
+
label_studio_sdk/label_interface/region.py,sha256=th39WeQk8ypi-4krEpsW0BZnoygu4XgvP4w7NkRQp2M,1755
|
|
155
156
|
label_studio_sdk/ml/__init__.py,sha256=J4ncAcAOU_qriOx_Im9eFmXyupKM19SXMcpMcXSmw-I,455
|
|
156
157
|
label_studio_sdk/ml/client.py,sha256=zXfBvR8dBngBp6tLk_yUf0XWxz6IcmYTzpr8BBW55hs,35735
|
|
157
158
|
label_studio_sdk/ml/types/__init__.py,sha256=P6nY1akoIWZ95wDY3iQJGvp9VdM9Kifj7fTCVrdf6qw,640
|
|
@@ -162,7 +163,7 @@ label_studio_sdk/ml/types/ml_update_request_auth_method.py,sha256=IfZm_tgqLZ9LaR
|
|
|
162
163
|
label_studio_sdk/ml/types/ml_update_response.py,sha256=GhueuUxG0eAqBCQO0KzS2X0hBil6UdR_6-5GS-7b5sE,2290
|
|
163
164
|
label_studio_sdk/ml/types/ml_update_response_auth_method.py,sha256=1AhvSHg_qDNKx0bV_vaBdqioaSnbC6wNCIPdFbr9Czg,172
|
|
164
165
|
label_studio_sdk/model_providers/__init__.py,sha256=FTtvy8EDg9nNNg9WCatVgKTRYV8-_v1roeGPAKoa_pw,65
|
|
165
|
-
label_studio_sdk/model_providers/client.py,sha256
|
|
166
|
+
label_studio_sdk/model_providers/client.py,sha256=-bMAtFBNLm8S3OIDc6OJKB5-OMoQV1tVPVi5WqybRfs,26321
|
|
166
167
|
label_studio_sdk/predictions/__init__.py,sha256=FTtvy8EDg9nNNg9WCatVgKTRYV8-_v1roeGPAKoa_pw,65
|
|
167
168
|
label_studio_sdk/predictions/client.py,sha256=09_XwZudOdqlYAPoxr8Vl60t8eLZuLnrFp-y3H7i1Mc,25629
|
|
168
169
|
label_studio_sdk/projects/__init__.py,sha256=_iq7sdPqGIwoq8VJqZV5fWU3ziLshGrZDKVe7F8_fbk,357
|
|
@@ -189,7 +190,7 @@ label_studio_sdk/prompts/types/prompts_batch_failed_predictions_response.py,sha2
|
|
|
189
190
|
label_studio_sdk/prompts/types/prompts_batch_predictions_request_results_item.py,sha256=Ecbstryh3pdkZbmfDVFzn2n27xxEmbtgPFXZ15oopj8,2370
|
|
190
191
|
label_studio_sdk/prompts/types/prompts_batch_predictions_response.py,sha256=7KlD1Q_MaAH8cqifVxjrsOG1SjqCy08P77xMhPEWn8w,1159
|
|
191
192
|
label_studio_sdk/prompts/versions/__init__.py,sha256=FTtvy8EDg9nNNg9WCatVgKTRYV8-_v1roeGPAKoa_pw,65
|
|
192
|
-
label_studio_sdk/prompts/versions/client.py,sha256=
|
|
193
|
+
label_studio_sdk/prompts/versions/client.py,sha256=0PhnSzloG74pgCLtAeyXlL3B_g_11b6jyc7tl0zWfjs,33831
|
|
193
194
|
label_studio_sdk/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
194
195
|
label_studio_sdk/tasks/__init__.py,sha256=a30krVHgQie5L6dCoFHY2FinuDWikj_gQUCGalFhVa8,185
|
|
195
196
|
label_studio_sdk/tasks/client.py,sha256=6dzFwQOUOrmNemWNuOv4Ci12ZXymqsJ5e3XiNVRWPRc,31764
|
|
@@ -197,7 +198,7 @@ label_studio_sdk/tasks/client_ext.py,sha256=ZA0mE7DzgPWgUw4BKbtodyXJPCyG2Oe5BmMW
|
|
|
197
198
|
label_studio_sdk/tasks/types/__init__.py,sha256=F5n2075irgvO9TyLAXzp26Tybg_lxMC56UySZzHby8I,237
|
|
198
199
|
label_studio_sdk/tasks/types/tasks_list_request_fields.py,sha256=5YXxQgyzoaL0QjSE-aLs_fepCUuzj28iqUndh5NxGGg,166
|
|
199
200
|
label_studio_sdk/tasks/types/tasks_list_response.py,sha256=Jc-ncfOVi6b9fFVspOdosE0AKlLto6w7bcURr4F72_E,1705
|
|
200
|
-
label_studio_sdk/types/__init__.py,sha256=
|
|
201
|
+
label_studio_sdk/types/__init__.py,sha256=I9qDMtul2cE8sAwvu_Wfe6F0fcVJxSVd797P74_lnjg,8160
|
|
201
202
|
label_studio_sdk/types/annotation.py,sha256=EJaFw_Lo5aFNCk4hw4AfR9iobADkJjTNKzRxOdJFYS0,3649
|
|
202
203
|
label_studio_sdk/types/annotation_filter_options.py,sha256=_MjVVtTtQCb7hq7g9HnfFPktp4mb5n_ut7TL05mL7JQ,1495
|
|
203
204
|
label_studio_sdk/types/annotation_last_action.py,sha256=g1CU8ypFyneqqf_eWtNH-lC6Q_h1i_IporC-Fq6nkxs,392
|
|
@@ -232,6 +233,7 @@ label_studio_sdk/types/gcs_export_storage_status.py,sha256=RvUZ-3_sF7GgkgsC_N48r
|
|
|
232
233
|
label_studio_sdk/types/gcs_import_storage.py,sha256=Dp8Kmx_OkDz24fm800WQ5coCM67N-7RZYbUA34isUEk,3392
|
|
233
234
|
label_studio_sdk/types/gcs_import_storage_status.py,sha256=5ZZBCd9tZEwbfi5pTV5t_MLndYkUlRrHK99r2SWb8oo,215
|
|
234
235
|
label_studio_sdk/types/inference_run.py,sha256=0LomJ0yYd4z7heRpRPRnTNt2Z9RM19emvB5nqm_V1kA,1902
|
|
236
|
+
label_studio_sdk/types/inference_run_cost_estimate.py,sha256=8F_FaZXwZnQmuGXmibS8fLZNVjcestCNjVq1qm3do8o,1883
|
|
235
237
|
label_studio_sdk/types/inference_run_created_by.py,sha256=r3gejo--DJRowaVn-jCrCBmZT3Cf7sie-fPyyLToPc0,152
|
|
236
238
|
label_studio_sdk/types/inference_run_organization.py,sha256=zeRnAqncnYQswrVLzwApaaqm3b0snAyNoIlOmuObGRQ,155
|
|
237
239
|
label_studio_sdk/types/inference_run_project_subset.py,sha256=lX40egBgMaJgguByeFhcq7HB4OPO09uBPMb9Eh_18qg,175
|
|
@@ -248,10 +250,11 @@ label_studio_sdk/types/local_files_import_storage_status.py,sha256=eFkyIxGzPrHN_
|
|
|
248
250
|
label_studio_sdk/types/ml_backend.py,sha256=Q6VSYnG4Tq9EtA71ufP0iKjml7-G6rvmolLolH0tYNg,3043
|
|
249
251
|
label_studio_sdk/types/ml_backend_auth_method.py,sha256=T5dI6mk4xn2RnBL3rRqEf3sXFMcj1PzmQcMO_EMH_1s,165
|
|
250
252
|
label_studio_sdk/types/ml_backend_state.py,sha256=yIwkALw4EERwbjtpKXqggx-DDLuJthc84LQ_KcVmyfQ,168
|
|
251
|
-
label_studio_sdk/types/model_provider_connection.py,sha256=
|
|
253
|
+
label_studio_sdk/types/model_provider_connection.py,sha256=3b-mJE6WHK3YUS4mw_mL-9yp57qvysj2YTafiiCXWPk,3086
|
|
254
|
+
label_studio_sdk/types/model_provider_connection_budget_reset_period.py,sha256=_2b6RPx-idAx75gbX3gDNQEynlBWJX6IZP1BbDCvono,193
|
|
252
255
|
label_studio_sdk/types/model_provider_connection_created_by.py,sha256=mV5ZRAG5xEE6Z1Ewu4FMOSMZKqnjdc6gpRVp5ppB8is,163
|
|
253
256
|
label_studio_sdk/types/model_provider_connection_organization.py,sha256=4wXH1LCCKh73XT-btdJLX4LPkcnu-CGjDzrXCubRVWo,166
|
|
254
|
-
label_studio_sdk/types/model_provider_connection_provider.py,sha256=
|
|
257
|
+
label_studio_sdk/types/model_provider_connection_provider.py,sha256=DBnbwEpuWLInLjC6uh-yownXjzveF4twQSday0HJzro,190
|
|
255
258
|
label_studio_sdk/types/model_provider_connection_scope.py,sha256=yi-uNxAvmpe7dvLX0d7wh92HyAHdwfsE22S1nKfpH_0,185
|
|
256
259
|
label_studio_sdk/types/prediction.py,sha256=h75ydes7dMEtGeug6r1VE41vy2yWmvD0m8Qo5hWxliA,2624
|
|
257
260
|
label_studio_sdk/types/project.py,sha256=3oHQ9eWJy5D16zYmzD6onffPSrJA7vhsdPvLS7jSJlY,7273
|
|
@@ -271,7 +274,7 @@ label_studio_sdk/types/redis_export_storage.py,sha256=v6rjzqJnA3cSevwgr3Q-hjF5EY
|
|
|
271
274
|
label_studio_sdk/types/redis_export_storage_status.py,sha256=yOqhEQ2CSOJP3mQr6bPfARVROGi9YZwnM9bBM1CZCZM,217
|
|
272
275
|
label_studio_sdk/types/redis_import_storage.py,sha256=aIVNdfD9_6yfyicgPF15v08-552pbAAYDbeZJoAY8a0,3288
|
|
273
276
|
label_studio_sdk/types/redis_import_storage_status.py,sha256=KmGl0_RWK20owkGdLZ2Tx19v7fZrSSBDhN-SScYh5hM,217
|
|
274
|
-
label_studio_sdk/types/refined_prompt_response.py,sha256=
|
|
277
|
+
label_studio_sdk/types/refined_prompt_response.py,sha256=ZX54WLX9BrSdr-M88X4GOA7hP9VPFVtZcLhZb39m70c,2137
|
|
275
278
|
label_studio_sdk/types/refined_prompt_response_refinement_status.py,sha256=k2VmjpYtv4E19KV0pjcgUmC_UEn3TOWUI0S3MbllaG4,215
|
|
276
279
|
label_studio_sdk/types/s3export_storage.py,sha256=YdsbJuUIhy9aUtIT2ExPtjM4C4K_WDTUsCGw2563s9Y,3849
|
|
277
280
|
label_studio_sdk/types/s3export_storage_status.py,sha256=HYCH0ZH90Oi-_1WgOo6d19rFm5JJ9M7tn5tVPL71P70,214
|
|
@@ -282,8 +285,9 @@ label_studio_sdk/types/s3s_import_storage.py,sha256=gMz9IeahX9_jfK_UXy3fKPy5rTgG
|
|
|
282
285
|
label_studio_sdk/types/s3s_import_storage_status.py,sha256=5yn9Sh82CP0TLjPlUgd9FJ6M2-XHC0cTnXg3N9bPsGs,215
|
|
283
286
|
label_studio_sdk/types/serialization_option.py,sha256=WQqHZTqXTERA_83fkPsjxq1yTMj9DsOnfDJy76Xh3xo,1278
|
|
284
287
|
label_studio_sdk/types/serialization_options.py,sha256=FKubgrOGtD3t6Xi7N81zJxWV6WkWmu0WOrq1WD289TA,1774
|
|
285
|
-
label_studio_sdk/types/task.py,sha256=
|
|
288
|
+
label_studio_sdk/types/task.py,sha256=WizmeTxvdvQokN9oflv4SmjAqF-J08tJx2B_1WhStOE,4776
|
|
286
289
|
label_studio_sdk/types/task_annotators_item.py,sha256=ZACM_u0ogzO7VmzJmml7EaaqdLiVLrwE-lxlkdZvuRM,149
|
|
290
|
+
label_studio_sdk/types/task_comment_authors_item.py,sha256=u0N3iH5uBtDJZush9ufRDEoHYmREY1lLBokyrAwgn6w,153
|
|
287
291
|
label_studio_sdk/types/task_filter_options.py,sha256=ECmGUKl-lGXEr5BLkh2enPJMpnHkA3P-Niof_i6AB0A,1926
|
|
288
292
|
label_studio_sdk/types/user_simple.py,sha256=KfBGAEKWcJfoevRTCsrK1zYa81MXJcUf1IQ9p95nqVA,1333
|
|
289
293
|
label_studio_sdk/types/view.py,sha256=zIlUL8kgko-Gjdijjzz9L_zgHJfRFSSHJUQIUaX6D4Y,1797
|
|
@@ -328,7 +332,7 @@ label_studio_sdk/workspaces/members/client.py,sha256=OQBgiVK2Rf9fQZ3ogAprZ2bJhpB
|
|
|
328
332
|
label_studio_sdk/workspaces/members/types/__init__.py,sha256=ZIa_rd7d6K9ZITjTU6fptyGgvjNDySksJ7Rbn4wyhD4,252
|
|
329
333
|
label_studio_sdk/workspaces/members/types/members_create_response.py,sha256=_HhJVRMwE_7ZQHfqpuWXgV57tWSk07y0grqQAIlZGUY,1228
|
|
330
334
|
label_studio_sdk/workspaces/members/types/members_list_response_item.py,sha256=RlTUR1z2hNP1DYDmixjafUS34A7RmOYMsyQLXZrb9Dw,1255
|
|
331
|
-
label_studio_sdk-1.0.
|
|
332
|
-
label_studio_sdk-1.0.
|
|
333
|
-
label_studio_sdk-1.0.
|
|
334
|
-
label_studio_sdk-1.0.
|
|
335
|
+
label_studio_sdk-1.0.8.dist-info/LICENSE,sha256=ymVrFcHiJGjHeY30NWZgdV-xzNEtfuC63oK9ZeMDjhs,11341
|
|
336
|
+
label_studio_sdk-1.0.8.dist-info/METADATA,sha256=FMPemaod6ZroTR2fy-f8Fp8kxHxVzda25RwRbWSKBFw,5820
|
|
337
|
+
label_studio_sdk-1.0.8.dist-info/WHEEL,sha256=Nq82e9rUAnEjt98J6MlVmMCZb-t9cYE2Ir1kpBmnWfs,88
|
|
338
|
+
label_studio_sdk-1.0.8.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|