@eyepop.ai/eyepop 3.6.1 → 3.7.0
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.
package/dist/eyepop.index.mjs
CHANGED
|
@@ -11099,12 +11099,12 @@ var DataEndpoint = class extends Endpoint {
|
|
|
11099
11099
|
method: "POST"
|
|
11100
11100
|
});
|
|
11101
11101
|
}
|
|
11102
|
-
async updateAssetGroundTruth(asset_uuid, dataset_uuid, dataset_version,
|
|
11102
|
+
async updateAssetGroundTruth(asset_uuid, dataset_uuid, dataset_version, predictions) {
|
|
11103
11103
|
const versionQuery = dataset_version ? `&dataset_version=${dataset_version}` : "";
|
|
11104
11104
|
const datasetQuery = dataset_uuid ? `&dataset_uuid=${dataset_uuid}` : "";
|
|
11105
11105
|
return this.request(`/assets/${asset_uuid}/ground_truth?${datasetQuery}${versionQuery}`, {
|
|
11106
11106
|
method: "PATCH",
|
|
11107
|
-
body: JSON.stringify(
|
|
11107
|
+
body: JSON.stringify(predictions)
|
|
11108
11108
|
});
|
|
11109
11109
|
}
|
|
11110
11110
|
async deleteAssetGroundTruth(asset_uuid, dataset_uuid, dataset_version) {
|