Skip to content

Commit 0eb1ed4

Browse files
author
MOSTLY CI
committed
Updating OpenAPI Specification for release 4.5.2
1 parent 99cae9c commit 0eb1ed4

1 file changed

Lines changed: 107 additions & 4 deletions

File tree

public-api.yaml

Lines changed: 107 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,10 @@ paths:
6464
- $ref: "#/components/parameters/filterBySearchTerm"
6565
- $ref: "#/components/parameters/filterByConnectorAccessType"
6666
- $ref: "#/components/parameters/filterByOwnerId"
67+
- $ref: "#/components/parameters/filterByVisibility"
68+
- $ref: "#/components/parameters/filterByCreatedFrom"
69+
- $ref: "#/components/parameters/filterByCreatedTo"
70+
- $ref: "#/components/parameters/sortByOptionsForConnectors"
6771
responses:
6872
"200":
6973
description: "OK"
@@ -379,6 +383,10 @@ paths:
379383
- $ref: "#/components/parameters/filterByProgressStatus"
380384
- $ref: "#/components/parameters/filterBySearchTerm"
381385
- $ref: "#/components/parameters/filterByOwnerId"
386+
- $ref: "#/components/parameters/filterByVisibility"
387+
- $ref: "#/components/parameters/filterByCreatedFrom"
388+
- $ref: "#/components/parameters/filterByCreatedTo"
389+
- $ref: "#/components/parameters/sortByOptionsForGenerators"
382390
responses:
383391
"200":
384392
description: "OK"
@@ -881,6 +889,10 @@ paths:
881889
- $ref: "#/components/parameters/filterByProgressStatus"
882890
- $ref: "#/components/parameters/filterBySearchTerm"
883891
- $ref: "#/components/parameters/filterByOwnerId"
892+
- $ref: "#/components/parameters/filterByVisibility"
893+
- $ref: "#/components/parameters/filterByCreatedFrom"
894+
- $ref: "#/components/parameters/filterByCreatedTo"
895+
- $ref: "#/components/parameters/sortByOptionsForSyntheticDatasets"
884896
responses:
885897
"200":
886898
description: "OK"
@@ -1251,6 +1263,9 @@ paths:
12511263
- $ref: "#/components/parameters/pageLimit"
12521264
- $ref: "#/components/parameters/filterBySearchTerm"
12531265
- $ref: "#/components/parameters/filterByOwnerId"
1266+
- $ref: "#/components/parameters/filterByVisibility"
1267+
- $ref: "#/components/parameters/filterByCreatedFrom"
1268+
- $ref: "#/components/parameters/filterByCreatedTo"
12541269
responses:
12551270
"200":
12561271
description: "OK"
@@ -2076,6 +2091,64 @@ components:
20762091
schema:
20772092
$ref: "#/components/schemas/FilterByUser"
20782093
required: true
2094+
filterByVisibility:
2095+
name: "visibility"
2096+
description: "Filter by visibility"
2097+
in: "query"
2098+
style: "form"
2099+
explode: false
2100+
schema:
2101+
type: "array"
2102+
items:
2103+
$ref: "#/components/schemas/Visibility"
2104+
filterByCreatedFrom:
2105+
name: "createdFrom"
2106+
description: "Filter connectors created from this date (inclusive). Format: YYYY-MM-DD."
2107+
in: "query"
2108+
style: "form"
2109+
explode: false
2110+
schema:
2111+
type: "string"
2112+
format: "date"
2113+
filterByCreatedTo:
2114+
name: "createdTo"
2115+
description: "Filter connectors created until this date (inclusive). Format: YYYY-MM-DD."
2116+
in: "query"
2117+
style: "form"
2118+
explode: false
2119+
schema:
2120+
type: "string"
2121+
format: "date"
2122+
sortByOptionsForGenerators:
2123+
name: "sortBy"
2124+
in: "query"
2125+
required: false
2126+
style: "form"
2127+
explode: false
2128+
schema:
2129+
type: "array"
2130+
items:
2131+
$ref: "#/components/schemas/GeneratorSortField"
2132+
sortByOptionsForSyntheticDatasets:
2133+
name: "sortBy"
2134+
in: "query"
2135+
required: false
2136+
style: "form"
2137+
explode: false
2138+
schema:
2139+
type: "array"
2140+
items:
2141+
$ref: "#/components/schemas/SyntheticDatasetSortField"
2142+
sortByOptionsForConnectors:
2143+
name: "sortBy"
2144+
in: "query"
2145+
required: false
2146+
style: "form"
2147+
explode: false
2148+
schema:
2149+
type: "array"
2150+
items:
2151+
$ref: "#/components/schemas/ConnectorSortField"
20792152
reportType:
20802153
name: "reportType"
20812154
description: "Synthetic dataset report type"
@@ -2837,6 +2910,12 @@ components:
28372910
type: "string"
28382911
required:
28392912
- "sql"
2913+
ConnectorSortField:
2914+
type: "string"
2915+
enum:
2916+
- "RECENCY"
2917+
- "NO_OF_GENERATORS"
2918+
28402919
# GENERATOR
28412920
GeneratorId:
28422921
type: "string"
@@ -3270,7 +3349,12 @@ components:
32703349
required:
32713350
- "sourceConnectorId"
32723351
- "location"
3273-
3352+
GeneratorSortField:
3353+
type: "string"
3354+
enum:
3355+
- "RECENCY"
3356+
- "NO_OF_LIKES"
3357+
- "NO_OF_SYNTHETIC_DATASETS"
32743358
# MODEL
32753359
ModelId:
32763360
type: "string"
@@ -3557,6 +3641,9 @@ components:
35573641
noOfLikes:
35583642
type: "integer"
35593643
description: "Number of likes of this synthetic dataset."
3644+
noOfDownloads:
3645+
type: "integer"
3646+
description: "Number of downloads of this synthetic dataset."
35603647
SyntheticDatasetListItem:
35613648
type: "object"
35623649
description: "Essential synthetic dataset details for listings."
@@ -3816,7 +3903,12 @@ components:
38163903
$ref: "#/components/schemas/SyntheticTableConfiguration"
38173904
required:
38183905
- "name"
3819-
3906+
SyntheticDatasetSortField:
3907+
type: "string"
3908+
enum:
3909+
- "RECENCY"
3910+
- "NO_OF_LIKES"
3911+
- "NO_OF_DOWNLOADS"
38203912
# ASSISTANT
38213913
AssistantSettingsIsEnabled:
38223914
type: "boolean"
@@ -4723,8 +4815,8 @@ components:
47234815
47244816
1. **Cosine Similarity**: The cosine similarity between the centroids of synthetic and training samples.
47254817
2. **Discriminator AUC**: The AUC of a discriminative model to distinguish between synthetic and training samples.
4726-
4727-
The SentenceTransformer model [all-MiniLM-L6-v2](https://huggingface.co/sentence-transformers/all-MiniLM-L6-v2) is
4818+
4819+
The Model2Vec model [potion-base-8M](https://huggingface.co/minishlab/potion-base-8M) is
47284820
used to compute the embeddings of a string-ified representation of individual records. In case of sequential data
47294821
the records, that belong to the same group, are being concatenated. We then calculate the cosine similarity
47304822
between the centroids of the provided datasets within the embedding space.
@@ -4796,6 +4888,12 @@ components:
47964888
format: "double"
47974889
minimum: 0.0
47984890
maximum: 1.0
4891+
imsTrnHol:
4892+
description: "Share of training samples that are identical to a holdout sample. Serves as a reference for `ims_training`."
4893+
type: "number"
4894+
format: "double"
4895+
minimum: 0.0
4896+
maximum: 1.0
47994897
dcrTraining:
48004898
description: "Average L2 nearest-neighbor distance between synthetic and training samples."
48014899
type: "number"
@@ -4806,6 +4904,11 @@ components:
48064904
type: "number"
48074905
format: "double"
48084906
minimum: 0.0
4907+
dcrTrnHol:
4908+
description: "Average L2 nearest-neighbor distance between training and holdout samples. Serves as a reference for `dcr_training`."
4909+
type: "number"
4910+
format: "double"
4911+
minimum: 0.0
48094912
dcrShare:
48104913
description: "Share of synthetic samples that are closer to a training sample than to a holdout sample. This should not be significantly larger than 50%."
48114914
type: "number"

0 commit comments

Comments
 (0)