rapidata 2.28.4__py3-none-any.whl → 2.29.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.
- rapidata/__init__.py +1 -1
- rapidata/api_client/__init__.py +44 -17
- rapidata/api_client/api/__init__.py +1 -0
- rapidata/api_client/api/benchmark_api.py +2766 -0
- rapidata/api_client/api/campaign_api.py +0 -780
- rapidata/api_client/api/coco_api.py +0 -571
- rapidata/api_client/api/customer_rapid_api.py +332 -1
- rapidata/api_client/api/datapoint_api.py +0 -524
- rapidata/api_client/api/dataset_api.py +595 -2276
- rapidata/api_client/api/feedback_api.py +0 -270
- rapidata/api_client/api/identity_api.py +74 -888
- rapidata/api_client/api/leaderboard_api.py +1642 -259
- rapidata/api_client/api/order_api.py +617 -5692
- rapidata/api_client/api/pipeline_api.py +31 -334
- rapidata/api_client/api/validation_set_api.py +469 -3356
- rapidata/api_client/api/workflow_api.py +0 -799
- rapidata/api_client/models/__init__.py +43 -17
- rapidata/api_client/models/add_campaign_model.py +3 -3
- rapidata/api_client/models/add_validation_rapid_model.py +1 -3
- rapidata/api_client/models/add_validation_text_rapid_model.py +1 -3
- rapidata/api_client/models/and_user_filter_model.py +106 -0
- rapidata/api_client/models/and_user_filter_model_filters_inner.py +282 -0
- rapidata/api_client/models/benchmark_query_result.py +94 -0
- rapidata/api_client/models/benchmark_query_result_paged_result.py +105 -0
- rapidata/api_client/models/boost_leaderboard_model.py +89 -0
- rapidata/api_client/models/clone_order_model.py +2 -4
- rapidata/api_client/models/create_benchmark_model.py +87 -0
- rapidata/api_client/models/create_benchmark_participant_model.py +87 -0
- rapidata/api_client/models/create_benchmark_participant_result.py +89 -0
- rapidata/api_client/models/create_benchmark_result.py +87 -0
- rapidata/api_client/models/create_datapoint_result.py +4 -16
- rapidata/api_client/models/create_leaderboard_model.py +18 -2
- rapidata/api_client/models/create_leaderboard_result.py +5 -3
- rapidata/api_client/models/create_order_model.py +3 -3
- rapidata/api_client/models/file_asset_input.py +104 -0
- rapidata/api_client/models/file_asset_input1.py +104 -0
- rapidata/api_client/models/file_asset_input1_file.py +168 -0
- rapidata/api_client/models/file_asset_input2.py +104 -0
- rapidata/api_client/models/file_asset_input_file.py +182 -0
- rapidata/api_client/models/form_file_wrapper.py +120 -0
- rapidata/api_client/models/get_benchmark_by_id_query.py +96 -0
- rapidata/api_client/models/get_benchmark_by_id_query_result.py +94 -0
- rapidata/api_client/models/get_benchmark_by_id_query_result_paged_result.py +105 -0
- rapidata/api_client/models/get_benchmark_by_id_result.py +94 -0
- rapidata/api_client/models/get_participant_by_id_result.py +6 -22
- rapidata/api_client/models/get_standing_by_id_result.py +113 -0
- rapidata/api_client/models/get_validation_rapids_result.py +3 -3
- rapidata/api_client/models/get_workflow_results_result.py +3 -3
- rapidata/api_client/models/local_file_wrapper.py +120 -0
- rapidata/api_client/models/multi_asset_input.py +110 -0
- rapidata/api_client/models/multi_asset_input1.py +110 -0
- rapidata/api_client/models/multi_asset_input1_assets_inner.py +170 -0
- rapidata/api_client/models/multi_asset_input2.py +110 -0
- rapidata/api_client/models/multi_asset_input_assets_inner.py +170 -0
- rapidata/api_client/models/not_user_filter_model.py +3 -3
- rapidata/api_client/models/or_user_filter_model.py +3 -3
- rapidata/api_client/models/participant_by_benchmark.py +102 -0
- rapidata/api_client/models/participant_by_benchmark_paged_result.py +105 -0
- rapidata/api_client/models/participant_by_leaderboard.py +6 -2
- rapidata/api_client/models/participant_status.py +1 -4
- rapidata/api_client/models/pipeline_id_workflow_config_put_request.py +140 -0
- rapidata/api_client/models/potential_validation_rapid.py +103 -0
- rapidata/api_client/models/potential_validation_rapid_paged_result.py +105 -0
- rapidata/api_client/models/potential_validation_rapid_truth.py +280 -0
- rapidata/api_client/models/prompt_asset_metadata_input.py +3 -3
- rapidata/api_client/models/prompt_asset_metadata_input_asset.py +170 -0
- rapidata/api_client/models/prompt_by_benchmark_result.py +92 -0
- rapidata/api_client/models/prompt_by_benchmark_result_paged_result.py +105 -0
- rapidata/api_client/models/prompt_metadata_input.py +5 -3
- rapidata/api_client/models/proxy_file_wrapper.py +114 -0
- rapidata/api_client/models/query_validation_model.py +97 -0
- rapidata/api_client/models/rapid_model.py +3 -3
- rapidata/api_client/models/simple_workflow_config.py +3 -3
- rapidata/api_client/models/simple_workflow_model1.py +3 -3
- rapidata/api_client/models/standing_by_leaderboard.py +113 -0
- rapidata/api_client/models/standing_by_leaderboard_paged_result.py +105 -0
- rapidata/api_client/models/standing_status.py +38 -0
- rapidata/api_client/models/stream_file_wrapper.py +116 -0
- rapidata/api_client/models/submit_coco_model.py +1 -3
- rapidata/api_client/models/submit_prompt_model.py +89 -0
- rapidata/api_client/models/text_asset_input.py +100 -0
- rapidata/api_client/models/transcription_metadata_input.py +5 -3
- rapidata/api_client/models/validation_set_zip_post_request_blueprint.py +252 -0
- rapidata/api_client/models/zip_entry_file_wrapper.py +120 -0
- rapidata/api_client_README.md +67 -76
- rapidata/rapidata_client/benchmark/leaderboard/__init__.py +0 -0
- rapidata/rapidata_client/benchmark/leaderboard/rapidata_leaderboard.py +62 -0
- rapidata/rapidata_client/benchmark/rapidata_benchmark.py +227 -0
- rapidata/rapidata_client/benchmark/rapidata_benchmark_manager.py +83 -0
- rapidata/rapidata_client/filter/not_filter.py +2 -2
- rapidata/rapidata_client/filter/or_filter.py +2 -2
- rapidata/rapidata_client/metadata/__init__.py +1 -0
- rapidata/rapidata_client/metadata/_media_asset_metadata.py +8 -1
- rapidata/rapidata_client/metadata/_prompt_identifier_metadata.py +15 -0
- rapidata/rapidata_client/order/_rapidata_dataset.py +6 -6
- rapidata/rapidata_client/order/_rapidata_order_builder.py +4 -4
- rapidata/rapidata_client/order/rapidata_order.py +1 -1
- rapidata/rapidata_client/rapidata_client.py +3 -3
- rapidata/rapidata_client/validation/rapidata_validation_set.py +1 -1
- rapidata/rapidata_client/validation/rapids/rapids.py +4 -6
- rapidata/service/openapi_service.py +5 -0
- {rapidata-2.28.4.dist-info → rapidata-2.29.0.dist-info}/METADATA +1 -1
- {rapidata-2.28.4.dist-info → rapidata-2.29.0.dist-info}/RECORD +106 -57
- rapidata/rapidata_client/leaderboard/rapidata_leaderboard.py +0 -127
- rapidata/rapidata_client/leaderboard/rapidata_leaderboard_manager.py +0 -92
- /rapidata/rapidata_client/{leaderboard → benchmark}/__init__.py +0 -0
- {rapidata-2.28.4.dist-info → rapidata-2.29.0.dist-info}/LICENSE +0 -0
- {rapidata-2.28.4.dist-info → rapidata-2.29.0.dist-info}/WHEEL +0 -0
|
@@ -0,0 +1,120 @@
|
|
|
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, StrictInt, StrictStr, field_validator
|
|
21
|
+
from typing import Any, ClassVar, Dict, List, Optional
|
|
22
|
+
from typing import Optional, Set
|
|
23
|
+
from typing_extensions import Self
|
|
24
|
+
|
|
25
|
+
class ZipEntryFileWrapper(BaseModel):
|
|
26
|
+
"""
|
|
27
|
+
ZipEntryFileWrapper
|
|
28
|
+
""" # noqa: E501
|
|
29
|
+
t: StrictStr = Field(description="Discriminator value for ZipEntryFileWrapper", alias="_t")
|
|
30
|
+
name: Optional[StrictStr] = None
|
|
31
|
+
content_length: Optional[StrictInt] = Field(default=None, alias="contentLength")
|
|
32
|
+
content_type: Optional[StrictStr] = Field(default=None, alias="contentType")
|
|
33
|
+
is_in_memory: Optional[StrictBool] = Field(default=None, alias="isInMemory")
|
|
34
|
+
__properties: ClassVar[List[str]] = ["_t", "name", "contentLength", "contentType", "isInMemory"]
|
|
35
|
+
|
|
36
|
+
@field_validator('t')
|
|
37
|
+
def t_validate_enum(cls, value):
|
|
38
|
+
"""Validates the enum"""
|
|
39
|
+
if value not in set(['ZipEntryFileWrapper']):
|
|
40
|
+
raise ValueError("must be one of enum values ('ZipEntryFileWrapper')")
|
|
41
|
+
return value
|
|
42
|
+
|
|
43
|
+
model_config = ConfigDict(
|
|
44
|
+
populate_by_name=True,
|
|
45
|
+
validate_assignment=True,
|
|
46
|
+
protected_namespaces=(),
|
|
47
|
+
)
|
|
48
|
+
|
|
49
|
+
|
|
50
|
+
def to_str(self) -> str:
|
|
51
|
+
"""Returns the string representation of the model using alias"""
|
|
52
|
+
return pprint.pformat(self.model_dump(by_alias=True))
|
|
53
|
+
|
|
54
|
+
def to_json(self) -> str:
|
|
55
|
+
"""Returns the JSON representation of the model using alias"""
|
|
56
|
+
# TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead
|
|
57
|
+
return json.dumps(self.to_dict())
|
|
58
|
+
|
|
59
|
+
@classmethod
|
|
60
|
+
def from_json(cls, json_str: str) -> Optional[Self]:
|
|
61
|
+
"""Create an instance of ZipEntryFileWrapper from a JSON string"""
|
|
62
|
+
return cls.from_dict(json.loads(json_str))
|
|
63
|
+
|
|
64
|
+
def to_dict(self) -> Dict[str, Any]:
|
|
65
|
+
"""Return the dictionary representation of the model using alias.
|
|
66
|
+
|
|
67
|
+
This has the following differences from calling pydantic's
|
|
68
|
+
`self.model_dump(by_alias=True)`:
|
|
69
|
+
|
|
70
|
+
* `None` is only added to the output dict for nullable fields that
|
|
71
|
+
were set at model initialization. Other fields with value `None`
|
|
72
|
+
are ignored.
|
|
73
|
+
* OpenAPI `readOnly` fields are excluded.
|
|
74
|
+
* OpenAPI `readOnly` fields are excluded.
|
|
75
|
+
* OpenAPI `readOnly` fields are excluded.
|
|
76
|
+
* OpenAPI `readOnly` fields are excluded.
|
|
77
|
+
"""
|
|
78
|
+
excluded_fields: Set[str] = set([
|
|
79
|
+
"name",
|
|
80
|
+
"content_length",
|
|
81
|
+
"content_type",
|
|
82
|
+
"is_in_memory",
|
|
83
|
+
])
|
|
84
|
+
|
|
85
|
+
_dict = self.model_dump(
|
|
86
|
+
by_alias=True,
|
|
87
|
+
exclude=excluded_fields,
|
|
88
|
+
exclude_none=True,
|
|
89
|
+
)
|
|
90
|
+
# set to None if content_length (nullable) is None
|
|
91
|
+
# and model_fields_set contains the field
|
|
92
|
+
if self.content_length is None and "content_length" in self.model_fields_set:
|
|
93
|
+
_dict['contentLength'] = None
|
|
94
|
+
|
|
95
|
+
# set to None if content_type (nullable) is None
|
|
96
|
+
# and model_fields_set contains the field
|
|
97
|
+
if self.content_type is None and "content_type" in self.model_fields_set:
|
|
98
|
+
_dict['contentType'] = None
|
|
99
|
+
|
|
100
|
+
return _dict
|
|
101
|
+
|
|
102
|
+
@classmethod
|
|
103
|
+
def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
|
|
104
|
+
"""Create an instance of ZipEntryFileWrapper from a dict"""
|
|
105
|
+
if obj is None:
|
|
106
|
+
return None
|
|
107
|
+
|
|
108
|
+
if not isinstance(obj, dict):
|
|
109
|
+
return cls.model_validate(obj)
|
|
110
|
+
|
|
111
|
+
_obj = cls.model_validate({
|
|
112
|
+
"_t": obj.get("_t") if obj.get("_t") is not None else 'ZipEntryFileWrapper',
|
|
113
|
+
"name": obj.get("name"),
|
|
114
|
+
"contentLength": obj.get("contentLength"),
|
|
115
|
+
"contentType": obj.get("contentType"),
|
|
116
|
+
"isInMemory": obj.get("isInMemory")
|
|
117
|
+
})
|
|
118
|
+
return _obj
|
|
119
|
+
|
|
120
|
+
|
rapidata/api_client_README.md
CHANGED
|
@@ -55,15 +55,14 @@ configuration.api_key['bearer'] = os.environ["API_KEY"]
|
|
|
55
55
|
# Enter a context with an instance of the API client
|
|
56
56
|
with rapidata.api_client.ApiClient(configuration) as api_client:
|
|
57
57
|
# Create an instance of the API class
|
|
58
|
-
api_instance = rapidata.api_client.
|
|
58
|
+
api_instance = rapidata.api_client.BenchmarkApi(api_client)
|
|
59
|
+
benchmark_id = 'benchmark_id_example' # str |
|
|
59
60
|
|
|
60
61
|
try:
|
|
61
|
-
#
|
|
62
|
-
|
|
63
|
-
print("The response of CampaignApi->campaign_boost_status_get:\n")
|
|
64
|
-
pprint(api_response)
|
|
62
|
+
# Deletes a single benchmark.
|
|
63
|
+
api_instance.benchmark_benchmark_id_delete(benchmark_id)
|
|
65
64
|
except ApiException as e:
|
|
66
|
-
print("Exception when calling
|
|
65
|
+
print("Exception when calling BenchmarkApi->benchmark_benchmark_id_delete: %s\n" % e)
|
|
67
66
|
|
|
68
67
|
```
|
|
69
68
|
|
|
@@ -73,13 +72,20 @@ All URIs are relative to *http://localhost*
|
|
|
73
72
|
|
|
74
73
|
Class | Method | HTTP request | Description
|
|
75
74
|
------------ | ------------- | ------------- | -------------
|
|
75
|
+
*BenchmarkApi* | [**benchmark_benchmark_id_delete**](rapidata/api_client/docs/BenchmarkApi.md#benchmark_benchmark_id_delete) | **DELETE** /benchmark/{benchmarkId} | Deletes a single benchmark.
|
|
76
|
+
*BenchmarkApi* | [**benchmark_benchmark_id_get**](rapidata/api_client/docs/BenchmarkApi.md#benchmark_benchmark_id_get) | **GET** /benchmark/{benchmarkId} | Returns a single benchmark by its ID.
|
|
77
|
+
*BenchmarkApi* | [**benchmark_benchmark_id_participant_participant_id_get**](rapidata/api_client/docs/BenchmarkApi.md#benchmark_benchmark_id_participant_participant_id_get) | **GET** /benchmark/{benchmarkId}/participant/{participantId} | Gets a participant by it's Id.
|
|
78
|
+
*BenchmarkApi* | [**benchmark_benchmark_id_participants_get**](rapidata/api_client/docs/BenchmarkApi.md#benchmark_benchmark_id_participants_get) | **GET** /benchmark/{benchmarkId}/participants | Query all participants within a benchmark
|
|
79
|
+
*BenchmarkApi* | [**benchmark_benchmark_id_participants_participant_id_submit_post**](rapidata/api_client/docs/BenchmarkApi.md#benchmark_benchmark_id_participants_participant_id_submit_post) | **POST** /benchmark/{benchmarkId}/participants/{participantId}/submit | Submits a participant to a benchmark.
|
|
80
|
+
*BenchmarkApi* | [**benchmark_benchmark_id_participants_post**](rapidata/api_client/docs/BenchmarkApi.md#benchmark_benchmark_id_participants_post) | **POST** /benchmark/{benchmarkId}/participants | Creates a participant in a benchmark.
|
|
81
|
+
*BenchmarkApi* | [**benchmark_benchmark_id_prompt_post**](rapidata/api_client/docs/BenchmarkApi.md#benchmark_benchmark_id_prompt_post) | **POST** /benchmark/{benchmarkId}/prompt | Adds a new prompt to a benchmark.
|
|
82
|
+
*BenchmarkApi* | [**benchmark_benchmark_id_prompts_get**](rapidata/api_client/docs/BenchmarkApi.md#benchmark_benchmark_id_prompts_get) | **GET** /benchmark/{benchmarkId}/prompts | Returns the paged prompts of a benchmark by its ID.
|
|
83
|
+
*BenchmarkApi* | [**benchmark_post**](rapidata/api_client/docs/BenchmarkApi.md#benchmark_post) | **POST** /benchmark | Creates a benchmark
|
|
84
|
+
*BenchmarkApi* | [**benchmarks_get**](rapidata/api_client/docs/BenchmarkApi.md#benchmarks_get) | **GET** /benchmarks | Queries all benchmarks of the user.
|
|
76
85
|
*CampaignApi* | [**campaign_boost_status_get**](rapidata/api_client/docs/CampaignApi.md#campaign_boost_status_get) | **GET** /campaign/boost/status | Gets the status of the boost.
|
|
77
86
|
*CampaignApi* | [**campaign_campaign_id_pause_post**](rapidata/api_client/docs/CampaignApi.md#campaign_campaign_id_pause_post) | **POST** /campaign/{campaignId}/pause | Pauses a campaign.
|
|
78
87
|
*CampaignApi* | [**campaign_campaign_id_resume_post**](rapidata/api_client/docs/CampaignApi.md#campaign_campaign_id_resume_post) | **POST** /campaign/{campaignId}/resume | Resumes a campaign.
|
|
79
88
|
*CampaignApi* | [**campaign_monitor_get**](rapidata/api_client/docs/CampaignApi.md#campaign_monitor_get) | **GET** /campaign/monitor | The monitor endpoint is used to monitor the health of the service
|
|
80
|
-
*CampaignApi* | [**campaign_pause_post**](rapidata/api_client/docs/CampaignApi.md#campaign_pause_post) | **POST** /campaign/pause | Pauses a campaign.
|
|
81
|
-
*CampaignApi* | [**campaign_query_get**](rapidata/api_client/docs/CampaignApi.md#campaign_query_get) | **GET** /campaign/query | Queries orders based on a filter, page, and sort criteria.
|
|
82
|
-
*CampaignApi* | [**campaign_resume_post**](rapidata/api_client/docs/CampaignApi.md#campaign_resume_post) | **POST** /campaign/resume | Resumes a campaign.
|
|
83
89
|
*CampaignApi* | [**campaigns_get**](rapidata/api_client/docs/CampaignApi.md#campaigns_get) | **GET** /campaigns | Queries orders based on a filter, page, and sort criteria.
|
|
84
90
|
*ClientApi* | [**client_client_id_delete**](rapidata/api_client/docs/ClientApi.md#client_client_id_delete) | **DELETE** /client/{clientId} | Deletes a customers' client.
|
|
85
91
|
*ClientApi* | [**client_client_id_get**](rapidata/api_client/docs/ClientApi.md#client_client_id_get) | **GET** /client/{clientId} | Gets a specific client by its ID.
|
|
@@ -88,9 +94,8 @@ Class | Method | HTTP request | Description
|
|
|
88
94
|
*ClientApi* | [**clients_get**](rapidata/api_client/docs/ClientApi.md#clients_get) | **GET** /clients | Queries the clients for the current customer.
|
|
89
95
|
*CocoApi* | [**coco_coco_set_id_submit_post**](rapidata/api_client/docs/CocoApi.md#coco_coco_set_id_submit_post) | **POST** /coco/{cocoSetId}/submit | Creates a new validation set based on a previously uploaded CoCo set.
|
|
90
96
|
*CocoApi* | [**coco_post**](rapidata/api_client/docs/CocoApi.md#coco_post) | **POST** /coco | Uploads a CoCo set to the system.
|
|
91
|
-
*CocoApi* | [**coco_submit_post**](rapidata/api_client/docs/CocoApi.md#coco_submit_post) | **POST** /coco/submit | Creates a new validation set based on a previously uploaded CoCo set.
|
|
92
|
-
*CocoApi* | [**coco_upload_post**](rapidata/api_client/docs/CocoApi.md#coco_upload_post) | **POST** /coco/upload | Uploads a CoCo set to the system.
|
|
93
97
|
*CompareWorkflowApi* | [**workflow_compare_workflow_id_results_get**](rapidata/api_client/docs/CompareWorkflowApi.md#workflow_compare_workflow_id_results_get) | **GET** /workflow/compare/{workflowId}/results | Get the result overview for a compare workflow.
|
|
98
|
+
*CustomerRapidApi* | [**rapid_correlation_id_validation_potential_get**](rapidata/api_client/docs/CustomerRapidApi.md#rapid_correlation_id_validation_potential_get) | **GET** /rapid/{correlationId}/validation-potential | Queries rapids that are potentially eligible for validation set creation.
|
|
94
99
|
*CustomerRapidApi* | [**rapid_demographic_post**](rapidata/api_client/docs/CustomerRapidApi.md#rapid_demographic_post) | **POST** /rapid/demographic | Creates a new Demographic Rapid.
|
|
95
100
|
*CustomerRapidApi* | [**rapid_rapid_id_delete**](rapidata/api_client/docs/CustomerRapidApi.md#rapid_rapid_id_delete) | **DELETE** /rapid/{rapidId} | Deletes a rapid.
|
|
96
101
|
*CustomerRapidApi* | [**rapid_rapid_id_responses_get**](rapidata/api_client/docs/CustomerRapidApi.md#rapid_rapid_id_responses_get) | **GET** /rapid/{rapidId}/responses | Gets all responses for a given rapid.
|
|
@@ -99,10 +104,6 @@ Class | Method | HTTP request | Description
|
|
|
99
104
|
*CustomerRapidApi* | [**rapids_flagged_get**](rapidata/api_client/docs/CustomerRapidApi.md#rapids_flagged_get) | **GET** /rapids/flagged | Allows querying all rapids that have been flagged.
|
|
100
105
|
*DatapointApi* | [**datapoint_datapoint_id_delete**](rapidata/api_client/docs/DatapointApi.md#datapoint_datapoint_id_delete) | **DELETE** /datapoint/{datapointId} | Deletes a datapoint by its id.
|
|
101
106
|
*DatapointApi* | [**datapoint_datapoint_id_get**](rapidata/api_client/docs/DatapointApi.md#datapoint_datapoint_id_get) | **GET** /datapoint/{datapointId} | Gets a datapoint by its id.
|
|
102
|
-
*DatapointApi* | [**datapoint_delete_delete**](rapidata/api_client/docs/DatapointApi.md#datapoint_delete_delete) | **DELETE** /datapoint/delete | Delete a datapoint.
|
|
103
|
-
*DatapointApi* | [**datapoint_getbyid_get**](rapidata/api_client/docs/DatapointApi.md#datapoint_getbyid_get) | **GET** /datapoint/getbyid | Get a datapoint by its id.
|
|
104
|
-
*DatasetApi* | [**dataset_createdatapoint_post**](rapidata/api_client/docs/DatasetApi.md#dataset_createdatapoint_post) | **POST** /dataset/createdatapoint | Creates a single datapoint.
|
|
105
|
-
*DatasetApi* | [**dataset_creattextdatapoint_post**](rapidata/api_client/docs/DatasetApi.md#dataset_creattextdatapoint_post) | **POST** /dataset/creattextdatapoint | Creates new datapoints from text sources.
|
|
106
107
|
*DatasetApi* | [**dataset_dataset_id_datapoints_csv_post**](rapidata/api_client/docs/DatasetApi.md#dataset_dataset_id_datapoints_csv_post) | **POST** /dataset/{datasetId}/datapoints/csv | Creates multiple datapoints from a csv.
|
|
107
108
|
*DatasetApi* | [**dataset_dataset_id_datapoints_failed_get**](rapidata/api_client/docs/DatasetApi.md#dataset_dataset_id_datapoints_failed_get) | **GET** /dataset/{datasetId}/datapoints/failed | Gets a list of all datapoints that failed to upload.
|
|
108
109
|
*DatasetApi* | [**dataset_dataset_id_datapoints_files_post**](rapidata/api_client/docs/DatasetApi.md#dataset_dataset_id_datapoints_files_post) | **POST** /dataset/{datasetId}/datapoints/files | Creates a single datapoint by uploading files.
|
|
@@ -114,42 +115,30 @@ Class | Method | HTTP request | Description
|
|
|
114
115
|
*DatasetApi* | [**dataset_dataset_id_get**](rapidata/api_client/docs/DatasetApi.md#dataset_dataset_id_get) | **GET** /dataset/{datasetId} | Gets a dataset by its id.
|
|
115
116
|
*DatasetApi* | [**dataset_dataset_id_name_patch**](rapidata/api_client/docs/DatasetApi.md#dataset_dataset_id_name_patch) | **PATCH** /dataset/{datasetId}/name | Updates the name of a dataset.
|
|
116
117
|
*DatasetApi* | [**dataset_dataset_id_progress_get**](rapidata/api_client/docs/DatasetApi.md#dataset_dataset_id_progress_get) | **GET** /dataset/{datasetId}/progress | Gets the upload progress of a dataset.
|
|
117
|
-
*DatasetApi* | [**dataset_getbyid_get**](rapidata/api_client/docs/DatasetApi.md#dataset_getbyid_get) | **GET** /dataset/getbyid | Gets a dataset by its id.
|
|
118
|
-
*DatasetApi* | [**dataset_import_post**](rapidata/api_client/docs/DatasetApi.md#dataset_import_post) | **POST** /dataset/import | Imports datapoints from a csv file.
|
|
119
|
-
*DatasetApi* | [**dataset_updatename_post**](rapidata/api_client/docs/DatasetApi.md#dataset_updatename_post) | **POST** /dataset/updatename | Updates the name of a dataset.
|
|
120
|
-
*DatasetApi* | [**dataset_uploadfilesfroms3_post**](rapidata/api_client/docs/DatasetApi.md#dataset_uploadfilesfroms3_post) | **POST** /dataset/uploadfilesfroms3 | Uploads files from an S3 bucket to a dataset.
|
|
121
118
|
*EvaluationWorkflowApi* | [**workflow_evaluation_workflow_id_results_get**](rapidata/api_client/docs/EvaluationWorkflowApi.md#workflow_evaluation_workflow_id_results_get) | **GET** /workflow/evaluation/{workflowId}/results | Get the results for an evaluation workflow.
|
|
122
|
-
*FeedbackApi* | [**feedback_feedback_post**](rapidata/api_client/docs/FeedbackApi.md#feedback_feedback_post) | **POST** /feedback/feedback | Submits feedback about our services.
|
|
123
119
|
*FeedbackApi* | [**feedback_post**](rapidata/api_client/docs/FeedbackApi.md#feedback_post) | **POST** /feedback | Submits feedback about our services.
|
|
124
120
|
*IdentityApi* | [**identity_bridge_token_get**](rapidata/api_client/docs/IdentityApi.md#identity_bridge_token_get) | **GET** /identity/bridge-token | Tries to read the bridge token keys for a given read key. The read key is used to retrieve the authentication result written by the write key.
|
|
125
121
|
*IdentityApi* | [**identity_bridge_token_post**](rapidata/api_client/docs/IdentityApi.md#identity_bridge_token_post) | **POST** /identity/bridge-token | Creates a pair of read and write keys for a client. The write key is used to store the authentication result. The read key is used to retrieve the authentication result.
|
|
126
|
-
*IdentityApi* | [**identity_createbridgetoken_post**](rapidata/api_client/docs/IdentityApi.md#identity_createbridgetoken_post) | **POST** /identity/createbridgetoken | Creates a pair of read and write keys for a client. The write key is used to store the authentication result. The read key is used to retrieve the authentication result.
|
|
127
122
|
*IdentityApi* | [**identity_google_one_tap_post**](rapidata/api_client/docs/IdentityApi.md#identity_google_one_tap_post) | **POST** /identity/google-one-tap | Signs in a user using a token received from Google One Tap.
|
|
128
|
-
*IdentityApi* | [**identity_readbridgetoken_get**](rapidata/api_client/docs/IdentityApi.md#identity_readbridgetoken_get) | **GET** /identity/readbridgetoken | Tries to read the bridge token keys for a given read key. The read key is used to retrieve the authentication result written by the write key.
|
|
129
123
|
*IdentityApi* | [**identity_referrer_post**](rapidata/api_client/docs/IdentityApi.md#identity_referrer_post) | **POST** /identity/referrer | Sets the referrer for the current customer.
|
|
130
|
-
*IdentityApi* | [**identity_registertemporary_post**](rapidata/api_client/docs/IdentityApi.md#identity_registertemporary_post) | **POST** /identity/registertemporary | Registers and logs in a temporary customer.
|
|
131
124
|
*IdentityApi* | [**identity_temporary_post**](rapidata/api_client/docs/IdentityApi.md#identity_temporary_post) | **POST** /identity/temporary | Registers and logs in a temporary customer.
|
|
125
|
+
*LeaderboardApi* | [**benchmark_standing_leaderboard_id_participant_id_get**](rapidata/api_client/docs/LeaderboardApi.md#benchmark_standing_leaderboard_id_participant_id_get) | **GET** /benchmark/standing/{leaderboardId}/{participantId} | Gets a standing by leaderboardId and participantId.
|
|
126
|
+
*LeaderboardApi* | [**leaderboard_leaderboard_id_boost_post**](rapidata/api_client/docs/LeaderboardApi.md#leaderboard_leaderboard_id_boost_post) | **POST** /leaderboard/{leaderboardId}/boost | Boosts a subset of participants within a leaderboard.
|
|
127
|
+
*LeaderboardApi* | [**leaderboard_leaderboard_id_delete**](rapidata/api_client/docs/LeaderboardApi.md#leaderboard_leaderboard_id_delete) | **DELETE** /leaderboard/{leaderboardId} | Deletes a leaderboard by its ID.
|
|
132
128
|
*LeaderboardApi* | [**leaderboard_leaderboard_id_get**](rapidata/api_client/docs/LeaderboardApi.md#leaderboard_leaderboard_id_get) | **GET** /leaderboard/{leaderboardId} | Gets a leaderboard by its ID.
|
|
133
|
-
*LeaderboardApi* | [**
|
|
129
|
+
*LeaderboardApi* | [**leaderboard_leaderboard_id_participant_participant_id_get**](rapidata/api_client/docs/LeaderboardApi.md#leaderboard_leaderboard_id_participant_participant_id_get) | **GET** /leaderboard/{leaderboardId}/participant/{participantId} | Gets a participant by its ID.
|
|
130
|
+
*LeaderboardApi* | [**leaderboard_leaderboard_id_participants_get**](rapidata/api_client/docs/LeaderboardApi.md#leaderboard_leaderboard_id_participants_get) | **GET** /leaderboard/{leaderboardId}/participants | queries all the participants connected to leaderboard by its ID.
|
|
134
131
|
*LeaderboardApi* | [**leaderboard_leaderboard_id_participants_participant_id_submit_post**](rapidata/api_client/docs/LeaderboardApi.md#leaderboard_leaderboard_id_participants_participant_id_submit_post) | **POST** /leaderboard/{leaderboardId}/participants/{participantId}/submit | Submits a participant to a leaderboard.
|
|
135
132
|
*LeaderboardApi* | [**leaderboard_leaderboard_id_participants_post**](rapidata/api_client/docs/LeaderboardApi.md#leaderboard_leaderboard_id_participants_post) | **POST** /leaderboard/{leaderboardId}/participants | Creates a participant in a leaderboard.
|
|
136
|
-
*LeaderboardApi* | [**leaderboard_leaderboard_id_prompts_get**](rapidata/api_client/docs/LeaderboardApi.md#leaderboard_leaderboard_id_prompts_get) | **GET** /leaderboard/{leaderboardId}/prompts | returns the paged prompts of a leaderboard by its
|
|
133
|
+
*LeaderboardApi* | [**leaderboard_leaderboard_id_prompts_get**](rapidata/api_client/docs/LeaderboardApi.md#leaderboard_leaderboard_id_prompts_get) | **GET** /leaderboard/{leaderboardId}/prompts | returns the paged prompts of a leaderboard by its ID.
|
|
137
134
|
*LeaderboardApi* | [**leaderboard_leaderboard_id_prompts_post**](rapidata/api_client/docs/LeaderboardApi.md#leaderboard_leaderboard_id_prompts_post) | **POST** /leaderboard/{leaderboardId}/prompts | adds a new prompt to a leaderboard.
|
|
138
|
-
*LeaderboardApi* | [**
|
|
135
|
+
*LeaderboardApi* | [**leaderboard_leaderboard_id_refresh_post**](rapidata/api_client/docs/LeaderboardApi.md#leaderboard_leaderboard_id_refresh_post) | **POST** /leaderboard/{leaderboardId}/refresh | This will force an update to all standings of a leaderboard. this could happen if the recorded matches and scores are out of sync
|
|
136
|
+
*LeaderboardApi* | [**leaderboard_leaderboard_id_standings_get**](rapidata/api_client/docs/LeaderboardApi.md#leaderboard_leaderboard_id_standings_get) | **GET** /leaderboard/{leaderboardId}/standings | queries all the participants connected to leaderboard by its ID.
|
|
139
137
|
*LeaderboardApi* | [**leaderboard_post**](rapidata/api_client/docs/LeaderboardApi.md#leaderboard_post) | **POST** /leaderboard | Creates a new leaderboard with the specified name and criteria.
|
|
140
138
|
*LeaderboardApi* | [**leaderboards_get**](rapidata/api_client/docs/LeaderboardApi.md#leaderboards_get) | **GET** /leaderboards | Queries all leaderboards of the user.
|
|
141
139
|
*NewsletterApi* | [**newsletter_subscribe_post**](rapidata/api_client/docs/NewsletterApi.md#newsletter_subscribe_post) | **POST** /newsletter/subscribe | Signs a user up to the newsletter.
|
|
142
140
|
*NewsletterApi* | [**newsletter_unsubscribe_post**](rapidata/api_client/docs/NewsletterApi.md#newsletter_unsubscribe_post) | **POST** /newsletter/unsubscribe | Unsubscribes a user from the newsletter.
|
|
143
|
-
*OrderApi* | [**order_approve_post**](rapidata/api_client/docs/OrderApi.md#order_approve_post) | **POST** /order/approve | Approves an order that has been submitted for manual approval.
|
|
144
|
-
*OrderApi* | [**order_cloneorder_post**](rapidata/api_client/docs/OrderApi.md#order_cloneorder_post) | **POST** /order/cloneorder | Clones an existing order.
|
|
145
141
|
*OrderApi* | [**order_complex_post**](rapidata/api_client/docs/OrderApi.md#order_complex_post) | **POST** /order/complex | Creates a new order with a custom pipeline.
|
|
146
|
-
*OrderApi* | [**order_create_post**](rapidata/api_client/docs/OrderApi.md#order_create_post) | **POST** /order/create | Used to create a new order.
|
|
147
|
-
*OrderApi* | [**order_createcomplexorder_post**](rapidata/api_client/docs/OrderApi.md#order_createcomplexorder_post) | **POST** /order/createcomplexorder | Creates a new order with a custom pipeline.
|
|
148
|
-
*OrderApi* | [**order_createunsupportedorder_post**](rapidata/api_client/docs/OrderApi.md#order_createunsupportedorder_post) | **POST** /order/createunsupportedorder | Notifies the admins that a user wants to create an order with an unsupported label type or data type.
|
|
149
|
-
*OrderApi* | [**order_delete_delete**](rapidata/api_client/docs/OrderApi.md#order_delete_delete) | **DELETE** /order/delete | Deletes an order.
|
|
150
|
-
*OrderApi* | [**order_getbyid_get**](rapidata/api_client/docs/OrderApi.md#order_getbyid_get) | **GET** /order/getbyid | Retrieves an order by its id.
|
|
151
|
-
*OrderApi* | [**order_getorderresults_get**](rapidata/api_client/docs/OrderApi.md#order_getorderresults_get) | **GET** /order/getorderresults | Aggregates the results of an order.
|
|
152
|
-
*OrderApi* | [**order_getpublic_get**](rapidata/api_client/docs/OrderApi.md#order_getpublic_get) | **GET** /order/getpublic | Retrieves orders that are public and can be cloned by any user.
|
|
153
142
|
*OrderApi* | [**order_order_id_approve_post**](rapidata/api_client/docs/OrderApi.md#order_order_id_approve_post) | **POST** /order/{orderId}/approve | Approves an order that has been submitted for manual approval.
|
|
154
143
|
*OrderApi* | [**order_order_id_clone_post**](rapidata/api_client/docs/OrderApi.md#order_order_id_clone_post) | **POST** /order/{orderId}/clone | Clones an existing order.
|
|
155
144
|
*OrderApi* | [**order_order_id_delete**](rapidata/api_client/docs/OrderApi.md#order_order_id_delete) | **DELETE** /order/{orderId} | Deletes an order.
|
|
@@ -165,21 +154,10 @@ Class | Method | HTTP request | Description
|
|
|
165
154
|
*OrderApi* | [**order_order_id_share_patch**](rapidata/api_client/docs/OrderApi.md#order_order_id_share_patch) | **PATCH** /order/{orderId}/share | Updates whether an order is public or not.
|
|
166
155
|
*OrderApi* | [**order_order_id_submit_post**](rapidata/api_client/docs/OrderApi.md#order_order_id_submit_post) | **POST** /order/{orderId}/submit | Submits an order for approval.
|
|
167
156
|
*OrderApi* | [**order_order_id_unlock_post**](rapidata/api_client/docs/OrderApi.md#order_order_id_unlock_post) | **POST** /order/{orderId}/unlock | Unlocks a newly cloned order.
|
|
168
|
-
*OrderApi* | [**order_pause_post**](rapidata/api_client/docs/OrderApi.md#order_pause_post) | **POST** /order/pause | Pauses an order that is processing. Meaning all campaigns in the order will be paused.
|
|
169
157
|
*OrderApi* | [**order_post**](rapidata/api_client/docs/OrderApi.md#order_post) | **POST** /order | Used to create a new order.
|
|
170
|
-
*OrderApi* | [**order_query_get**](rapidata/api_client/docs/OrderApi.md#order_query_get) | **GET** /order/query | Queries orders based on a filter, page, and sort criteria.
|
|
171
|
-
*OrderApi* | [**order_result_get**](rapidata/api_client/docs/OrderApi.md#order_result_get) | **GET** /order/result | Aggregates the results of an order.
|
|
172
|
-
*OrderApi* | [**order_resume_post**](rapidata/api_client/docs/OrderApi.md#order_resume_post) | **POST** /order/resume | Resumes a paused order. Meaning all campaigns in the order will be resumed.
|
|
173
|
-
*OrderApi* | [**order_retryfailed_post**](rapidata/api_client/docs/OrderApi.md#order_retryfailed_post) | **POST** /order/retryfailed | Retries a failed order.
|
|
174
|
-
*OrderApi* | [**order_share_put**](rapidata/api_client/docs/OrderApi.md#order_share_put) | **PUT** /order/share | Updates whether an order is public or not.
|
|
175
|
-
*OrderApi* | [**order_submit_post**](rapidata/api_client/docs/OrderApi.md#order_submit_post) | **POST** /order/submit | Submits an order for approval.
|
|
176
|
-
*OrderApi* | [**order_unlock_post**](rapidata/api_client/docs/OrderApi.md#order_unlock_post) | **POST** /order/unlock | Unlocks a newly cloned order.
|
|
177
158
|
*OrderApi* | [**order_unsupported_post**](rapidata/api_client/docs/OrderApi.md#order_unsupported_post) | **POST** /order/unsupported | Notifies the admins that a user wants to create an order with an unsupported label type or data type.
|
|
178
|
-
*OrderApi* | [**order_updateaccess_put**](rapidata/api_client/docs/OrderApi.md#order_updateaccess_put) | **PUT** /order/updateaccess | Updates whether an order is public or not.
|
|
179
|
-
*OrderApi* | [**order_updateordername_put**](rapidata/api_client/docs/OrderApi.md#order_updateordername_put) | **PUT** /order/updateordername | Updates the name of an order.
|
|
180
159
|
*OrderApi* | [**orders_get**](rapidata/api_client/docs/OrderApi.md#orders_get) | **GET** /orders | Queries orders based on a filter, page, and sort criteria.
|
|
181
160
|
*OrderApi* | [**orders_public_get**](rapidata/api_client/docs/OrderApi.md#orders_public_get) | **GET** /orders/public | Retrieves orders that are public and can be cloned by any user.
|
|
182
|
-
*PipelineApi* | [**pipeline_id_workflow_artifact_id_put**](rapidata/api_client/docs/PipelineApi.md#pipeline_id_workflow_artifact_id_put) | **PUT** /pipeline/{id}/workflow/{artifactId} | Updates the workflow configuration for a pipeline.
|
|
183
161
|
*PipelineApi* | [**pipeline_id_workflow_config_artifact_id_put**](rapidata/api_client/docs/PipelineApi.md#pipeline_id_workflow_config_artifact_id_put) | **PUT** /pipeline/{id}/workflow-config/{artifactId} | Updates the workflow configuration for a pipeline.
|
|
184
162
|
*PipelineApi* | [**pipeline_id_workflow_config_put**](rapidata/api_client/docs/PipelineApi.md#pipeline_id_workflow_config_put) | **PUT** /pipeline/{id}/workflow-config | Updates the workflow configuration for a pipeline.
|
|
185
163
|
*PipelineApi* | [**pipeline_pipeline_id_campaign_artifact_id_put**](rapidata/api_client/docs/PipelineApi.md#pipeline_pipeline_id_campaign_artifact_id_put) | **PUT** /pipeline/{pipelineId}/campaign/{artifactId} | Updates a specific campaign for a pipeline.
|
|
@@ -196,32 +174,19 @@ Class | Method | HTTP request | Description
|
|
|
196
174
|
*UserRapidApi* | [**rapid_report_report_id_get**](rapidata/api_client/docs/UserRapidApi.md#rapid_report_report_id_get) | **GET** /rapid/report/{reportId} | Inspects a report's dump. Can be used to restore zustand state or anything alike.
|
|
197
175
|
*UserRapidApi* | [**rapid_response_post**](rapidata/api_client/docs/UserRapidApi.md#rapid_response_post) | **POST** /rapid/response | Submits a response for a Rapid.
|
|
198
176
|
*UserRapidApi* | [**rapid_skip_post**](rapidata/api_client/docs/UserRapidApi.md#rapid_skip_post) | **POST** /rapid/skip | Skips a Rapid for the user.
|
|
199
|
-
*ValidationSetApi* | [**validation_addvalidationrapid_post**](rapidata/api_client/docs/ValidationSetApi.md#validation_addvalidationrapid_post) | **POST** /validation/addvalidationrapid | Adds a new validation rapid to the specified validation set.
|
|
200
|
-
*ValidationSetApi* | [**validation_addvalidationtextrapid_post**](rapidata/api_client/docs/ValidationSetApi.md#validation_addvalidationtextrapid_post) | **POST** /validation/addvalidationtextrapid | Adds a new validation rapid to the specified validation set.
|
|
201
|
-
*ValidationSetApi* | [**validation_createvalidationset_post**](rapidata/api_client/docs/ValidationSetApi.md#validation_createvalidationset_post) | **POST** /validation/createvalidationset | Creates a new empty validation set.
|
|
202
|
-
*ValidationSetApi* | [**validation_getavailablevalidationsets_get**](rapidata/api_client/docs/ValidationSetApi.md#validation_getavailablevalidationsets_get) | **GET** /validation/getavailablevalidationsets | Gets the available validation sets for the current user.
|
|
203
|
-
*ValidationSetApi* | [**validation_getbyid_get**](rapidata/api_client/docs/ValidationSetApi.md#validation_getbyid_get) | **GET** /validation/getbyid | Gets a validation set by the id.
|
|
204
|
-
*ValidationSetApi* | [**validation_import_post**](rapidata/api_client/docs/ValidationSetApi.md#validation_import_post) | **POST** /validation/import | Imports a validation set from a zip file.
|
|
205
|
-
*ValidationSetApi* | [**validation_importcompare_post**](rapidata/api_client/docs/ValidationSetApi.md#validation_importcompare_post) | **POST** /validation/importcompare | Imports a compare validation set from a zip file.
|
|
206
|
-
*ValidationSetApi* | [**validation_queryvalidationsets_get**](rapidata/api_client/docs/ValidationSetApi.md#validation_queryvalidationsets_get) | **GET** /validation/queryvalidationsets | Queries validation sets based on the provided filter, paging and sorting criteria.
|
|
207
177
|
*ValidationSetApi* | [**validation_set_post**](rapidata/api_client/docs/ValidationSetApi.md#validation_set_post) | **POST** /validation-set | Creates a new empty validation set.
|
|
208
178
|
*ValidationSetApi* | [**validation_set_validation_set_id_delete**](rapidata/api_client/docs/ValidationSetApi.md#validation_set_validation_set_id_delete) | **DELETE** /validation-set/{validationSetId} | Gets a validation set by the id.
|
|
209
179
|
*ValidationSetApi* | [**validation_set_validation_set_id_dimensions_put**](rapidata/api_client/docs/ValidationSetApi.md#validation_set_validation_set_id_dimensions_put) | **PUT** /validation-set/{validationSetId}/dimensions | Updates the dimensions of all rapids within a validation set.
|
|
210
180
|
*ValidationSetApi* | [**validation_set_validation_set_id_export_get**](rapidata/api_client/docs/ValidationSetApi.md#validation_set_validation_set_id_export_get) | **GET** /validation-set/{validationSetId}/export | Exports all rapids of a validation-set to a file.
|
|
211
181
|
*ValidationSetApi* | [**validation_set_validation_set_id_get**](rapidata/api_client/docs/ValidationSetApi.md#validation_set_validation_set_id_get) | **GET** /validation-set/{validationSetId} | Gets a validation set by the id.
|
|
212
182
|
*ValidationSetApi* | [**validation_set_validation_set_id_rapid_files_post**](rapidata/api_client/docs/ValidationSetApi.md#validation_set_validation_set_id_rapid_files_post) | **POST** /validation-set/{validationSetId}/rapid/files | Adds a new validation rapid to the specified validation set using files to create the assets.
|
|
213
|
-
*ValidationSetApi* | [**validation_set_validation_set_id_rapid_post**](rapidata/api_client/docs/ValidationSetApi.md#validation_set_validation_set_id_rapid_post) | **POST** /validation-set/{validationSetId}/rapid | Creates a new rapid for a validation set from multiple possible sources.
|
|
214
183
|
*ValidationSetApi* | [**validation_set_validation_set_id_rapid_texts_post**](rapidata/api_client/docs/ValidationSetApi.md#validation_set_validation_set_id_rapid_texts_post) | **POST** /validation-set/{validationSetId}/rapid/texts | Adds a new validation rapid to the specified validation set using text sources to create the assets.
|
|
215
184
|
*ValidationSetApi* | [**validation_set_validation_set_id_rapids_get**](rapidata/api_client/docs/ValidationSetApi.md#validation_set_validation_set_id_rapids_get) | **GET** /validation-set/{validationSetId}/rapids | Queries the validation rapids for a specific validation set.
|
|
216
185
|
*ValidationSetApi* | [**validation_set_zip_compare_post**](rapidata/api_client/docs/ValidationSetApi.md#validation_set_zip_compare_post) | **POST** /validation-set/zip/compare | Imports a compare validation set from a zip file.
|
|
217
186
|
*ValidationSetApi* | [**validation_set_zip_post**](rapidata/api_client/docs/ValidationSetApi.md#validation_set_zip_post) | **POST** /validation-set/zip | Imports a validation set from a zip file.
|
|
218
187
|
*ValidationSetApi* | [**validation_sets_available_get**](rapidata/api_client/docs/ValidationSetApi.md#validation_sets_available_get) | **GET** /validation-sets/available | Gets the available validation sets for the current user.
|
|
219
188
|
*ValidationSetApi* | [**validation_sets_get**](rapidata/api_client/docs/ValidationSetApi.md#validation_sets_get) | **GET** /validation-sets | Queries validation sets based on the provided filter, paging and sorting criteria.
|
|
220
|
-
*ValidationSetApi* | [**validation_validation_set_id_dimensions_patch**](rapidata/api_client/docs/ValidationSetApi.md#validation_validation_set_id_dimensions_patch) | **PATCH** /validation/{validationSetId}/dimensions | Updates the dimensions of all rapids within a validation set.
|
|
221
189
|
*WorkflowApi* | [**workflow_delete_delete**](rapidata/api_client/docs/WorkflowApi.md#workflow_delete_delete) | **DELETE** /workflow/delete | Deletes a workflow.
|
|
222
|
-
*WorkflowApi* | [**workflow_getbyid_get**](rapidata/api_client/docs/WorkflowApi.md#workflow_getbyid_get) | **GET** /workflow/getbyid | Get a workflow by its ID.
|
|
223
|
-
*WorkflowApi* | [**workflow_getprogress_get**](rapidata/api_client/docs/WorkflowApi.md#workflow_getprogress_get) | **GET** /workflow/getprogress | Get the progress of a workflow.
|
|
224
|
-
*WorkflowApi* | [**workflow_query_get**](rapidata/api_client/docs/WorkflowApi.md#workflow_query_get) | **GET** /workflow/query | Queries workflows based on the provided filter, page, and sort criteria.
|
|
225
190
|
*WorkflowApi* | [**workflow_workflow_id_compare_ab_summary_get**](rapidata/api_client/docs/WorkflowApi.md#workflow_workflow_id_compare_ab_summary_get) | **GET** /workflow/{workflowId}/compare-ab-summary | Calculates a summary of the results for a simple compare workflow. The summary includes the number of times an asset at each index was the winner.
|
|
226
191
|
*WorkflowApi* | [**workflow_workflow_id_get**](rapidata/api_client/docs/WorkflowApi.md#workflow_workflow_id_get) | **GET** /workflow/{workflowId} | Get a workflow by its ID.
|
|
227
192
|
*WorkflowApi* | [**workflow_workflow_id_progress_get**](rapidata/api_client/docs/WorkflowApi.md#workflow_workflow_id_progress_get) | **GET** /workflow/{workflowId}/progress | Get the progress of a workflow.
|
|
@@ -244,6 +209,8 @@ Class | Method | HTTP request | Description
|
|
|
244
209
|
- [AgeGroup](rapidata/api_client/docs/AgeGroup.md)
|
|
245
210
|
- [AgeUserFilterModel](rapidata/api_client/docs/AgeUserFilterModel.md)
|
|
246
211
|
- [AggregatorType](rapidata/api_client/docs/AggregatorType.md)
|
|
212
|
+
- [AndUserFilterModel](rapidata/api_client/docs/AndUserFilterModel.md)
|
|
213
|
+
- [AndUserFilterModelFiltersInner](rapidata/api_client/docs/AndUserFilterModelFiltersInner.md)
|
|
247
214
|
- [AreRapidsActiveResult](rapidata/api_client/docs/AreRapidsActiveResult.md)
|
|
248
215
|
- [AssetMetadata](rapidata/api_client/docs/AssetMetadata.md)
|
|
249
216
|
- [AssetMetadataAsset](rapidata/api_client/docs/AssetMetadataAsset.md)
|
|
@@ -251,7 +218,9 @@ Class | Method | HTTP request | Description
|
|
|
251
218
|
- [AttachCategoryRapidBlueprint](rapidata/api_client/docs/AttachCategoryRapidBlueprint.md)
|
|
252
219
|
- [AttachCategoryResult](rapidata/api_client/docs/AttachCategoryResult.md)
|
|
253
220
|
- [AttachCategoryTruth](rapidata/api_client/docs/AttachCategoryTruth.md)
|
|
254
|
-
- [
|
|
221
|
+
- [BenchmarkQueryResult](rapidata/api_client/docs/BenchmarkQueryResult.md)
|
|
222
|
+
- [BenchmarkQueryResultPagedResult](rapidata/api_client/docs/BenchmarkQueryResultPagedResult.md)
|
|
223
|
+
- [BoostLeaderboardModel](rapidata/api_client/docs/BoostLeaderboardModel.md)
|
|
255
224
|
- [BoostQueryResult](rapidata/api_client/docs/BoostQueryResult.md)
|
|
256
225
|
- [BoostStatus](rapidata/api_client/docs/BoostStatus.md)
|
|
257
226
|
- [BoundingBoxPayload](rapidata/api_client/docs/BoundingBoxPayload.md)
|
|
@@ -296,6 +265,10 @@ Class | Method | HTTP request | Description
|
|
|
296
265
|
- [CountMetadata](rapidata/api_client/docs/CountMetadata.md)
|
|
297
266
|
- [CountMetadataModel](rapidata/api_client/docs/CountMetadataModel.md)
|
|
298
267
|
- [CountryUserFilterModel](rapidata/api_client/docs/CountryUserFilterModel.md)
|
|
268
|
+
- [CreateBenchmarkModel](rapidata/api_client/docs/CreateBenchmarkModel.md)
|
|
269
|
+
- [CreateBenchmarkParticipantModel](rapidata/api_client/docs/CreateBenchmarkParticipantModel.md)
|
|
270
|
+
- [CreateBenchmarkParticipantResult](rapidata/api_client/docs/CreateBenchmarkParticipantResult.md)
|
|
271
|
+
- [CreateBenchmarkResult](rapidata/api_client/docs/CreateBenchmarkResult.md)
|
|
299
272
|
- [CreateBridgeTokenResult](rapidata/api_client/docs/CreateBridgeTokenResult.md)
|
|
300
273
|
- [CreateClientModel](rapidata/api_client/docs/CreateClientModel.md)
|
|
301
274
|
- [CreateComplexOrderModel](rapidata/api_client/docs/CreateComplexOrderModel.md)
|
|
@@ -312,12 +285,9 @@ Class | Method | HTTP request | Description
|
|
|
312
285
|
- [CreateDemographicRapidModel](rapidata/api_client/docs/CreateDemographicRapidModel.md)
|
|
313
286
|
- [CreateEmptyValidationSetResult](rapidata/api_client/docs/CreateEmptyValidationSetResult.md)
|
|
314
287
|
- [CreateLeaderboardModel](rapidata/api_client/docs/CreateLeaderboardModel.md)
|
|
315
|
-
- [CreateLeaderboardParticipantModel](rapidata/api_client/docs/CreateLeaderboardParticipantModel.md)
|
|
316
|
-
- [CreateLeaderboardParticipantResult](rapidata/api_client/docs/CreateLeaderboardParticipantResult.md)
|
|
317
288
|
- [CreateLeaderboardResult](rapidata/api_client/docs/CreateLeaderboardResult.md)
|
|
318
289
|
- [CreateOrderModel](rapidata/api_client/docs/CreateOrderModel.md)
|
|
319
290
|
- [CreateOrderModelReferee](rapidata/api_client/docs/CreateOrderModelReferee.md)
|
|
320
|
-
- [CreateOrderModelUserFiltersInner](rapidata/api_client/docs/CreateOrderModelUserFiltersInner.md)
|
|
321
291
|
- [CreateOrderModelWorkflow](rapidata/api_client/docs/CreateOrderModelWorkflow.md)
|
|
322
292
|
- [CreateOrderResult](rapidata/api_client/docs/CreateOrderResult.md)
|
|
323
293
|
- [CreateRapidResult](rapidata/api_client/docs/CreateRapidResult.md)
|
|
@@ -329,7 +299,6 @@ Class | Method | HTTP request | Description
|
|
|
329
299
|
- [CustomUserFilterModel](rapidata/api_client/docs/CustomUserFilterModel.md)
|
|
330
300
|
- [Datapoint](rapidata/api_client/docs/Datapoint.md)
|
|
331
301
|
- [DatapointAsset](rapidata/api_client/docs/DatapointAsset.md)
|
|
332
|
-
- [DatapointMetadataModel](rapidata/api_client/docs/DatapointMetadataModel.md)
|
|
333
302
|
- [DatapointModel](rapidata/api_client/docs/DatapointModel.md)
|
|
334
303
|
- [DatapointModelPagedResult](rapidata/api_client/docs/DatapointModelPagedResult.md)
|
|
335
304
|
- [DatapointState](rapidata/api_client/docs/DatapointState.md)
|
|
@@ -353,6 +322,11 @@ Class | Method | HTTP request | Description
|
|
|
353
322
|
- [FeedbackModel](rapidata/api_client/docs/FeedbackModel.md)
|
|
354
323
|
- [FileArtifactModel](rapidata/api_client/docs/FileArtifactModel.md)
|
|
355
324
|
- [FileAsset](rapidata/api_client/docs/FileAsset.md)
|
|
325
|
+
- [FileAssetInput](rapidata/api_client/docs/FileAssetInput.md)
|
|
326
|
+
- [FileAssetInput1](rapidata/api_client/docs/FileAssetInput1.md)
|
|
327
|
+
- [FileAssetInput1File](rapidata/api_client/docs/FileAssetInput1File.md)
|
|
328
|
+
- [FileAssetInput2](rapidata/api_client/docs/FileAssetInput2.md)
|
|
329
|
+
- [FileAssetInputFile](rapidata/api_client/docs/FileAssetInputFile.md)
|
|
356
330
|
- [FileAssetModel](rapidata/api_client/docs/FileAssetModel.md)
|
|
357
331
|
- [FileAssetModelMetadataValue](rapidata/api_client/docs/FileAssetModelMetadataValue.md)
|
|
358
332
|
- [FileType](rapidata/api_client/docs/FileType.md)
|
|
@@ -360,12 +334,14 @@ Class | Method | HTTP request | Description
|
|
|
360
334
|
- [FileTypeMetadataModel](rapidata/api_client/docs/FileTypeMetadataModel.md)
|
|
361
335
|
- [Filter](rapidata/api_client/docs/Filter.md)
|
|
362
336
|
- [FilterOperator](rapidata/api_client/docs/FilterOperator.md)
|
|
337
|
+
- [FormFileWrapper](rapidata/api_client/docs/FormFileWrapper.md)
|
|
363
338
|
- [FreeTextPayload](rapidata/api_client/docs/FreeTextPayload.md)
|
|
364
339
|
- [FreeTextRapidBlueprint](rapidata/api_client/docs/FreeTextRapidBlueprint.md)
|
|
365
340
|
- [FreeTextResult](rapidata/api_client/docs/FreeTextResult.md)
|
|
366
341
|
- [Gender](rapidata/api_client/docs/Gender.md)
|
|
367
342
|
- [GenderUserFilterModel](rapidata/api_client/docs/GenderUserFilterModel.md)
|
|
368
343
|
- [GetAvailableValidationSetsResult](rapidata/api_client/docs/GetAvailableValidationSetsResult.md)
|
|
344
|
+
- [GetBenchmarkByIdResult](rapidata/api_client/docs/GetBenchmarkByIdResult.md)
|
|
369
345
|
- [GetCompareAbSummaryResult](rapidata/api_client/docs/GetCompareAbSummaryResult.md)
|
|
370
346
|
- [GetCompareWorkflowResultsModel](rapidata/api_client/docs/GetCompareWorkflowResultsModel.md)
|
|
371
347
|
- [GetCompareWorkflowResultsResult](rapidata/api_client/docs/GetCompareWorkflowResultsResult.md)
|
|
@@ -383,9 +359,11 @@ Class | Method | HTTP request | Description
|
|
|
383
359
|
- [GetRapidResponsesResult](rapidata/api_client/docs/GetRapidResponsesResult.md)
|
|
384
360
|
- [GetResponsesResult](rapidata/api_client/docs/GetResponsesResult.md)
|
|
385
361
|
- [GetSimpleWorkflowResultsModel](rapidata/api_client/docs/GetSimpleWorkflowResultsModel.md)
|
|
362
|
+
- [GetStandingByIdResult](rapidata/api_client/docs/GetStandingByIdResult.md)
|
|
386
363
|
- [GetValidationRapidsResult](rapidata/api_client/docs/GetValidationRapidsResult.md)
|
|
387
364
|
- [GetValidationRapidsResultAsset](rapidata/api_client/docs/GetValidationRapidsResultAsset.md)
|
|
388
365
|
- [GetValidationRapidsResultPagedResult](rapidata/api_client/docs/GetValidationRapidsResultPagedResult.md)
|
|
366
|
+
- [GetValidationRapidsResultPayload](rapidata/api_client/docs/GetValidationRapidsResultPayload.md)
|
|
389
367
|
- [GetValidationRapidsResultTruth](rapidata/api_client/docs/GetValidationRapidsResultTruth.md)
|
|
390
368
|
- [GetValidationSetByIdResult](rapidata/api_client/docs/GetValidationSetByIdResult.md)
|
|
391
369
|
- [GetWorkflowByIdResult](rapidata/api_client/docs/GetWorkflowByIdResult.md)
|
|
@@ -412,6 +390,7 @@ Class | Method | HTTP request | Description
|
|
|
412
390
|
- [LineRapidBlueprint](rapidata/api_client/docs/LineRapidBlueprint.md)
|
|
413
391
|
- [LineResult](rapidata/api_client/docs/LineResult.md)
|
|
414
392
|
- [LineTruth](rapidata/api_client/docs/LineTruth.md)
|
|
393
|
+
- [LocalFileWrapper](rapidata/api_client/docs/LocalFileWrapper.md)
|
|
415
394
|
- [LocateBoxTruth](rapidata/api_client/docs/LocateBoxTruth.md)
|
|
416
395
|
- [LocateCoordinate](rapidata/api_client/docs/LocateCoordinate.md)
|
|
417
396
|
- [LocatePayload](rapidata/api_client/docs/LocatePayload.md)
|
|
@@ -423,6 +402,11 @@ Class | Method | HTTP request | Description
|
|
|
423
402
|
- [LogicOperator](rapidata/api_client/docs/LogicOperator.md)
|
|
424
403
|
- [MetadataVisibilities](rapidata/api_client/docs/MetadataVisibilities.md)
|
|
425
404
|
- [MultiAsset](rapidata/api_client/docs/MultiAsset.md)
|
|
405
|
+
- [MultiAssetInput](rapidata/api_client/docs/MultiAssetInput.md)
|
|
406
|
+
- [MultiAssetInput1](rapidata/api_client/docs/MultiAssetInput1.md)
|
|
407
|
+
- [MultiAssetInput1AssetsInner](rapidata/api_client/docs/MultiAssetInput1AssetsInner.md)
|
|
408
|
+
- [MultiAssetInput2](rapidata/api_client/docs/MultiAssetInput2.md)
|
|
409
|
+
- [MultiAssetInputAssetsInner](rapidata/api_client/docs/MultiAssetInputAssetsInner.md)
|
|
426
410
|
- [MultiAssetModel](rapidata/api_client/docs/MultiAssetModel.md)
|
|
427
411
|
- [MultiCompareTruth](rapidata/api_client/docs/MultiCompareTruth.md)
|
|
428
412
|
- [NaiveRefereeConfig](rapidata/api_client/docs/NaiveRefereeConfig.md)
|
|
@@ -451,29 +435,34 @@ Class | Method | HTTP request | Description
|
|
|
451
435
|
- [OriginalFilenameMetadata](rapidata/api_client/docs/OriginalFilenameMetadata.md)
|
|
452
436
|
- [OriginalFilenameMetadataModel](rapidata/api_client/docs/OriginalFilenameMetadataModel.md)
|
|
453
437
|
- [PageInfo](rapidata/api_client/docs/PageInfo.md)
|
|
454
|
-
- [
|
|
455
|
-
- [
|
|
438
|
+
- [ParticipantByBenchmark](rapidata/api_client/docs/ParticipantByBenchmark.md)
|
|
439
|
+
- [ParticipantByBenchmarkPagedResult](rapidata/api_client/docs/ParticipantByBenchmarkPagedResult.md)
|
|
456
440
|
- [ParticipantStatus](rapidata/api_client/docs/ParticipantStatus.md)
|
|
457
|
-
- [
|
|
441
|
+
- [PipelineIdWorkflowConfigPutRequest](rapidata/api_client/docs/PipelineIdWorkflowConfigPutRequest.md)
|
|
458
442
|
- [PolygonPayload](rapidata/api_client/docs/PolygonPayload.md)
|
|
459
443
|
- [PolygonRapidBlueprint](rapidata/api_client/docs/PolygonRapidBlueprint.md)
|
|
460
444
|
- [PolygonResult](rapidata/api_client/docs/PolygonResult.md)
|
|
461
445
|
- [PolygonTruth](rapidata/api_client/docs/PolygonTruth.md)
|
|
446
|
+
- [PotentialValidationRapid](rapidata/api_client/docs/PotentialValidationRapid.md)
|
|
447
|
+
- [PotentialValidationRapidPagedResult](rapidata/api_client/docs/PotentialValidationRapidPagedResult.md)
|
|
448
|
+
- [PotentialValidationRapidTruth](rapidata/api_client/docs/PotentialValidationRapidTruth.md)
|
|
462
449
|
- [PreliminaryDownloadModel](rapidata/api_client/docs/PreliminaryDownloadModel.md)
|
|
463
450
|
- [PreliminaryDownloadResult](rapidata/api_client/docs/PreliminaryDownloadResult.md)
|
|
464
451
|
- [PrivateTextMetadataInput](rapidata/api_client/docs/PrivateTextMetadataInput.md)
|
|
465
452
|
- [ProbabilisticAttachCategoryRefereeConfig](rapidata/api_client/docs/ProbabilisticAttachCategoryRefereeConfig.md)
|
|
466
453
|
- [ProbabilisticAttachCategoryRefereeInfo](rapidata/api_client/docs/ProbabilisticAttachCategoryRefereeInfo.md)
|
|
467
454
|
- [PromptAssetMetadataInput](rapidata/api_client/docs/PromptAssetMetadataInput.md)
|
|
468
|
-
- [
|
|
469
|
-
- [
|
|
455
|
+
- [PromptAssetMetadataInputAsset](rapidata/api_client/docs/PromptAssetMetadataInputAsset.md)
|
|
456
|
+
- [PromptByBenchmarkResult](rapidata/api_client/docs/PromptByBenchmarkResult.md)
|
|
457
|
+
- [PromptByBenchmarkResultPagedResult](rapidata/api_client/docs/PromptByBenchmarkResultPagedResult.md)
|
|
470
458
|
- [PromptMetadata](rapidata/api_client/docs/PromptMetadata.md)
|
|
471
459
|
- [PromptMetadataInput](rapidata/api_client/docs/PromptMetadataInput.md)
|
|
472
460
|
- [PromptMetadataModel](rapidata/api_client/docs/PromptMetadataModel.md)
|
|
461
|
+
- [ProxyFileWrapper](rapidata/api_client/docs/ProxyFileWrapper.md)
|
|
473
462
|
- [PublicOrderModel](rapidata/api_client/docs/PublicOrderModel.md)
|
|
474
463
|
- [PublicTextMetadataInput](rapidata/api_client/docs/PublicTextMetadataInput.md)
|
|
475
464
|
- [QueryModel](rapidata/api_client/docs/QueryModel.md)
|
|
476
|
-
- [
|
|
465
|
+
- [QueryValidationModel](rapidata/api_client/docs/QueryValidationModel.md)
|
|
477
466
|
- [RapidIssue](rapidata/api_client/docs/RapidIssue.md)
|
|
478
467
|
- [RapidModel](rapidata/api_client/docs/RapidModel.md)
|
|
479
468
|
- [RapidModelPagedResult](rapidata/api_client/docs/RapidModelPagedResult.md)
|
|
@@ -511,14 +500,20 @@ Class | Method | HTTP request | Description
|
|
|
511
500
|
- [SortDirection](rapidata/api_client/docs/SortDirection.md)
|
|
512
501
|
- [SourceUrlMetadata](rapidata/api_client/docs/SourceUrlMetadata.md)
|
|
513
502
|
- [SourceUrlMetadataModel](rapidata/api_client/docs/SourceUrlMetadataModel.md)
|
|
503
|
+
- [StandingByLeaderboard](rapidata/api_client/docs/StandingByLeaderboard.md)
|
|
504
|
+
- [StandingByLeaderboardPagedResult](rapidata/api_client/docs/StandingByLeaderboardPagedResult.md)
|
|
505
|
+
- [StandingStatus](rapidata/api_client/docs/StandingStatus.md)
|
|
514
506
|
- [StaticSelection](rapidata/api_client/docs/StaticSelection.md)
|
|
515
507
|
- [StickyState](rapidata/api_client/docs/StickyState.md)
|
|
508
|
+
- [StreamFileWrapper](rapidata/api_client/docs/StreamFileWrapper.md)
|
|
516
509
|
- [StreamsMetadata](rapidata/api_client/docs/StreamsMetadata.md)
|
|
517
510
|
- [StreamsMetadataModel](rapidata/api_client/docs/StreamsMetadataModel.md)
|
|
518
511
|
- [SubmitCocoModel](rapidata/api_client/docs/SubmitCocoModel.md)
|
|
519
512
|
- [SubmitCocoResult](rapidata/api_client/docs/SubmitCocoResult.md)
|
|
520
513
|
- [SubmitParticipantResult](rapidata/api_client/docs/SubmitParticipantResult.md)
|
|
514
|
+
- [SubmitPromptModel](rapidata/api_client/docs/SubmitPromptModel.md)
|
|
521
515
|
- [TextAsset](rapidata/api_client/docs/TextAsset.md)
|
|
516
|
+
- [TextAssetInput](rapidata/api_client/docs/TextAssetInput.md)
|
|
522
517
|
- [TextAssetModel](rapidata/api_client/docs/TextAssetModel.md)
|
|
523
518
|
- [TextMetadata](rapidata/api_client/docs/TextMetadata.md)
|
|
524
519
|
- [TextMetadataModel](rapidata/api_client/docs/TextMetadataModel.md)
|
|
@@ -533,7 +528,6 @@ Class | Method | HTTP request | Description
|
|
|
533
528
|
- [TranslatedPromptMetadataModel](rapidata/api_client/docs/TranslatedPromptMetadataModel.md)
|
|
534
529
|
- [TranslatedString](rapidata/api_client/docs/TranslatedString.md)
|
|
535
530
|
- [UnlockOrderResult](rapidata/api_client/docs/UnlockOrderResult.md)
|
|
536
|
-
- [UpdateAccessModel](rapidata/api_client/docs/UpdateAccessModel.md)
|
|
537
531
|
- [UpdateCampaignModel](rapidata/api_client/docs/UpdateCampaignModel.md)
|
|
538
532
|
- [UpdateDatasetNameModel](rapidata/api_client/docs/UpdateDatasetNameModel.md)
|
|
539
533
|
- [UpdateDimensionsModel](rapidata/api_client/docs/UpdateDimensionsModel.md)
|
|
@@ -541,19 +535,15 @@ Class | Method | HTTP request | Description
|
|
|
541
535
|
- [UpdateValidationRapidModel](rapidata/api_client/docs/UpdateValidationRapidModel.md)
|
|
542
536
|
- [UpdateValidationRapidModelTruth](rapidata/api_client/docs/UpdateValidationRapidModelTruth.md)
|
|
543
537
|
- [UploadCocoResult](rapidata/api_client/docs/UploadCocoResult.md)
|
|
544
|
-
- [UploadFilesFromS3BucketModel](rapidata/api_client/docs/UploadFilesFromS3BucketModel.md)
|
|
545
538
|
- [UploadFromS3Result](rapidata/api_client/docs/UploadFromS3Result.md)
|
|
546
|
-
- [UploadTextSourcesToDatasetModel](rapidata/api_client/docs/UploadTextSourcesToDatasetModel.md)
|
|
547
539
|
- [UrlAssetInput](rapidata/api_client/docs/UrlAssetInput.md)
|
|
548
540
|
- [UserScoreUserFilterModel](rapidata/api_client/docs/UserScoreUserFilterModel.md)
|
|
549
541
|
- [ValidationChance](rapidata/api_client/docs/ValidationChance.md)
|
|
550
|
-
- [ValidationImportPostRequestBlueprint](rapidata/api_client/docs/ValidationImportPostRequestBlueprint.md)
|
|
551
542
|
- [ValidationSelection](rapidata/api_client/docs/ValidationSelection.md)
|
|
552
543
|
- [ValidationSetModel](rapidata/api_client/docs/ValidationSetModel.md)
|
|
553
544
|
- [ValidationSetModelPagedResult](rapidata/api_client/docs/ValidationSetModelPagedResult.md)
|
|
554
545
|
- [ValidationSetOverviewModel](rapidata/api_client/docs/ValidationSetOverviewModel.md)
|
|
555
|
-
- [
|
|
556
|
-
- [ValidationSetValidationSetIdRapidPostTruthParameter](rapidata/api_client/docs/ValidationSetValidationSetIdRapidPostTruthParameter.md)
|
|
546
|
+
- [ValidationSetZipPostRequestBlueprint](rapidata/api_client/docs/ValidationSetZipPostRequestBlueprint.md)
|
|
557
547
|
- [VideoDurationMetadata](rapidata/api_client/docs/VideoDurationMetadata.md)
|
|
558
548
|
- [VideoDurationMetadataModel](rapidata/api_client/docs/VideoDurationMetadataModel.md)
|
|
559
549
|
- [WorkflowAggregationStepModel](rapidata/api_client/docs/WorkflowAggregationStepModel.md)
|
|
@@ -564,6 +554,7 @@ Class | Method | HTTP request | Description
|
|
|
564
554
|
- [WorkflowSplitModel](rapidata/api_client/docs/WorkflowSplitModel.md)
|
|
565
555
|
- [WorkflowSplitModelFilterConfigsInner](rapidata/api_client/docs/WorkflowSplitModelFilterConfigsInner.md)
|
|
566
556
|
- [WorkflowState](rapidata/api_client/docs/WorkflowState.md)
|
|
557
|
+
- [ZipEntryFileWrapper](rapidata/api_client/docs/ZipEntryFileWrapper.md)
|
|
567
558
|
|
|
568
559
|
|
|
569
560
|
<a id="documentation-for-authorization"></a>
|
|
File without changes
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
import pandas as pd
|
|
2
|
+
|
|
3
|
+
from rapidata.api_client.models.query_model import QueryModel
|
|
4
|
+
from rapidata.api_client.models.page_info import PageInfo
|
|
5
|
+
from rapidata.api_client.models.sort_criterion import SortCriterion
|
|
6
|
+
|
|
7
|
+
from rapidata.service.openapi_service import OpenAPIService
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
class RapidataLeaderboard:
|
|
11
|
+
"""
|
|
12
|
+
An instance of a Rapidata leaderboard.
|
|
13
|
+
|
|
14
|
+
Used to interact with a specific leaderboard in the Rapidata system, such as retrieving prompts and evaluating models.
|
|
15
|
+
|
|
16
|
+
Args:
|
|
17
|
+
name: The name that will be used to identify the leaderboard on the overview.
|
|
18
|
+
instruction: The instruction that will determine what how the models will be evaluated.
|
|
19
|
+
show_prompt: Whether to show the prompt to the users.
|
|
20
|
+
id: The ID of the leaderboard.
|
|
21
|
+
openapi_service: The OpenAPIService instance for API interaction.
|
|
22
|
+
"""
|
|
23
|
+
def __init__(self, name: str, instruction: str, show_prompt: bool, id: str, openapi_service: OpenAPIService):
|
|
24
|
+
self.__openapi_service = openapi_service
|
|
25
|
+
self.name = name
|
|
26
|
+
self.instruction = instruction
|
|
27
|
+
self.show_prompt = show_prompt
|
|
28
|
+
self.id = id
|
|
29
|
+
|
|
30
|
+
def get_standings(self) -> pd.DataFrame:
|
|
31
|
+
"""
|
|
32
|
+
Returns the standings of the leaderboard.
|
|
33
|
+
"""
|
|
34
|
+
participants = self.__openapi_service.leaderboard_api.leaderboard_leaderboard_id_standings_get(
|
|
35
|
+
leaderboard_id=self.id,
|
|
36
|
+
request=QueryModel(
|
|
37
|
+
page=PageInfo(index=1, size=1000),
|
|
38
|
+
sortCriteria=[SortCriterion(direction="Desc", propertyName="Score")]
|
|
39
|
+
)
|
|
40
|
+
)
|
|
41
|
+
|
|
42
|
+
standings = []
|
|
43
|
+
for participant in participants.items:
|
|
44
|
+
standings.append({
|
|
45
|
+
"name": participant.name,
|
|
46
|
+
"wins": participant.wins,
|
|
47
|
+
"total_matches": participant.total_matches,
|
|
48
|
+
"score": round(participant.score, 2) if participant.score is not None else None,
|
|
49
|
+
})
|
|
50
|
+
|
|
51
|
+
return pd.DataFrame(standings)
|
|
52
|
+
|
|
53
|
+
def __str__(self) -> str:
|
|
54
|
+
return f"RapidataLeaderboard(name={self.name}, instruction={self.instruction}, show_prompt={self.show_prompt}, leaderboard_id={self.id})"
|
|
55
|
+
|
|
56
|
+
def __repr__(self) -> str:
|
|
57
|
+
return self.__str__()
|
|
58
|
+
|
|
59
|
+
|
|
60
|
+
|
|
61
|
+
|
|
62
|
+
|