rapidata 1.3.1__py3-none-any.whl → 1.4.0__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 rapidata might be problematic. Click here for more details.

@@ -52,8 +52,6 @@ from rapidata.api_client.models.add_validation_rapid_model_payload import AddVal
52
52
  from rapidata.api_client.models.add_validation_rapid_model_truth import AddValidationRapidModelTruth
53
53
  from rapidata.api_client.models.add_validation_rapid_result import AddValidationRapidResult
54
54
  from rapidata.api_client.models.add_validation_text_rapid_model import AddValidationTextRapidModel
55
- from rapidata.api_client.models.admin_order_model import AdminOrderModel
56
- from rapidata.api_client.models.admin_order_model_paged_result import AdminOrderModelPagedResult
57
55
  from rapidata.api_client.models.age_group import AgeGroup
58
56
  from rapidata.api_client.models.age_user_filter_model import AgeUserFilterModel
59
57
  from rapidata.api_client.models.aggregator_type import AggregatorType
@@ -117,8 +115,6 @@ from rapidata.api_client.models.create_simple_pipeline_model import CreateSimple
117
115
  from rapidata.api_client.models.create_simple_pipeline_model_artifacts_inner import CreateSimplePipelineModelArtifactsInner
118
116
  from rapidata.api_client.models.create_simple_pipeline_model_pipeline_steps_inner import CreateSimplePipelineModelPipelineStepsInner
119
117
  from rapidata.api_client.models.create_unsupported_order_model import CreateUnsupportedOrderModel
120
- from rapidata.api_client.models.customer_order_model import CustomerOrderModel
121
- from rapidata.api_client.models.customer_order_model_paged_result import CustomerOrderModelPagedResult
122
118
  from rapidata.api_client.models.datapoint import Datapoint
123
119
  from rapidata.api_client.models.datapoint_asset import DatapointAsset
124
120
  from rapidata.api_client.models.datapoint_get_by_id_get200_response import DatapointGetByIdGet200Response
@@ -218,7 +214,7 @@ from rapidata.api_client.models.null_asset_model import NullAssetModel
218
214
  from rapidata.api_client.models.null_asset_model1 import NullAssetModel1
219
215
  from rapidata.api_client.models.null_asset_model2 import NullAssetModel2
220
216
  from rapidata.api_client.models.order_model import OrderModel
221
- from rapidata.api_client.models.order_query_get200_response import OrderQueryGet200Response
217
+ from rapidata.api_client.models.order_model_paged_result import OrderModelPagedResult
222
218
  from rapidata.api_client.models.order_state import OrderState
223
219
  from rapidata.api_client.models.original_filename_metadata import OriginalFilenameMetadata
224
220
  from rapidata.api_client.models.original_filename_metadata_model import OriginalFilenameMetadataModel
@@ -232,6 +228,7 @@ from rapidata.api_client.models.probabilistic_attach_category_referee_config imp
232
228
  from rapidata.api_client.models.prompt_metadata import PromptMetadata
233
229
  from rapidata.api_client.models.prompt_metadata_input import PromptMetadataInput
234
230
  from rapidata.api_client.models.prompt_metadata_model import PromptMetadataModel
231
+ from rapidata.api_client.models.public_order_model import PublicOrderModel
235
232
  from rapidata.api_client.models.public_text_metadata_input import PublicTextMetadataInput
236
233
  from rapidata.api_client.models.query_campaigns_model import QueryCampaignsModel
237
234
  from rapidata.api_client.models.query_model import QueryModel
@@ -30,7 +30,7 @@ from rapidata.api_client.models.feedback_model import FeedbackModel
30
30
  from rapidata.api_client.models.get_order_by_id_result import GetOrderByIdResult
31
31
  from rapidata.api_client.models.get_order_results_result import GetOrderResultsResult
32
32
  from rapidata.api_client.models.get_public_orders_result import GetPublicOrdersResult
33
- from rapidata.api_client.models.order_query_get200_response import OrderQueryGet200Response
33
+ from rapidata.api_client.models.order_model_paged_result import OrderModelPagedResult
34
34
  from rapidata.api_client.models.query_orders_model import QueryOrdersModel
35
35
  from rapidata.api_client.models.unlock_order_result import UnlockOrderResult
36
36
  from rapidata.api_client.models.update_access_model import UpdateAccessModel
@@ -2972,7 +2972,7 @@ class OrderApi:
2972
2972
  _content_type: Optional[StrictStr] = None,
2973
2973
  _headers: Optional[Dict[StrictStr, Any]] = None,
2974
2974
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
2975
- ) -> OrderQueryGet200Response:
2975
+ ) -> OrderModelPagedResult:
2976
2976
  """Queries orders based on a filter, page, and sort criteria.
2977
2977
 
2978
2978
 
@@ -3009,7 +3009,7 @@ class OrderApi:
3009
3009
  )
3010
3010
 
3011
3011
  _response_types_map: Dict[str, Optional[str]] = {
3012
- '200': "OrderQueryGet200Response",
3012
+ '200': "OrderModelPagedResult",
3013
3013
  }
3014
3014
  response_data = self.api_client.call_api(
3015
3015
  *_param,
@@ -3038,7 +3038,7 @@ class OrderApi:
3038
3038
  _content_type: Optional[StrictStr] = None,
3039
3039
  _headers: Optional[Dict[StrictStr, Any]] = None,
3040
3040
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
3041
- ) -> ApiResponse[OrderQueryGet200Response]:
3041
+ ) -> ApiResponse[OrderModelPagedResult]:
3042
3042
  """Queries orders based on a filter, page, and sort criteria.
3043
3043
 
3044
3044
 
@@ -3075,7 +3075,7 @@ class OrderApi:
3075
3075
  )
3076
3076
 
3077
3077
  _response_types_map: Dict[str, Optional[str]] = {
3078
- '200': "OrderQueryGet200Response",
3078
+ '200': "OrderModelPagedResult",
3079
3079
  }
3080
3080
  response_data = self.api_client.call_api(
3081
3081
  *_param,
@@ -3141,7 +3141,7 @@ class OrderApi:
3141
3141
  )
3142
3142
 
3143
3143
  _response_types_map: Dict[str, Optional[str]] = {
3144
- '200': "OrderQueryGet200Response",
3144
+ '200': "OrderModelPagedResult",
3145
3145
  }
3146
3146
  response_data = self.api_client.call_api(
3147
3147
  *_param,
@@ -3188,7 +3188,9 @@ class OrderApi:
3188
3188
  if 'Accept' not in _header_params:
3189
3189
  _header_params['Accept'] = self.api_client.select_header_accept(
3190
3190
  [
3191
- 'application/json'
3191
+ 'text/plain',
3192
+ 'application/json',
3193
+ 'text/json'
3192
3194
  ]
3193
3195
  )
3194
3196
 
@@ -21,8 +21,6 @@ from rapidata.api_client.models.add_validation_rapid_model_payload import AddVal
21
21
  from rapidata.api_client.models.add_validation_rapid_model_truth import AddValidationRapidModelTruth
22
22
  from rapidata.api_client.models.add_validation_rapid_result import AddValidationRapidResult
23
23
  from rapidata.api_client.models.add_validation_text_rapid_model import AddValidationTextRapidModel
24
- from rapidata.api_client.models.admin_order_model import AdminOrderModel
25
- from rapidata.api_client.models.admin_order_model_paged_result import AdminOrderModelPagedResult
26
24
  from rapidata.api_client.models.age_group import AgeGroup
27
25
  from rapidata.api_client.models.age_user_filter_model import AgeUserFilterModel
28
26
  from rapidata.api_client.models.aggregator_type import AggregatorType
@@ -86,8 +84,6 @@ from rapidata.api_client.models.create_simple_pipeline_model import CreateSimple
86
84
  from rapidata.api_client.models.create_simple_pipeline_model_artifacts_inner import CreateSimplePipelineModelArtifactsInner
87
85
  from rapidata.api_client.models.create_simple_pipeline_model_pipeline_steps_inner import CreateSimplePipelineModelPipelineStepsInner
88
86
  from rapidata.api_client.models.create_unsupported_order_model import CreateUnsupportedOrderModel
89
- from rapidata.api_client.models.customer_order_model import CustomerOrderModel
90
- from rapidata.api_client.models.customer_order_model_paged_result import CustomerOrderModelPagedResult
91
87
  from rapidata.api_client.models.datapoint import Datapoint
92
88
  from rapidata.api_client.models.datapoint_asset import DatapointAsset
93
89
  from rapidata.api_client.models.datapoint_get_by_id_get200_response import DatapointGetByIdGet200Response
@@ -187,7 +183,7 @@ from rapidata.api_client.models.null_asset_model import NullAssetModel
187
183
  from rapidata.api_client.models.null_asset_model1 import NullAssetModel1
188
184
  from rapidata.api_client.models.null_asset_model2 import NullAssetModel2
189
185
  from rapidata.api_client.models.order_model import OrderModel
190
- from rapidata.api_client.models.order_query_get200_response import OrderQueryGet200Response
186
+ from rapidata.api_client.models.order_model_paged_result import OrderModelPagedResult
191
187
  from rapidata.api_client.models.order_state import OrderState
192
188
  from rapidata.api_client.models.original_filename_metadata import OriginalFilenameMetadata
193
189
  from rapidata.api_client.models.original_filename_metadata_model import OriginalFilenameMetadataModel
@@ -201,6 +197,7 @@ from rapidata.api_client.models.probabilistic_attach_category_referee_config imp
201
197
  from rapidata.api_client.models.prompt_metadata import PromptMetadata
202
198
  from rapidata.api_client.models.prompt_metadata_input import PromptMetadataInput
203
199
  from rapidata.api_client.models.prompt_metadata_model import PromptMetadataModel
200
+ from rapidata.api_client.models.public_order_model import PublicOrderModel
204
201
  from rapidata.api_client.models.public_text_metadata_input import PublicTextMetadataInput
205
202
  from rapidata.api_client.models.query_campaigns_model import QueryCampaignsModel
206
203
  from rapidata.api_client.models.query_model import QueryModel
@@ -27,7 +27,8 @@ class CreateClientModel(BaseModel):
27
27
  The model for creating a new client.
28
28
  """ # noqa: E501
29
29
  display_name: Optional[StrictStr] = Field(default=None, description="An optional display name for the client.", alias="displayName")
30
- __properties: ClassVar[List[str]] = ["displayName"]
30
+ customer_id: Optional[StrictStr] = Field(default=None, alias="customerId")
31
+ __properties: ClassVar[List[str]] = ["displayName", "customerId"]
31
32
 
32
33
  model_config = ConfigDict(
33
34
  populate_by_name=True,
@@ -73,6 +74,11 @@ class CreateClientModel(BaseModel):
73
74
  if self.display_name is None and "display_name" in self.model_fields_set:
74
75
  _dict['displayName'] = None
75
76
 
77
+ # set to None if customer_id (nullable) is None
78
+ # and model_fields_set contains the field
79
+ if self.customer_id is None and "customer_id" in self.model_fields_set:
80
+ _dict['customerId'] = None
81
+
76
82
  return _dict
77
83
 
78
84
  @classmethod
@@ -85,7 +91,8 @@ class CreateClientModel(BaseModel):
85
91
  return cls.model_validate(obj)
86
92
 
87
93
  _obj = cls.model_validate({
88
- "displayName": obj.get("displayName")
94
+ "displayName": obj.get("displayName"),
95
+ "customerId": obj.get("customerId")
89
96
  })
90
97
  return _obj
91
98
 
@@ -26,7 +26,7 @@ class CreateOrderResult(BaseModel):
26
26
  """
27
27
  CreateOrderResult
28
28
  """ # noqa: E501
29
- dataset_id: StrictStr = Field(alias="datasetId")
29
+ dataset_id: Optional[StrictStr] = Field(default=None, alias="datasetId")
30
30
  order_id: StrictStr = Field(alias="orderId")
31
31
  campaign_id: Optional[StrictStr] = Field(default=None, alias="campaignId")
32
32
  __properties: ClassVar[List[str]] = ["datasetId", "orderId", "campaignId"]
@@ -70,6 +70,11 @@ class CreateOrderResult(BaseModel):
70
70
  exclude=excluded_fields,
71
71
  exclude_none=True,
72
72
  )
73
+ # set to None if dataset_id (nullable) is None
74
+ # and model_fields_set contains the field
75
+ if self.dataset_id is None and "dataset_id" in self.model_fields_set:
76
+ _dict['datasetId'] = None
77
+
73
78
  # set to None if campaign_id (nullable) is None
74
79
  # and model_fields_set contains the field
75
80
  if self.campaign_id is None and "campaign_id" in self.model_fields_set:
@@ -19,7 +19,7 @@ import json
19
19
 
20
20
  from pydantic import BaseModel, ConfigDict
21
21
  from typing import Any, ClassVar, Dict, List
22
- from rapidata.api_client.models.order_model import OrderModel
22
+ from rapidata.api_client.models.public_order_model import PublicOrderModel
23
23
  from typing import Optional, Set
24
24
  from typing_extensions import Self
25
25
 
@@ -27,7 +27,7 @@ class GetPublicOrdersResult(BaseModel):
27
27
  """
28
28
  GetPublicOrdersResult
29
29
  """ # noqa: E501
30
- orders: List[OrderModel]
30
+ orders: List[PublicOrderModel]
31
31
  __properties: ClassVar[List[str]] = ["orders"]
32
32
 
33
33
  model_config = ConfigDict(
@@ -88,7 +88,7 @@ class GetPublicOrdersResult(BaseModel):
88
88
  return cls.model_validate(obj)
89
89
 
90
90
  _obj = cls.model_validate({
91
- "orders": [OrderModel.from_dict(_item) for _item in obj["orders"]] if obj.get("orders") is not None else None
91
+ "orders": [PublicOrderModel.from_dict(_item) for _item in obj["orders"]] if obj.get("orders") is not None else None
92
92
  })
93
93
  return _obj
94
94
 
@@ -17,8 +17,9 @@ import pprint
17
17
  import re # noqa: F401
18
18
  import json
19
19
 
20
- from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr
21
- from typing import Any, ClassVar, Dict, List
20
+ from datetime import datetime
21
+ from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr, field_validator
22
+ from typing import Any, ClassVar, Dict, List, Optional
22
23
  from typing import Optional, Set
23
24
  from typing_extensions import Self
24
25
 
@@ -27,9 +28,19 @@ class OrderModel(BaseModel):
27
28
  OrderModel
28
29
  """ # noqa: E501
29
30
  id: StrictStr
30
- name: StrictStr
31
+ order_date: Optional[datetime] = Field(alias="orderDate")
32
+ customer_mail: StrictStr = Field(alias="customerMail")
33
+ state: StrictStr
34
+ order_name: StrictStr = Field(alias="orderName")
31
35
  is_public: StrictBool = Field(alias="isPublic")
32
- __properties: ClassVar[List[str]] = ["id", "name", "isPublic"]
36
+ __properties: ClassVar[List[str]] = ["id", "orderDate", "customerMail", "state", "orderName", "isPublic"]
37
+
38
+ @field_validator('state')
39
+ def state_validate_enum(cls, value):
40
+ """Validates the enum"""
41
+ if value not in set(['Created', 'Submitted', 'ManualReview', 'Processing', 'Paused', 'Completed', 'Cancelled', 'Failed']):
42
+ raise ValueError("must be one of enum values ('Created', 'Submitted', 'ManualReview', 'Processing', 'Paused', 'Completed', 'Cancelled', 'Failed')")
43
+ return value
33
44
 
34
45
  model_config = ConfigDict(
35
46
  populate_by_name=True,
@@ -70,6 +81,11 @@ class OrderModel(BaseModel):
70
81
  exclude=excluded_fields,
71
82
  exclude_none=True,
72
83
  )
84
+ # set to None if order_date (nullable) is None
85
+ # and model_fields_set contains the field
86
+ if self.order_date is None and "order_date" in self.model_fields_set:
87
+ _dict['orderDate'] = None
88
+
73
89
  return _dict
74
90
 
75
91
  @classmethod
@@ -83,7 +99,10 @@ class OrderModel(BaseModel):
83
99
 
84
100
  _obj = cls.model_validate({
85
101
  "id": obj.get("id"),
86
- "name": obj.get("name"),
102
+ "orderDate": obj.get("orderDate"),
103
+ "customerMail": obj.get("customerMail"),
104
+ "state": obj.get("state"),
105
+ "orderName": obj.get("orderName"),
87
106
  "isPublic": obj.get("isPublic")
88
107
  })
89
108
  return _obj
@@ -0,0 +1,105 @@
1
+ # coding: utf-8
2
+
3
+ """
4
+ Rapidata.Dataset
5
+
6
+ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
7
+
8
+ The version of the OpenAPI document: v1
9
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
10
+
11
+ Do not edit the class manually.
12
+ """ # noqa: E501
13
+
14
+
15
+ from __future__ import annotations
16
+ import pprint
17
+ import re # noqa: F401
18
+ import json
19
+
20
+ from pydantic import BaseModel, ConfigDict, Field, StrictInt
21
+ from typing import Any, ClassVar, Dict, List, Optional
22
+ from rapidata.api_client.models.order_model import OrderModel
23
+ from typing import Optional, Set
24
+ from typing_extensions import Self
25
+
26
+ class OrderModelPagedResult(BaseModel):
27
+ """
28
+ OrderModelPagedResult
29
+ """ # noqa: E501
30
+ total: StrictInt
31
+ page: StrictInt
32
+ page_size: StrictInt = Field(alias="pageSize")
33
+ items: List[OrderModel]
34
+ total_pages: Optional[StrictInt] = Field(default=None, alias="totalPages")
35
+ __properties: ClassVar[List[str]] = ["total", "page", "pageSize", "items", "totalPages"]
36
+
37
+ model_config = ConfigDict(
38
+ populate_by_name=True,
39
+ validate_assignment=True,
40
+ protected_namespaces=(),
41
+ )
42
+
43
+
44
+ def to_str(self) -> str:
45
+ """Returns the string representation of the model using alias"""
46
+ return pprint.pformat(self.model_dump(by_alias=True))
47
+
48
+ def to_json(self) -> str:
49
+ """Returns the JSON representation of the model using alias"""
50
+ # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead
51
+ return json.dumps(self.to_dict())
52
+
53
+ @classmethod
54
+ def from_json(cls, json_str: str) -> Optional[Self]:
55
+ """Create an instance of OrderModelPagedResult from a JSON string"""
56
+ return cls.from_dict(json.loads(json_str))
57
+
58
+ def to_dict(self) -> Dict[str, Any]:
59
+ """Return the dictionary representation of the model using alias.
60
+
61
+ This has the following differences from calling pydantic's
62
+ `self.model_dump(by_alias=True)`:
63
+
64
+ * `None` is only added to the output dict for nullable fields that
65
+ were set at model initialization. Other fields with value `None`
66
+ are ignored.
67
+ * OpenAPI `readOnly` fields are excluded.
68
+ """
69
+ excluded_fields: Set[str] = set([
70
+ "total_pages",
71
+ ])
72
+
73
+ _dict = self.model_dump(
74
+ by_alias=True,
75
+ exclude=excluded_fields,
76
+ exclude_none=True,
77
+ )
78
+ # override the default output from pydantic by calling `to_dict()` of each item in items (list)
79
+ _items = []
80
+ if self.items:
81
+ for _item_items in self.items:
82
+ if _item_items:
83
+ _items.append(_item_items.to_dict())
84
+ _dict['items'] = _items
85
+ return _dict
86
+
87
+ @classmethod
88
+ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
89
+ """Create an instance of OrderModelPagedResult from a dict"""
90
+ if obj is None:
91
+ return None
92
+
93
+ if not isinstance(obj, dict):
94
+ return cls.model_validate(obj)
95
+
96
+ _obj = cls.model_validate({
97
+ "total": obj.get("total"),
98
+ "page": obj.get("page"),
99
+ "pageSize": obj.get("pageSize"),
100
+ "items": [OrderModel.from_dict(_item) for _item in obj["items"]] if obj.get("items") is not None else None,
101
+ "totalPages": obj.get("totalPages")
102
+ })
103
+ return _obj
104
+
105
+
@@ -0,0 +1,91 @@
1
+ # coding: utf-8
2
+
3
+ """
4
+ Rapidata.Dataset
5
+
6
+ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
7
+
8
+ The version of the OpenAPI document: v1
9
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
10
+
11
+ Do not edit the class manually.
12
+ """ # noqa: E501
13
+
14
+
15
+ from __future__ import annotations
16
+ import pprint
17
+ import re # noqa: F401
18
+ import json
19
+
20
+ from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr
21
+ from typing import Any, ClassVar, Dict, List
22
+ from typing import Optional, Set
23
+ from typing_extensions import Self
24
+
25
+ class PublicOrderModel(BaseModel):
26
+ """
27
+ PublicOrderModel
28
+ """ # noqa: E501
29
+ id: StrictStr
30
+ name: StrictStr
31
+ is_public: StrictBool = Field(alias="isPublic")
32
+ __properties: ClassVar[List[str]] = ["id", "name", "isPublic"]
33
+
34
+ model_config = ConfigDict(
35
+ populate_by_name=True,
36
+ validate_assignment=True,
37
+ protected_namespaces=(),
38
+ )
39
+
40
+
41
+ def to_str(self) -> str:
42
+ """Returns the string representation of the model using alias"""
43
+ return pprint.pformat(self.model_dump(by_alias=True))
44
+
45
+ def to_json(self) -> str:
46
+ """Returns the JSON representation of the model using alias"""
47
+ # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead
48
+ return json.dumps(self.to_dict())
49
+
50
+ @classmethod
51
+ def from_json(cls, json_str: str) -> Optional[Self]:
52
+ """Create an instance of PublicOrderModel from a JSON string"""
53
+ return cls.from_dict(json.loads(json_str))
54
+
55
+ def to_dict(self) -> Dict[str, Any]:
56
+ """Return the dictionary representation of the model using alias.
57
+
58
+ This has the following differences from calling pydantic's
59
+ `self.model_dump(by_alias=True)`:
60
+
61
+ * `None` is only added to the output dict for nullable fields that
62
+ were set at model initialization. Other fields with value `None`
63
+ are ignored.
64
+ """
65
+ excluded_fields: Set[str] = set([
66
+ ])
67
+
68
+ _dict = self.model_dump(
69
+ by_alias=True,
70
+ exclude=excluded_fields,
71
+ exclude_none=True,
72
+ )
73
+ return _dict
74
+
75
+ @classmethod
76
+ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
77
+ """Create an instance of PublicOrderModel from a dict"""
78
+ if obj is None:
79
+ return None
80
+
81
+ if not isinstance(obj, dict):
82
+ return cls.model_validate(obj)
83
+
84
+ _obj = cls.model_validate({
85
+ "id": obj.get("id"),
86
+ "name": obj.get("name"),
87
+ "isPublic": obj.get("isPublic")
88
+ })
89
+ return _obj
90
+
91
+
@@ -159,8 +159,6 @@ Class | Method | HTTP request | Description
159
159
  - [AddValidationRapidModelTruth](rapidata/api_client/docs/AddValidationRapidModelTruth.md)
160
160
  - [AddValidationRapidResult](rapidata/api_client/docs/AddValidationRapidResult.md)
161
161
  - [AddValidationTextRapidModel](rapidata/api_client/docs/AddValidationTextRapidModel.md)
162
- - [AdminOrderModel](rapidata/api_client/docs/AdminOrderModel.md)
163
- - [AdminOrderModelPagedResult](rapidata/api_client/docs/AdminOrderModelPagedResult.md)
164
162
  - [AgeGroup](rapidata/api_client/docs/AgeGroup.md)
165
163
  - [AgeUserFilterModel](rapidata/api_client/docs/AgeUserFilterModel.md)
166
164
  - [AggregatorType](rapidata/api_client/docs/AggregatorType.md)
@@ -224,8 +222,6 @@ Class | Method | HTTP request | Description
224
222
  - [CreateSimplePipelineModelArtifactsInner](rapidata/api_client/docs/CreateSimplePipelineModelArtifactsInner.md)
225
223
  - [CreateSimplePipelineModelPipelineStepsInner](rapidata/api_client/docs/CreateSimplePipelineModelPipelineStepsInner.md)
226
224
  - [CreateUnsupportedOrderModel](rapidata/api_client/docs/CreateUnsupportedOrderModel.md)
227
- - [CustomerOrderModel](rapidata/api_client/docs/CustomerOrderModel.md)
228
- - [CustomerOrderModelPagedResult](rapidata/api_client/docs/CustomerOrderModelPagedResult.md)
229
225
  - [Datapoint](rapidata/api_client/docs/Datapoint.md)
230
226
  - [DatapointAsset](rapidata/api_client/docs/DatapointAsset.md)
231
227
  - [DatapointGetByIdGet200Response](rapidata/api_client/docs/DatapointGetByIdGet200Response.md)
@@ -325,7 +321,7 @@ Class | Method | HTTP request | Description
325
321
  - [NullAssetModel1](rapidata/api_client/docs/NullAssetModel1.md)
326
322
  - [NullAssetModel2](rapidata/api_client/docs/NullAssetModel2.md)
327
323
  - [OrderModel](rapidata/api_client/docs/OrderModel.md)
328
- - [OrderQueryGet200Response](rapidata/api_client/docs/OrderQueryGet200Response.md)
324
+ - [OrderModelPagedResult](rapidata/api_client/docs/OrderModelPagedResult.md)
329
325
  - [OrderState](rapidata/api_client/docs/OrderState.md)
330
326
  - [OriginalFilenameMetadata](rapidata/api_client/docs/OriginalFilenameMetadata.md)
331
327
  - [OriginalFilenameMetadataModel](rapidata/api_client/docs/OriginalFilenameMetadataModel.md)
@@ -339,6 +335,7 @@ Class | Method | HTTP request | Description
339
335
  - [PromptMetadata](rapidata/api_client/docs/PromptMetadata.md)
340
336
  - [PromptMetadataInput](rapidata/api_client/docs/PromptMetadataInput.md)
341
337
  - [PromptMetadataModel](rapidata/api_client/docs/PromptMetadataModel.md)
338
+ - [PublicOrderModel](rapidata/api_client/docs/PublicOrderModel.md)
342
339
  - [PublicTextMetadataInput](rapidata/api_client/docs/PublicTextMetadataInput.md)
343
340
  - [QueryCampaignsModel](rapidata/api_client/docs/QueryCampaignsModel.md)
344
341
  - [QueryModel](rapidata/api_client/docs/QueryModel.md)
@@ -3,7 +3,7 @@ from rapidata.rapidata_client.dataset.rapidata_dataset import RapidataDataset
3
3
  from rapidata.service.openapi_service import OpenAPIService
4
4
  import json
5
5
  from rapidata.api_client.exceptions import ApiException
6
- from typing import cast
6
+ from typing import Optional, cast
7
7
  from rapidata.api_client.models.workflow_artifact_model import WorkflowArtifactModel
8
8
  from tqdm import tqdm
9
9
 
@@ -22,12 +22,14 @@ class RapidataOrder:
22
22
  def __init__(
23
23
  self,
24
24
  order_id: str,
25
- dataset: RapidataDataset,
25
+ dataset: Optional[RapidataDataset],
26
26
  openapi_service: OpenAPIService,
27
+ name: str,
27
28
  ):
28
29
  self.openapi_service = openapi_service
29
30
  self.order_id = order_id
30
31
  self._dataset = dataset
32
+ self.name = name
31
33
  self._workflow_id = None
32
34
 
33
35
  def submit(self):
@@ -67,16 +69,16 @@ class RapidataOrder:
67
69
  if current_completed > completed_rapids:
68
70
  pbar.update(current_completed - completed_rapids)
69
71
  completed_rapids = current_completed
70
-
72
+
71
73
  if completed_rapids >= total_rapids:
72
74
  break
73
-
75
+
74
76
  time.sleep(refresh_rate)
75
77
 
76
78
  def _get_workflow_id(self):
77
79
  if self._workflow_id:
78
80
  return self._workflow_id
79
-
81
+
80
82
  for _ in range(2):
81
83
  try:
82
84
  order_result = self.openapi_service.order_api.order_get_by_id_get(self.order_id)
@@ -88,7 +90,7 @@ class RapidataOrder:
88
90
  if not self._workflow_id:
89
91
  raise Exception("Order has not started yet. Please wait for a few seconds and try again.")
90
92
  return self._workflow_id
91
-
93
+
92
94
  def _get_total_rapids(self):
93
95
  workflow_id = self._get_workflow_id()
94
96
  return self.openapi_service.workflow_api.workflow_get_progress_get(workflow_id).total
@@ -33,7 +33,7 @@ from rapidata.rapidata_client.workflow.compare_workflow import CompareWorkflow
33
33
 
34
34
  from rapidata.rapidata_client.assets import MediaAsset, TextAsset, MultiAsset
35
35
 
36
- from typing import cast, Sequence
36
+ from typing import Optional, cast, Sequence
37
37
 
38
38
 
39
39
  class RapidataOrderBuilder:
@@ -60,6 +60,7 @@ class RapidataOrderBuilder:
60
60
  """
61
61
  self._name = name
62
62
  self._openapi_service = openapi_service
63
+ self._dataset: Optional[RapidataDataset]
63
64
  self._workflow: Workflow | None = None
64
65
  self._referee: Referee | None = None
65
66
  self._metadata: list[Metadata] | None = None
@@ -126,10 +127,6 @@ class RapidataOrderBuilder:
126
127
  Returns:
127
128
  RapidataOrder: The created RapidataOrder instance.
128
129
  """
129
- if not self._workflow or not self._assets:
130
- raise ValueError(
131
- "You must provide a workflow and assets to create an order. Use the .workflow() and .media() methods respecitvely."
132
- )
133
130
  order_model = self._to_model()
134
131
  if isinstance(
135
132
  self._workflow, CompareWorkflow
@@ -143,22 +140,33 @@ class RapidataOrderBuilder:
143
140
  )
144
141
 
145
142
  self.order_id = result.order_id
146
- self._dataset = RapidataDataset(result.dataset_id, self._openapi_service)
143
+
144
+ self._dataset = (
145
+ RapidataDataset(result.dataset_id, self._openapi_service)
146
+ if result.dataset_id
147
+ else None
148
+ )
149
+
147
150
  order = RapidataOrder(
148
151
  order_id=self.order_id,
149
152
  dataset=self._dataset,
150
153
  openapi_service=self._openapi_service,
154
+ name=self._name,
151
155
  )
152
156
 
153
- if all(isinstance(item, MediaAsset) for item in self._assets):
157
+ if all(isinstance(item, MediaAsset) for item in self._assets) and order.dataset:
154
158
  assets = cast(list[MediaAsset], self._assets)
155
159
  order.dataset.add_media_from_paths(assets, self._metadata, max_workers)
156
160
 
157
- elif all(isinstance(item, TextAsset) for item in self._assets):
161
+ elif (
162
+ all(isinstance(item, TextAsset) for item in self._assets) and order.dataset
163
+ ):
158
164
  assets = cast(list[TextAsset], self._assets)
159
165
  order.dataset.add_texts(assets)
160
166
 
161
- elif all(isinstance(item, MultiAsset) for item in self._assets):
167
+ elif (
168
+ all(isinstance(item, MultiAsset) for item in self._assets) and order.dataset
169
+ ):
162
170
  multi_assets = cast(list[MultiAsset], self._assets)
163
171
 
164
172
  # Check if all MultiAssets contain the same type of assets
@@ -186,7 +194,7 @@ class RapidataOrderBuilder:
186
194
  "MultiAsset must contain MediaAssets or TextAssets objects."
187
195
  )
188
196
 
189
- else:
197
+ elif order.dataset:
190
198
  raise ValueError(
191
199
  "Media paths must be of type MediaAsset, TextAsset, or MultiAsset."
192
200
  )
@@ -11,6 +11,12 @@ from rapidata.rapidata_client.dataset.rapidata_dataset import RapidataDataset
11
11
  from rapidata.rapidata_client.simple_builders.simple_classification_builders import ClassificationQuestionBuilder
12
12
  from rapidata.rapidata_client.simple_builders.simple_compare_builders import CompareCriteriaBuilder
13
13
 
14
+ from rapidata.api_client.models.query_orders_model import QueryOrdersModel
15
+ from rapidata.api_client.models.page_info import PageInfo
16
+ from rapidata.api_client.models.root_filter import RootFilter
17
+ from rapidata.api_client.models.filter import Filter
18
+
19
+
14
20
  class RapidataClient:
15
21
  """The Rapidata client is the main entry point for interacting with the Rapidata API. It allows you to create orders and validation sets. For creating a new order, check out `new_order()`. For creating a new validation set, check out `new_validation_set()`."""
16
22
 
@@ -85,12 +91,38 @@ class RapidataClient:
85
91
  # TODO: check the pipeline for the dataset id - not really necessary atm
86
92
  # order = self.openapi_service.order_api.order_get_by_id_get(order_id)
87
93
  # pipeline = self.openapi_service..pipeline_get_by_id_get(order.pipeline_id)
94
+ try:
95
+ order = self.openapi_service.order_api.order_get_by_id_get(order_id)
96
+ except Exception:
97
+ raise ValueError(f"Order with ID {order_id} not found.")
98
+
88
99
  temp_dataset = RapidataDataset("temp", self.openapi_service)
89
100
  return RapidataOrder(
90
101
  dataset=temp_dataset,
91
102
  order_id=order_id,
103
+ name=order.order_name,
92
104
  openapi_service=self.openapi_service)
93
105
 
106
+ def find_orders(self, name: str = "", amount: int = 1) -> list[RapidataOrder]:
107
+ """Find orders by name. If name is not provided, it will return the most recent order.
108
+
109
+ Args:
110
+ name (str, optional): The name of the order - matching order will contain the name. Defaults to "" for any order.
111
+ amount (int, optional): The amount of orders to return. Defaults to 1.
112
+
113
+ Returns:
114
+ list[RapidataOrder]: A list of RapidataOrder instances.
115
+ """
116
+ try:
117
+ order_page_result = self.openapi_service.order_api.order_query_get(QueryOrdersModel(
118
+ page=PageInfo(index=1, size=amount),
119
+ filter=RootFilter(filters=[Filter(field="OrderName", operator="Contains", value=name)])))
120
+ except Exception:
121
+ raise ValueError(f"Failed to find orders with name {name}.")
122
+
123
+ orders = [self.get_order(order.id) for order in order_page_result.items]
124
+ return orders
125
+
94
126
  def create_classify_order(self, name: str) -> ClassificationQuestionBuilder:
95
127
  """Create a new classification order where people are asked to classify an image.
96
128
 
@@ -3,3 +3,4 @@ from .classify_workflow import ClassifyWorkflow
3
3
  from .compare_workflow import CompareWorkflow
4
4
  from .free_text_workflow import FreeTextWorkflow
5
5
  from .transcription_workflow import TranscriptionWorkflow
6
+ from .evaluation_workflow import EvaluationWorkflow
@@ -2,12 +2,14 @@ from abc import ABC, abstractmethod
2
2
  from typing import Any
3
3
 
4
4
  from rapidata.api_client.models.simple_workflow_model import SimpleWorkflowModel
5
+ from rapidata.api_client.models.evaluation_workflow_model import EvaluationWorkflowModel
6
+ from rapidata.api_client.models.compare_workflow_model import CompareWorkflowModel
5
7
  from rapidata.rapidata_client.feature_flags import FeatureFlags
6
8
  from rapidata.rapidata_client.referee.base_referee import Referee
7
9
 
8
10
 
9
11
  class Workflow(ABC):
10
-
12
+
11
13
  def __init__(self, type: str):
12
14
  self._type = type
13
15
  self._target_country_codes: list[str] = []
@@ -20,19 +22,21 @@ class Workflow(ABC):
20
22
  "targetCountryCodes": self._target_country_codes,
21
23
  "featureFlags": self._feature_flags.to_list(),
22
24
  }
23
-
25
+
24
26
  @abstractmethod
25
- def to_model(self) -> SimpleWorkflowModel:
27
+ def to_model(
28
+ self,
29
+ ) -> SimpleWorkflowModel | CompareWorkflowModel | EvaluationWorkflowModel:
26
30
  pass
27
31
 
28
32
  def referee(self, referee: Referee):
29
33
  self._referee = referee
30
34
  return self
31
-
35
+
32
36
  def target_country_codes(self, target_country_codes: list[str]):
33
37
  self._target_country_codes = target_country_codes
34
38
  return self
35
-
39
+
36
40
  def feature_flags(self, feature_flags: FeatureFlags):
37
41
  self._feature_flags = feature_flags
38
42
  return self
@@ -0,0 +1,15 @@
1
+ from rapidata.api_client.models.evaluation_workflow_model import EvaluationWorkflowModel
2
+ from rapidata.rapidata_client.workflow.base_workflow import Workflow
3
+
4
+
5
+ class EvaluationWorkflow(Workflow):
6
+ """Workflow to run evaluation orders. This is used internally only and should not be necessary to be used by clients."""
7
+
8
+ def __init__(self, validation_set_id: str):
9
+ super().__init__("EvaluationWorkflow")
10
+ self.validation_set_id = validation_set_id
11
+
12
+ def to_model(self):
13
+ return EvaluationWorkflowModel(
14
+ _t="EvaluationWorkflow", validationSetId=self.validation_set_id
15
+ )
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: rapidata
3
- Version: 1.3.1
3
+ Version: 1.4.0
4
4
  Summary: Rapidata package containing the Rapidata Python Client to interact with the Rapidata Web API in an easy way.
5
5
  License: Apache-2.0
6
6
  Author: Rapidata AG
@@ -1,5 +1,5 @@
1
1
  rapidata/__init__.py,sha256=vjmq4p45annpd9K5QbD_0RdcLIkDnNFkNb55ZVws56A,587
2
- rapidata/api_client/__init__.py,sha256=vuPr6fG-glEl1Sn4L9tJrx7_HpmqzpM9uryOS1I6lEI,24196
2
+ rapidata/api_client/__init__.py,sha256=kVvFCI9LJojctHrtdas3VH3EPpbuT8S2OrERxSew5v4,23913
3
3
  rapidata/api_client/api/__init__.py,sha256=S0oVoAVMys10M-Z1SqirMdnHMYSHH3Lz6iph1CfILc0,1004
4
4
  rapidata/api_client/api/campaign_api.py,sha256=DxPFqt9F6c9OpXu_Uxhsrib2NVwnbcZFa3Vkrj7cIuA,40474
5
5
  rapidata/api_client/api/coco_api.py,sha256=4QYkW7c0SZvs-HOYmj585yL0KNr6Xc16ajS7b72yI6w,24972
@@ -8,7 +8,7 @@ rapidata/api_client/api/datapoint_api.py,sha256=CdLFVMrVylj2_D6Ll58_4ME604-7mgWC
8
8
  rapidata/api_client/api/dataset_api.py,sha256=9v2bBPYnRDKWvAvB7cJoew-O_bkmuocjpcg75hjkAkQ,92297
9
9
  rapidata/api_client/api/identity_api.py,sha256=cj_eFzaxjZz4CjPsRWmWmsi0jlfSLA8R2bbPH7AXqpA,150412
10
10
  rapidata/api_client/api/newsletter_api.py,sha256=9ZqGDB4_AEQZfRA61RRYkyQ06WjXH-aCwJUe60c2H4w,22575
11
- rapidata/api_client/api/order_api.py,sha256=3hrD7v9dEUmIN4TQEScaU8Te5zwemnasOn6onywBnGs,209361
11
+ rapidata/api_client/api/order_api.py,sha256=llSmHHwivLmcJJ5XCNwZw6KBySIOJmLtr5d27hoCApU,209409
12
12
  rapidata/api_client/api/pipeline_api.py,sha256=-2KuB0C1P7veSMmOqXKSJpLN_5xdM_5JbUTSluEUpPA,33246
13
13
  rapidata/api_client/api/rapid_api.py,sha256=q7LJiweMnln2fs_KOzwVlO4bEk564kNkvPschqySUE8,54426
14
14
  rapidata/api_client/api/rapidata_identity_api_api.py,sha256=-kgoDuLdh-R4MQ7JPi3kQ0WDFKbmI0MkCjxwHXBmksA,9824
@@ -20,7 +20,7 @@ rapidata/api_client/api_client.py,sha256=EDhxAOUc5JFWvFsF1zc726Q7GoEFkuB8uor5SlG
20
20
  rapidata/api_client/api_response.py,sha256=eMxw1mpmJcoGZ3gs9z6jM4oYoZ10Gjk333s9sKxGv7s,652
21
21
  rapidata/api_client/configuration.py,sha256=g472vHVPLBotq8EkfSXP4sbp7xnn-3sb8O8BBlRWK1I,15931
22
22
  rapidata/api_client/exceptions.py,sha256=eLLd1fxM0Ygf3IIG6aNx9hdy79drst5Cem0UjI_NamM,5978
23
- rapidata/api_client/models/__init__.py,sha256=nd7tqO4xzkXa-m_IsMPnpJapmhFoV5vM-XByxQJXz6I,22651
23
+ rapidata/api_client/models/__init__.py,sha256=4-leSlFIAEAW-5v86ivs6zKMtmtoHnxNc1A3MKnGQ6o,22368
24
24
  rapidata/api_client/models/add_campaign_artifact_result.py,sha256=4IvFVS-tLlL6eHsWp-IZ_ul5T30-h3YEwd2B5ioBbgY,2582
25
25
  rapidata/api_client/models/add_campaign_model.py,sha256=OJzkfvQlrp6j6ffwVShouUCW-MQZw60BGUJpqjbSGs8,6853
26
26
  rapidata/api_client/models/add_validation_rapid_model.py,sha256=-HRHMK-o6dgGjUqfsP_woZcFxfN7nuJ-L1CUaK9nihY,4918
@@ -78,7 +78,7 @@ rapidata/api_client/models/count_classification_metadata_filter_config.py,sha256
78
78
  rapidata/api_client/models/count_metadata.py,sha256=jZPGQjbV49uZo6DYrKGisLlSdQNZ6y_nfPMgsKbB1Bs,3165
79
79
  rapidata/api_client/models/count_metadata_model.py,sha256=nbQxNJQ3q0iwYstvb9NWPIwkRsq3J-nHiLts91WvXdw,3044
80
80
  rapidata/api_client/models/country_user_filter_model.py,sha256=8DjS-0yga8yRBMze691dU7IWOJYuw4iTo8ih3H132cs,2982
81
- rapidata/api_client/models/create_client_model.py,sha256=n6dyAySiHxD6E12TW71qX9kqLBNrffUmTbf0LnXbb1M,2894
81
+ rapidata/api_client/models/create_client_model.py,sha256=A6APevdq6MMcF5oqdDk2ACflwy8IKIUljtu2oVNnVbw,3262
82
82
  rapidata/api_client/models/create_client_result.py,sha256=OHBnTMyW5Nno39JHoJkcQbCGyol-Xe6v_NQYn2Kur7g,2672
83
83
  rapidata/api_client/models/create_complex_order_model.py,sha256=46n1IJRAIyCYCGXKvF5LjMVf4pXILC-kP86oU6YKo1w,3337
84
84
  rapidata/api_client/models/create_complex_order_model_pipeline.py,sha256=yF_-tOciVlAiDlWb1bptnoEFGlQis68WEI_EeviEFk8,4939
@@ -99,7 +99,7 @@ rapidata/api_client/models/create_order_model_referee.py,sha256=dxQ9SDiBjFIKYjct
99
99
  rapidata/api_client/models/create_order_model_selections_inner.py,sha256=9p9BJKHN3WhRiu-FwWf421COAxeGmm1KkkyDT7UW5uc,8354
100
100
  rapidata/api_client/models/create_order_model_user_filters_inner.py,sha256=2PAJkzMgWavHvaiR5vb1Sk6uPQZkDltiMjeoQAdsU8c,9412
101
101
  rapidata/api_client/models/create_order_model_workflow.py,sha256=cy7bD2kWvLkCgFdrViAG63xtYDIdVOn0dD74GRxni_A,6638
102
- rapidata/api_client/models/create_order_result.py,sha256=JfqjZHcmZCNtAznfXs_iZwkBwxCNRY1mHp9Zx3kSMdo,3026
102
+ rapidata/api_client/models/create_order_result.py,sha256=zGr4EOKdjfy5SBLvox_iiCwwc7dXOfi70M0WYSZGgH4,3272
103
103
  rapidata/api_client/models/create_simple_pipeline_model.py,sha256=loLhevw-sZap22HDFGDF1aphPBznt1M-wBY31haihNY,4729
104
104
  rapidata/api_client/models/create_simple_pipeline_model_artifacts_inner.py,sha256=EvOz0EpU3RIfZ1rw6EGOkGiFzGi1Zm0YmeDKNQ7WWS8,5027
105
105
  rapidata/api_client/models/create_simple_pipeline_model_pipeline_steps_inner.py,sha256=6N8-Xsybow21NhHKVzKv-QDJR4rPZYkAzgorIVyTod4,8837
@@ -151,7 +151,7 @@ rapidata/api_client/models/get_order_by_id_result.py,sha256=46bKh7NsaCprCpROqRsg
151
151
  rapidata/api_client/models/get_order_results_result.py,sha256=zHCTEa1VgbIoGXHsBtJ3z8wZ9X8hy0zRh_GpA4pT0vA,2830
152
152
  rapidata/api_client/models/get_pipeline_by_id_result.py,sha256=JB4kJasul1r298p5PrBVyIGIa5zsQHMLuFnHECIJF2Y,3263
153
153
  rapidata/api_client/models/get_pipeline_by_id_result_artifacts_value.py,sha256=tvh4GD4YeU9VnXKWLiqTfqGsC-90hUa_zAd-qkcwEPs,8476
154
- rapidata/api_client/models/get_public_orders_result.py,sha256=ZeORzTIQu3hq1nNdb6tjvSgrLOs8HVbDYjLOZTJNno4,2976
154
+ rapidata/api_client/models/get_public_orders_result.py,sha256=1Eq-R7wX2fKREuu-o1u5pVqHnc89-_--pkz78y80oEM,3001
155
155
  rapidata/api_client/models/get_simple_workflow_result_overview_result.py,sha256=ThHj63FCET3FcfC8jBjTG8opL2ZUMwg4BZFIzXFaC8I,6554
156
156
  rapidata/api_client/models/get_workflow_by_id_result.py,sha256=l8DvKolvRGJQtMuTXLVwJuCN0eaSET-gi0p6TV6phuQ,2886
157
157
  rapidata/api_client/models/get_workflow_by_id_result_workflow.py,sha256=Pc-kq2AnoxqVQmJj52Fptyb-RoTihwq73GpODiw6trk,5735
@@ -210,7 +210,8 @@ rapidata/api_client/models/null_asset_model.py,sha256=JGEGO4Jne8wAPFiEHn1FNCqu6O
210
210
  rapidata/api_client/models/null_asset_model1.py,sha256=FAu0ayR7eK_mssNRFwDiaLTumoB44MiZzvWg6Lf3tOw,3601
211
211
  rapidata/api_client/models/null_asset_model2.py,sha256=VZSWnotnBGTuHXeySuHxQ8KWzMzi2WZrSlMqJNuEsTs,3601
212
212
  rapidata/api_client/models/only_validation_workflow_rapid_selection_config.py,sha256=I_k5RsXAXbK8Oe3yhQjN_JO1t1kvPnA4pemQS_CzHmw,3231
213
- rapidata/api_client/models/order_model.py,sha256=RBNDwpGUc4d-2fPg9Fg8VW4Ml5D9yc5TnJGYu95kXrg,2647
213
+ rapidata/api_client/models/order_model.py,sha256=LILeVji0W3WFCg5VoMlkpW0aeNZJHcqW5pxW-RLQAAI,3710
214
+ rapidata/api_client/models/order_model_paged_result.py,sha256=7wHL_M1NYHFWFnaWjqiIx2GCjwWup7Dk1dBNp7_oiLk,3453
214
215
  rapidata/api_client/models/order_query_get200_response.py,sha256=Zt6TqghldmhkXrF8eIUWXVCp1Af7jiD6iMbuvdj02G8,5876
215
216
  rapidata/api_client/models/order_state.py,sha256=vKWXvq2oi5WNfDzSZ-1EnB-LGKVShj5ltGMYmt0k278,921
216
217
  rapidata/api_client/models/original_filename_metadata.py,sha256=83cep8ZqYHMxPDCO_JPH8TkubZ6Sddl6VKS0CPld5uY,3321
@@ -225,6 +226,7 @@ rapidata/api_client/models/probabilistic_attach_category_referee_config.py,sha25
225
226
  rapidata/api_client/models/prompt_metadata.py,sha256=I2zZbxyffAblh-Gjg58N0cAlTvZoc08aNH4v8J3WZhc,3166
226
227
  rapidata/api_client/models/prompt_metadata_input.py,sha256=6dTgZ2OPerrwmpHoEUyQRNuyva-BaCsqS-AANx1zdTI,3065
227
228
  rapidata/api_client/models/prompt_metadata_model.py,sha256=ZdJul9-8N8eGZbWkpJFMrCqeBNtidlQZxnihgioWR3w,3045
229
+ rapidata/api_client/models/public_order_model.py,sha256=8UX2rY-Th5MzRArrMzORo79hrupHSk4U5UZXo1JpIww,2671
228
230
  rapidata/api_client/models/public_text_metadata_input.py,sha256=n9-TY_32304RZ4N6B5uA16YhseExJZjF14MmlCcdm1U,3089
229
231
  rapidata/api_client/models/query_campaigns_model.py,sha256=QFN637qh7qG0QjuJfTpimR57ACtItxTKn18rbdE-BKM,4138
230
232
  rapidata/api_client/models/query_model.py,sha256=EnFwrxlbwhrvG46DWgYPG3CERNIwWh6DdXX86LtEY7g,4193
@@ -307,7 +309,7 @@ rapidata/api_client/models/workflow_split_model.py,sha256=zthOSaUl8dbLhLymLK_lrP
307
309
  rapidata/api_client/models/workflow_split_model_filter_configs_inner.py,sha256=1Fx9uZtztiiAdMXkj7YeCqt7o6VkG9lKf7D7UP_h088,7447
308
310
  rapidata/api_client/models/workflow_state.py,sha256=5LAK1se76RCoozeVB6oxMPb8p_5bhLZJqn7q5fFQWis,850
309
311
  rapidata/api_client/rest.py,sha256=zmCIFQC2l1t-KZcq-TgEm3vco3y_LK6vRm3Q07K-xRI,9423
310
- rapidata/api_client_README.md,sha256=zUJfuL_1q_BgXQd1Q77VzrWoSpdvxU7wALSEZ9ODIAo,37829
312
+ rapidata/api_client_README.md,sha256=58aoLkfxLpoYpBu7uOQkdfPB5wwrkW1cix_LZ1GLQQQ,37571
311
313
  rapidata/rapidata_client/__init__.py,sha256=mX25RNyeNqboIzCMz_Lm3SnMTXM8LJ_jpXuIRraafww,803
312
314
  rapidata/rapidata_client/assets/__init__.py,sha256=T-XKvMSkmyI8iYLUYDdZ3LrrSInHsGMUY_Tz77hhnlE,240
313
315
  rapidata/rapidata_client/assets/base_asset.py,sha256=B2YWH1NgaeYUYHDW3OPpHM_bqawHbH4EjnRCE2BYwiM,298
@@ -339,9 +341,9 @@ rapidata/rapidata_client/metadata/prompt_metadata.py,sha256=_FypjKWrC3iKUO_G2CVw
339
341
  rapidata/rapidata_client/metadata/public_text_metadata.py,sha256=LTiBQHs6izxQ6-C84d6Pf7lL4ENTDgg__HZnDKvzvMc,511
340
342
  rapidata/rapidata_client/metadata/transcription_metadata.py,sha256=THtDEVCON4UlcXHmXrjilaOLHys4TrktUOPGWnXaCcc,631
341
343
  rapidata/rapidata_client/order/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
342
- rapidata/rapidata_client/order/rapidata_order.py,sha256=Q2orpb1NV7XiEAOJD0md93uLpYI1RFfr7mqDJDLk4m4,4643
343
- rapidata/rapidata_client/order/rapidata_order_builder.py,sha256=YBTQ7iXsMF2ALjDRE_NRApKJJYvsJ1fGniJGrDJEN_g,15868
344
- rapidata/rapidata_client/rapidata_client.py,sha256=d8r9C3PCXdqnV7k3xY5A4fUh_96pCro9VWzLTae--l4,4966
344
+ rapidata/rapidata_client/order/rapidata_order.py,sha256=u0VhNgnbT0dn3AJiITqjtqn_OWgdwUcXrgU4iblPXZI,4663
345
+ rapidata/rapidata_client/order/rapidata_order_builder.py,sha256=QvICzduLAuAkf8qFKxHV3zAag838WnV9lEzWdD4dxI0,15926
346
+ rapidata/rapidata_client/rapidata_client.py,sha256=wZ-TANlm3ZNzTiYj6LXgYp5C9a0wkF0cAQcxRPp_TVg,6426
345
347
  rapidata/rapidata_client/referee/__init__.py,sha256=Ow9MQsONhF4sX2wFK9jbvSBrpcJgtq3OglIQMkBUdIY,167
346
348
  rapidata/rapidata_client/referee/base_referee.py,sha256=bMy7cw0a-pGNbFu6u_1_Jplu0A483Ubj4oDQzh8vu8k,493
347
349
  rapidata/rapidata_client/referee/classify_early_stopping_referee.py,sha256=B5wsqKM3_Oc1TU_MFGiIyiXjwK1LcmaVjhzLdaL8Cgw,1797
@@ -358,10 +360,11 @@ rapidata/rapidata_client/simple_builders/simple_classification_builders.py,sha25
358
360
  rapidata/rapidata_client/simple_builders/simple_compare_builders.py,sha256=MOb_QwwjaERRks82LemtG46ovoMLNQmNLN_A7JpZK0M,4240
359
361
  rapidata/rapidata_client/utils/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
360
362
  rapidata/rapidata_client/utils/utils.py,sha256=Fl99gCnh_HnieIp099xEvEv4g2kEIKiFcUp0G2iz6x8,815
361
- rapidata/rapidata_client/workflow/__init__.py,sha256=nHB6heVVf_A3nhSL0NGapnGqJAL0K9nfOpfyaUM5srw,238
362
- rapidata/rapidata_client/workflow/base_workflow.py,sha256=VoZtNIFoylTrylMWC7CqzuSCLfG2yEGCmenf-HBzYOI,1196
363
+ rapidata/rapidata_client/workflow/__init__.py,sha256=xWuzAhBnbcUFfWcgYrzj8ZYLSOXyFtgfepgMrf0hNhU,290
364
+ rapidata/rapidata_client/workflow/base_workflow.py,sha256=3Ow3x3XDkan8ahGq9SkjOGda16ERQ0dtIYcnaZ6QMPc,1416
363
365
  rapidata/rapidata_client/workflow/classify_workflow.py,sha256=NkyyBrlCDqYVQaCARR9EHYuREEtXond69kD6jbzcN3M,1713
364
366
  rapidata/rapidata_client/workflow/compare_workflow.py,sha256=nqrgtohlXBfgHh_cRPOFAlwdI8wVc7PUsH0FDM7wIjg,1431
367
+ rapidata/rapidata_client/workflow/evaluation_workflow.py,sha256=IBQoVFxOaeCDIBfaaboytWk8hNX9QH_xikkXt3lu9GY,619
365
368
  rapidata/rapidata_client/workflow/free_text_workflow.py,sha256=VaypoG3yKgsbtVyqxta3W28eDwdnGebCy2xDWPCBMyo,1566
366
369
  rapidata/rapidata_client/workflow/transcription_workflow.py,sha256=_KDtGCdRhauJm3jQHpwhY-Hq79CLg5I8q2RgOz5lo1g,1404
367
370
  rapidata/service/__init__.py,sha256=s9bS1AJZaWIhLtJX_ZA40_CK39rAAkwdAmymTMbeWl4,68
@@ -369,7 +372,7 @@ rapidata/service/local_file_service.py,sha256=pgorvlWcx52Uh3cEG6VrdMK_t__7dacQ_5
369
372
  rapidata/service/openapi_service.py,sha256=pGcOCttKZW0PVCSM7Kfehe5loh7CxmmDDbu4UJbamnI,2770
370
373
  rapidata/utils/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
371
374
  rapidata/utils/image_utils.py,sha256=TldO3eJWG8IhfJjm5MfNGO0mEDm1mQTsRoA0HLU1Uxs,404
372
- rapidata-1.3.1.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
373
- rapidata-1.3.1.dist-info/METADATA,sha256=1v9m12XMve-YQFq87fyiQ34qGB8L1XtF1OhKKhq9t3k,1012
374
- rapidata-1.3.1.dist-info/WHEEL,sha256=Nq82e9rUAnEjt98J6MlVmMCZb-t9cYE2Ir1kpBmnWfs,88
375
- rapidata-1.3.1.dist-info/RECORD,,
375
+ rapidata-1.4.0.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
376
+ rapidata-1.4.0.dist-info/METADATA,sha256=xP5dp4-r5EBQ1ZVDnEn1vFaMLY6_OO6TeXp0Fx0JxCo,1012
377
+ rapidata-1.4.0.dist-info/WHEEL,sha256=Nq82e9rUAnEjt98J6MlVmMCZb-t9cYE2Ir1kpBmnWfs,88
378
+ rapidata-1.4.0.dist-info/RECORD,,