@eyepop.ai/eyepop 1.7.0 → 1.8.1
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.d.mts
CHANGED
|
@@ -557,6 +557,7 @@ interface Annotation {
|
|
|
557
557
|
type: AnnotationType;
|
|
558
558
|
user_review: UserReview;
|
|
559
559
|
approved_threshold?: number;
|
|
560
|
+
source_model_uuid?: string;
|
|
560
561
|
auto_annotate?: string;
|
|
561
562
|
auto_annotate_params?: AutoAnnotateParams;
|
|
562
563
|
uncertainty_score?: number;
|
|
@@ -622,6 +623,8 @@ interface Model {
|
|
|
622
623
|
name: string;
|
|
623
624
|
description?: string;
|
|
624
625
|
external_id?: string;
|
|
626
|
+
pretrained_model_uuid?: string;
|
|
627
|
+
extra_params?: Map<string, any>;
|
|
625
628
|
type: ModelType;
|
|
626
629
|
status: ModelStatus;
|
|
627
630
|
status_message?: string;
|
|
@@ -637,6 +640,8 @@ interface ModelCreate {
|
|
|
637
640
|
name: string;
|
|
638
641
|
description: string;
|
|
639
642
|
external_id?: string;
|
|
643
|
+
pretrained_model_uuid?: string;
|
|
644
|
+
extra_params?: Map<string, any>;
|
|
640
645
|
}
|
|
641
646
|
interface ModelUpdate {
|
|
642
647
|
name: string;
|
|
@@ -727,6 +732,7 @@ declare class DataEndpoint extends Endpoint<DataEndpoint> {
|
|
|
727
732
|
downloadAsset(asset_uuid: string, dataset_uuid?: string, dataset_version?: number, transcode_mode?: TranscodeMode): Promise<Blob>;
|
|
728
733
|
previewAutoAnnotateAsset(asset_uuid: string, auto_annotate: string, auto_annotate_params?: AutoAnnotateParams): Promise<Annotation>;
|
|
729
734
|
listModels(): Promise<Model[]>;
|
|
735
|
+
findModelsForDataset(dataset_uuid: string): Promise<Model[]>;
|
|
730
736
|
createModel(dataset_uuid: string, dataset_version: number, data: ModelCreate, start_training?: boolean): Promise<Model>;
|
|
731
737
|
getModel(model_uuid: string): Promise<Model>;
|
|
732
738
|
getModelTrainingProgress(model_uuid: string): Promise<ModelTrainingProgress>;
|
package/dist/eyepop.index.d.ts
CHANGED
|
@@ -557,6 +557,7 @@ interface Annotation {
|
|
|
557
557
|
type: AnnotationType;
|
|
558
558
|
user_review: UserReview;
|
|
559
559
|
approved_threshold?: number;
|
|
560
|
+
source_model_uuid?: string;
|
|
560
561
|
auto_annotate?: string;
|
|
561
562
|
auto_annotate_params?: AutoAnnotateParams;
|
|
562
563
|
uncertainty_score?: number;
|
|
@@ -622,6 +623,8 @@ interface Model {
|
|
|
622
623
|
name: string;
|
|
623
624
|
description?: string;
|
|
624
625
|
external_id?: string;
|
|
626
|
+
pretrained_model_uuid?: string;
|
|
627
|
+
extra_params?: Map<string, any>;
|
|
625
628
|
type: ModelType;
|
|
626
629
|
status: ModelStatus;
|
|
627
630
|
status_message?: string;
|
|
@@ -637,6 +640,8 @@ interface ModelCreate {
|
|
|
637
640
|
name: string;
|
|
638
641
|
description: string;
|
|
639
642
|
external_id?: string;
|
|
643
|
+
pretrained_model_uuid?: string;
|
|
644
|
+
extra_params?: Map<string, any>;
|
|
640
645
|
}
|
|
641
646
|
interface ModelUpdate {
|
|
642
647
|
name: string;
|
|
@@ -727,6 +732,7 @@ declare class DataEndpoint extends Endpoint<DataEndpoint> {
|
|
|
727
732
|
downloadAsset(asset_uuid: string, dataset_uuid?: string, dataset_version?: number, transcode_mode?: TranscodeMode): Promise<Blob>;
|
|
728
733
|
previewAutoAnnotateAsset(asset_uuid: string, auto_annotate: string, auto_annotate_params?: AutoAnnotateParams): Promise<Annotation>;
|
|
729
734
|
listModels(): Promise<Model[]>;
|
|
735
|
+
findModelsForDataset(dataset_uuid: string): Promise<Model[]>;
|
|
730
736
|
createModel(dataset_uuid: string, dataset_version: number, data: ModelCreate, start_training?: boolean): Promise<Model>;
|
|
731
737
|
getModel(model_uuid: string): Promise<Model>;
|
|
732
738
|
getModelTrainingProgress(model_uuid: string): Promise<ModelTrainingProgress>;
|
package/dist/eyepop.index.js
CHANGED
|
@@ -11397,6 +11397,11 @@ var DataEndpoint = class extends Endpoint {
|
|
|
11397
11397
|
method: "GET"
|
|
11398
11398
|
});
|
|
11399
11399
|
}
|
|
11400
|
+
async findModelsForDataset(dataset_uuid) {
|
|
11401
|
+
return this.request(`/models?dataset_uuid=${dataset_uuid}`, {
|
|
11402
|
+
method: "GET"
|
|
11403
|
+
});
|
|
11404
|
+
}
|
|
11400
11405
|
async createModel(dataset_uuid, dataset_version, data, start_training = true) {
|
|
11401
11406
|
return this.request(`/models?dataset_uuid=${dataset_uuid}&dataset_version=${dataset_version}&start_training=${start_training}`, {
|
|
11402
11407
|
method: "POST",
|