@eyepop.ai/eyepop 3.14.2 → 3.14.6

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.
@@ -616,6 +616,19 @@ interface AutoPromptConfig {
616
616
  infer: InferRequest;
617
617
  evaluate: EvaluateConfig;
618
618
  }
619
+ declare enum TaskType {
620
+ classification = "classification"
621
+ }
622
+ interface BaseTask {
623
+ type: TaskType;
624
+ task_description?: string;
625
+ }
626
+ interface ClassificationTask extends BaseTask {
627
+ classes: string[];
628
+ dataset_uuid: string;
629
+ num_samples: number;
630
+ }
631
+ type AutoTask = ClassificationTask;
619
632
  declare enum VlmAbilityStatus {
620
633
  in_progress = "in_progress",
621
634
  draft = "draft",
@@ -657,19 +670,21 @@ interface VlmAbility {
657
670
  name: string;
658
671
  description: string;
659
672
  vlm_ability_group_uuid?: string;
660
- worker_release: string;
661
- text_prompt: string;
662
- transform_into: TransformInto;
663
- config: InferRuntimeConfig;
673
+ worker_release?: string;
674
+ text_prompt?: string;
675
+ transform_into?: TransformInto;
676
+ config?: InferRuntimeConfig;
664
677
  video_chunk_length_ns?: number;
665
678
  video_chunk_overlap?: number;
666
679
  alias_entries?: AbilityAliasEntry[];
667
680
  auto_prompt?: AutoPromptConfig;
681
+ auto_task?: AutoTask;
668
682
  }
669
683
  interface VlmAbilityGroupCreate {
670
684
  name: string;
671
685
  description: string;
672
686
  auto_prompt?: AutoPromptConfig;
687
+ auto_task?: AutoTask;
673
688
  default_alias_name?: string;
674
689
  default_dataset_uuid?: string;
675
690
  }
@@ -872,6 +887,7 @@ interface ProcessParams {
872
887
  componentParams?: ComponentParams[] | undefined;
873
888
  motionDetect?: MotionDetectConfig | undefined;
874
889
  roi?: Area | undefined;
890
+ fps?: string | undefined;
875
891
  }
876
892
  interface ProcessRequest extends ProcessParams {
877
893
  source: Source;
@@ -1226,7 +1242,7 @@ declare class DataEndpoint extends Endpoint<DataEndpoint> {
1226
1242
  getVlmAbility(vlm_ability_uuid: string): Promise<VlmAbility>;
1227
1243
  deleteVlmAbility(vlm_ability_uuid: string): Promise<void>;
1228
1244
  updateVlmAbility(vlm_ability_uuid: string, update: VlmAbilityUpdate): Promise<VlmAbility>;
1229
- refineVlmAbility(vlm_ability_uuid: string, auto_prompt: AutoPromptConfig): Promise<VlmAbility>;
1245
+ refineVlmAbility(vlm_ability_uuid: string, auto_prompt: AutoPromptConfig | undefined, auto_task?: AutoTask | undefined): Promise<VlmAbility>;
1230
1246
  cloneVlmAbility(vlm_ability_uuid: string, account_uuid?: string, name?: string, default_alias_name?: string): Promise<VlmAbility>;
1231
1247
  publishVlmAbility(vlm_ability_uuid: string, alias_name?: string, tag_name?: string): Promise<VlmAbility>;
1232
1248
  addVlmAbilityAlias(vlm_ability_uuid: string, alias_name: string, tag_name?: string): Promise<VlmAbility>;
@@ -1234,7 +1250,7 @@ declare class DataEndpoint extends Endpoint<DataEndpoint> {
1234
1250
  listVlmAbilityEvaluations(vlm_ability_uuid: string): Promise<DatasetAutoAnnotate[]>;
1235
1251
  getVlmAbilityEvaluation(vlm_ability_uuid: string, source: string): Promise<DatasetAutoAnnotate>;
1236
1252
  startVlmAbilityEvaluation(vlm_ability_uuid: string, evaluate_request: EvaluateRequest): Promise<DatasetAutoAnnotate>;
1237
- resolveAliases(aliases: string[]): Promise<AliasResolution>;
1253
+ resolveAliases(aliases: string[]): Promise<AliasResolution[]>;
1238
1254
  }
1239
1255
 
1240
1256
  type Bytes = string | ArrayBuffer | Uint8Array | Buffer | null | undefined;
@@ -1384,4 +1400,4 @@ declare namespace EyePop {
1384
1400
  function dataEndpoint(opts?: DataOptions): DataEndpoint;
1385
1401
  }
1386
1402
 
1387
- export { type AbilityAliasEntry, AbstractJob, type AliasResolution, type Annotation, AnnotationInclusionMode, AnnotationType, type ApiKeyAuth, type Area, AreaType, ArtifactType, type Asset, type AssetImport, AssetInclusionMode, AssetStatus, AssetUrlType, type AssetUuidSource, type Auth0Options, type Authentication, type AutoAnnotate, type AutoAnnotateParams, type AutoAnnotatePrompt, AutoAnnotateStatus, AutoAnnotateTask, type AutoPromptConfig, type BaseArea, type BaseComponent, type Box, type ChangeEvent, ChangeType, type ComponentFinderComponent, type ComponentParams, type Contour, type ContourArea, type ContourFinderComponent, ContourType, type CreateWorkflow, type CreateWorkflowConfig, DEFAULT_PREDICTION_VERSION, DataApiType, DataEndpoint, type DataOptions, type DataSession, type Dataset, type DatasetAutoAnnotate, type DatasetAutoAnnotateCreate, type DatasetAutoAnnotateUpdate, type DatasetCreate, type DatasetHeroAssetUpdate, type DatasetParent, type DatasetUpdate, type DatasetVersion, type DatasetVersionAssetStats, type DownloadResponse, Endpoint, EndpointState, type EvaluateConfig, type EvaluateFilter, type EvaluateRequest, type EvaluateResponse, type EvaluateRunInfo, EvaluationStatus, ExportedBy, EyePop, EyepopLineDecoder, type FileSource, type ForwardComponent, ForwardOperatorType, type HttpClient, type InferRequest, type InferRunInfo, type InferRuntimeConfig, type InferenceComponent, InferenceType, type ListWorkFlowItem, type ListWorkFlowItemMetadata, type ListWorkflowItemMetadataLabels, LoadFromAssetUuidJob, LoadFromJob, LoadMediaStreamJob, type LocalAuth, type Mask, type MediaStreamSource, type Model, type ModelCreate, type ModelExport, ModelExportStatus, ModelFormat, type ModelMetrics, ModelPrecisionType, type ModelSample, ModelStatus, ModelTask, type ModelTrainingProgress, ModelTrainingStage, ModelType, type ModelUpdate, type MotionDetectConfig, MotionModel, type OAuth2Auth, type OnChangeEvent, type Options, type PathSource, type PlatformSupport, type Point2d, type Point3d, type Pop, type PopComponent, PopComponentType, type PopCrop, type PopForward, type PopForwardOperator, type PredictedClass, type PredictedKeyPoint, type PredictedKeyPoints, type PredictedMesh, type PredictedMotion, type PredictedObject, type PredictedText, type Prediction, PredictionVersion, type ProcessParams, type ProcessRequest, type QcAiHubExportParams, type RectangleArea, type ResultStream, type Roi, Semaphore, type Session, type SessionAuth, SessionStatus, type Source, Stream, type StreamEvent, type StreamSource, type StreamTime, type TimeSpan, type TrackingComponent, TranscodeMode, type TransformInto, TransientPopId, UploadJob, type UrlSource, UserReview, VideoMode, type VlmAbility, type VlmAbilityCreate, type VlmAbilityGroup, type VlmAbilityGroupCreate, type VlmAbilityGroupUpdate, VlmAbilityStatus, type VlmAbilityUpdate, WebrtcBase, WebrtcWhep, WebrtcWhip, WorkerEndpoint, type WorkerOptions, type WorkerSession, type Workflow, WorkflowPhase, EyePop as default, getBaseUrl, readableStreamFromString };
1403
+ export { type AbilityAliasEntry, AbstractJob, type AliasResolution, type Annotation, AnnotationInclusionMode, AnnotationType, type ApiKeyAuth, type Area, AreaType, ArtifactType, type Asset, type AssetImport, AssetInclusionMode, AssetStatus, AssetUrlType, type AssetUuidSource, type Auth0Options, type Authentication, type AutoAnnotate, type AutoAnnotateParams, type AutoAnnotatePrompt, AutoAnnotateStatus, AutoAnnotateTask, type AutoPromptConfig, type AutoTask, type BaseArea, type BaseComponent, type BaseTask, type Box, type ChangeEvent, ChangeType, type ClassificationTask, type ComponentFinderComponent, type ComponentParams, type Contour, type ContourArea, type ContourFinderComponent, ContourType, type CreateWorkflow, type CreateWorkflowConfig, DEFAULT_PREDICTION_VERSION, DataApiType, DataEndpoint, type DataOptions, type DataSession, type Dataset, type DatasetAutoAnnotate, type DatasetAutoAnnotateCreate, type DatasetAutoAnnotateUpdate, type DatasetCreate, type DatasetHeroAssetUpdate, type DatasetParent, type DatasetUpdate, type DatasetVersion, type DatasetVersionAssetStats, type DownloadResponse, Endpoint, EndpointState, type EvaluateConfig, type EvaluateFilter, type EvaluateRequest, type EvaluateResponse, type EvaluateRunInfo, EvaluationStatus, ExportedBy, EyePop, EyepopLineDecoder, type FileSource, type ForwardComponent, ForwardOperatorType, type HttpClient, type InferRequest, type InferRunInfo, type InferRuntimeConfig, type InferenceComponent, InferenceType, type ListWorkFlowItem, type ListWorkFlowItemMetadata, type ListWorkflowItemMetadataLabels, LoadFromAssetUuidJob, LoadFromJob, LoadMediaStreamJob, type LocalAuth, type Mask, type MediaStreamSource, type Model, type ModelCreate, type ModelExport, ModelExportStatus, ModelFormat, type ModelMetrics, ModelPrecisionType, type ModelSample, ModelStatus, ModelTask, type ModelTrainingProgress, ModelTrainingStage, ModelType, type ModelUpdate, type MotionDetectConfig, MotionModel, type OAuth2Auth, type OnChangeEvent, type Options, type PathSource, type PlatformSupport, type Point2d, type Point3d, type Pop, type PopComponent, PopComponentType, type PopCrop, type PopForward, type PopForwardOperator, type PredictedClass, type PredictedKeyPoint, type PredictedKeyPoints, type PredictedMesh, type PredictedMotion, type PredictedObject, type PredictedText, type Prediction, PredictionVersion, type ProcessParams, type ProcessRequest, type QcAiHubExportParams, type RectangleArea, type ResultStream, type Roi, Semaphore, type Session, type SessionAuth, SessionStatus, type Source, Stream, type StreamEvent, type StreamSource, type StreamTime, TaskType, type TimeSpan, type TrackingComponent, TranscodeMode, type TransformInto, TransientPopId, UploadJob, type UrlSource, UserReview, VideoMode, type VlmAbility, type VlmAbilityCreate, type VlmAbilityGroup, type VlmAbilityGroupCreate, type VlmAbilityGroupUpdate, VlmAbilityStatus, type VlmAbilityUpdate, WebrtcBase, WebrtcWhep, WebrtcWhip, WorkerEndpoint, type WorkerOptions, type WorkerSession, type Workflow, WorkflowPhase, EyePop as default, getBaseUrl, readableStreamFromString };
@@ -616,6 +616,19 @@ interface AutoPromptConfig {
616
616
  infer: InferRequest;
617
617
  evaluate: EvaluateConfig;
618
618
  }
619
+ declare enum TaskType {
620
+ classification = "classification"
621
+ }
622
+ interface BaseTask {
623
+ type: TaskType;
624
+ task_description?: string;
625
+ }
626
+ interface ClassificationTask extends BaseTask {
627
+ classes: string[];
628
+ dataset_uuid: string;
629
+ num_samples: number;
630
+ }
631
+ type AutoTask = ClassificationTask;
619
632
  declare enum VlmAbilityStatus {
620
633
  in_progress = "in_progress",
621
634
  draft = "draft",
@@ -657,19 +670,21 @@ interface VlmAbility {
657
670
  name: string;
658
671
  description: string;
659
672
  vlm_ability_group_uuid?: string;
660
- worker_release: string;
661
- text_prompt: string;
662
- transform_into: TransformInto;
663
- config: InferRuntimeConfig;
673
+ worker_release?: string;
674
+ text_prompt?: string;
675
+ transform_into?: TransformInto;
676
+ config?: InferRuntimeConfig;
664
677
  video_chunk_length_ns?: number;
665
678
  video_chunk_overlap?: number;
666
679
  alias_entries?: AbilityAliasEntry[];
667
680
  auto_prompt?: AutoPromptConfig;
681
+ auto_task?: AutoTask;
668
682
  }
669
683
  interface VlmAbilityGroupCreate {
670
684
  name: string;
671
685
  description: string;
672
686
  auto_prompt?: AutoPromptConfig;
687
+ auto_task?: AutoTask;
673
688
  default_alias_name?: string;
674
689
  default_dataset_uuid?: string;
675
690
  }
@@ -872,6 +887,7 @@ interface ProcessParams {
872
887
  componentParams?: ComponentParams[] | undefined;
873
888
  motionDetect?: MotionDetectConfig | undefined;
874
889
  roi?: Area | undefined;
890
+ fps?: string | undefined;
875
891
  }
876
892
  interface ProcessRequest extends ProcessParams {
877
893
  source: Source;
@@ -1226,7 +1242,7 @@ declare class DataEndpoint extends Endpoint<DataEndpoint> {
1226
1242
  getVlmAbility(vlm_ability_uuid: string): Promise<VlmAbility>;
1227
1243
  deleteVlmAbility(vlm_ability_uuid: string): Promise<void>;
1228
1244
  updateVlmAbility(vlm_ability_uuid: string, update: VlmAbilityUpdate): Promise<VlmAbility>;
1229
- refineVlmAbility(vlm_ability_uuid: string, auto_prompt: AutoPromptConfig): Promise<VlmAbility>;
1245
+ refineVlmAbility(vlm_ability_uuid: string, auto_prompt: AutoPromptConfig | undefined, auto_task?: AutoTask | undefined): Promise<VlmAbility>;
1230
1246
  cloneVlmAbility(vlm_ability_uuid: string, account_uuid?: string, name?: string, default_alias_name?: string): Promise<VlmAbility>;
1231
1247
  publishVlmAbility(vlm_ability_uuid: string, alias_name?: string, tag_name?: string): Promise<VlmAbility>;
1232
1248
  addVlmAbilityAlias(vlm_ability_uuid: string, alias_name: string, tag_name?: string): Promise<VlmAbility>;
@@ -1234,7 +1250,7 @@ declare class DataEndpoint extends Endpoint<DataEndpoint> {
1234
1250
  listVlmAbilityEvaluations(vlm_ability_uuid: string): Promise<DatasetAutoAnnotate[]>;
1235
1251
  getVlmAbilityEvaluation(vlm_ability_uuid: string, source: string): Promise<DatasetAutoAnnotate>;
1236
1252
  startVlmAbilityEvaluation(vlm_ability_uuid: string, evaluate_request: EvaluateRequest): Promise<DatasetAutoAnnotate>;
1237
- resolveAliases(aliases: string[]): Promise<AliasResolution>;
1253
+ resolveAliases(aliases: string[]): Promise<AliasResolution[]>;
1238
1254
  }
1239
1255
 
1240
1256
  type Bytes = string | ArrayBuffer | Uint8Array | Buffer | null | undefined;
@@ -1384,4 +1400,4 @@ declare namespace EyePop {
1384
1400
  function dataEndpoint(opts?: DataOptions): DataEndpoint;
1385
1401
  }
1386
1402
 
1387
- export { type AbilityAliasEntry, AbstractJob, type AliasResolution, type Annotation, AnnotationInclusionMode, AnnotationType, type ApiKeyAuth, type Area, AreaType, ArtifactType, type Asset, type AssetImport, AssetInclusionMode, AssetStatus, AssetUrlType, type AssetUuidSource, type Auth0Options, type Authentication, type AutoAnnotate, type AutoAnnotateParams, type AutoAnnotatePrompt, AutoAnnotateStatus, AutoAnnotateTask, type AutoPromptConfig, type BaseArea, type BaseComponent, type Box, type ChangeEvent, ChangeType, type ComponentFinderComponent, type ComponentParams, type Contour, type ContourArea, type ContourFinderComponent, ContourType, type CreateWorkflow, type CreateWorkflowConfig, DEFAULT_PREDICTION_VERSION, DataApiType, DataEndpoint, type DataOptions, type DataSession, type Dataset, type DatasetAutoAnnotate, type DatasetAutoAnnotateCreate, type DatasetAutoAnnotateUpdate, type DatasetCreate, type DatasetHeroAssetUpdate, type DatasetParent, type DatasetUpdate, type DatasetVersion, type DatasetVersionAssetStats, type DownloadResponse, Endpoint, EndpointState, type EvaluateConfig, type EvaluateFilter, type EvaluateRequest, type EvaluateResponse, type EvaluateRunInfo, EvaluationStatus, ExportedBy, EyePop, EyepopLineDecoder, type FileSource, type ForwardComponent, ForwardOperatorType, type HttpClient, type InferRequest, type InferRunInfo, type InferRuntimeConfig, type InferenceComponent, InferenceType, type ListWorkFlowItem, type ListWorkFlowItemMetadata, type ListWorkflowItemMetadataLabels, LoadFromAssetUuidJob, LoadFromJob, LoadMediaStreamJob, type LocalAuth, type Mask, type MediaStreamSource, type Model, type ModelCreate, type ModelExport, ModelExportStatus, ModelFormat, type ModelMetrics, ModelPrecisionType, type ModelSample, ModelStatus, ModelTask, type ModelTrainingProgress, ModelTrainingStage, ModelType, type ModelUpdate, type MotionDetectConfig, MotionModel, type OAuth2Auth, type OnChangeEvent, type Options, type PathSource, type PlatformSupport, type Point2d, type Point3d, type Pop, type PopComponent, PopComponentType, type PopCrop, type PopForward, type PopForwardOperator, type PredictedClass, type PredictedKeyPoint, type PredictedKeyPoints, type PredictedMesh, type PredictedMotion, type PredictedObject, type PredictedText, type Prediction, PredictionVersion, type ProcessParams, type ProcessRequest, type QcAiHubExportParams, type RectangleArea, type ResultStream, type Roi, Semaphore, type Session, type SessionAuth, SessionStatus, type Source, Stream, type StreamEvent, type StreamSource, type StreamTime, type TimeSpan, type TrackingComponent, TranscodeMode, type TransformInto, TransientPopId, UploadJob, type UrlSource, UserReview, VideoMode, type VlmAbility, type VlmAbilityCreate, type VlmAbilityGroup, type VlmAbilityGroupCreate, type VlmAbilityGroupUpdate, VlmAbilityStatus, type VlmAbilityUpdate, WebrtcBase, WebrtcWhep, WebrtcWhip, WorkerEndpoint, type WorkerOptions, type WorkerSession, type Workflow, WorkflowPhase, EyePop as default, getBaseUrl, readableStreamFromString };
1403
+ export { type AbilityAliasEntry, AbstractJob, type AliasResolution, type Annotation, AnnotationInclusionMode, AnnotationType, type ApiKeyAuth, type Area, AreaType, ArtifactType, type Asset, type AssetImport, AssetInclusionMode, AssetStatus, AssetUrlType, type AssetUuidSource, type Auth0Options, type Authentication, type AutoAnnotate, type AutoAnnotateParams, type AutoAnnotatePrompt, AutoAnnotateStatus, AutoAnnotateTask, type AutoPromptConfig, type AutoTask, type BaseArea, type BaseComponent, type BaseTask, type Box, type ChangeEvent, ChangeType, type ClassificationTask, type ComponentFinderComponent, type ComponentParams, type Contour, type ContourArea, type ContourFinderComponent, ContourType, type CreateWorkflow, type CreateWorkflowConfig, DEFAULT_PREDICTION_VERSION, DataApiType, DataEndpoint, type DataOptions, type DataSession, type Dataset, type DatasetAutoAnnotate, type DatasetAutoAnnotateCreate, type DatasetAutoAnnotateUpdate, type DatasetCreate, type DatasetHeroAssetUpdate, type DatasetParent, type DatasetUpdate, type DatasetVersion, type DatasetVersionAssetStats, type DownloadResponse, Endpoint, EndpointState, type EvaluateConfig, type EvaluateFilter, type EvaluateRequest, type EvaluateResponse, type EvaluateRunInfo, EvaluationStatus, ExportedBy, EyePop, EyepopLineDecoder, type FileSource, type ForwardComponent, ForwardOperatorType, type HttpClient, type InferRequest, type InferRunInfo, type InferRuntimeConfig, type InferenceComponent, InferenceType, type ListWorkFlowItem, type ListWorkFlowItemMetadata, type ListWorkflowItemMetadataLabels, LoadFromAssetUuidJob, LoadFromJob, LoadMediaStreamJob, type LocalAuth, type Mask, type MediaStreamSource, type Model, type ModelCreate, type ModelExport, ModelExportStatus, ModelFormat, type ModelMetrics, ModelPrecisionType, type ModelSample, ModelStatus, ModelTask, type ModelTrainingProgress, ModelTrainingStage, ModelType, type ModelUpdate, type MotionDetectConfig, MotionModel, type OAuth2Auth, type OnChangeEvent, type Options, type PathSource, type PlatformSupport, type Point2d, type Point3d, type Pop, type PopComponent, PopComponentType, type PopCrop, type PopForward, type PopForwardOperator, type PredictedClass, type PredictedKeyPoint, type PredictedKeyPoints, type PredictedMesh, type PredictedMotion, type PredictedObject, type PredictedText, type Prediction, PredictionVersion, type ProcessParams, type ProcessRequest, type QcAiHubExportParams, type RectangleArea, type ResultStream, type Roi, Semaphore, type Session, type SessionAuth, SessionStatus, type Source, Stream, type StreamEvent, type StreamSource, type StreamTime, TaskType, type TimeSpan, type TrackingComponent, TranscodeMode, type TransformInto, TransientPopId, UploadJob, type UrlSource, UserReview, VideoMode, type VlmAbility, type VlmAbilityCreate, type VlmAbilityGroup, type VlmAbilityGroupCreate, type VlmAbilityGroupUpdate, VlmAbilityStatus, type VlmAbilityUpdate, WebrtcBase, WebrtcWhep, WebrtcWhip, WorkerEndpoint, type WorkerOptions, type WorkerSession, type Workflow, WorkflowPhase, EyePop as default, getBaseUrl, readableStreamFromString };
@@ -8695,6 +8695,7 @@ __export(index_exports, {
8695
8695
  Semaphore: () => Semaphore,
8696
8696
  SessionStatus: () => SessionStatus,
8697
8697
  Stream: () => Stream,
8698
+ TaskType: () => TaskType,
8698
8699
  TranscodeMode: () => TranscodeMode,
8699
8700
  TransientPopId: () => TransientPopId,
8700
8701
  UploadJob: () => UploadJob,
@@ -9455,6 +9456,10 @@ var UploadJob = class extends AbstractJob {
9455
9456
  const blob = new Blob([JSON.stringify(this._params.roi)], { type: "application/json" });
9456
9457
  formData.append("roi", blob);
9457
9458
  }
9459
+ if (this._params.fps) {
9460
+ const blob = new Blob([JSON.stringify(this._params.fps)], { type: "application/json" });
9461
+ formData.append("fps", blob);
9462
+ }
9458
9463
  const fileBlob = await new Response(this._uploadStream).blob();
9459
9464
  formData.append("file", fileBlob);
9460
9465
  const headers = {
@@ -9546,6 +9551,10 @@ var UploadJob = class extends AbstractJob {
9546
9551
  const blob = new Blob([JSON.stringify(this._params.roi)], { type: "application/json" });
9547
9552
  formData.append("roi", blob);
9548
9553
  }
9554
+ if (this._params.fps) {
9555
+ const blob = new Blob([JSON.stringify(this._params.fps)], { type: "application/json" });
9556
+ formData.append("fps", blob);
9557
+ }
9549
9558
  const fileBlob = await new Response(this._uploadStream).blob();
9550
9559
  formData.append("file", fileBlob);
9551
9560
  const headers = {
@@ -9601,6 +9610,7 @@ var LoadFromJob = class extends AbstractJob {
9601
9610
  url: this._location,
9602
9611
  params: this._params.componentParams,
9603
9612
  roi: this._params.roi,
9613
+ fps: this._params.fps,
9604
9614
  version: this._version
9605
9615
  };
9606
9616
  if (this._params.motionDetect) {
@@ -9640,6 +9650,7 @@ var LoadFromAssetUuidJob = class extends AbstractJob {
9640
9650
  assetUuid: this._assetUuid,
9641
9651
  params: this._params.componentParams,
9642
9652
  roi: this._params.roi,
9653
+ fps: this._params.fps,
9643
9654
  version: this._version
9644
9655
  };
9645
9656
  if (this._params.motionDetect) {
@@ -9693,6 +9704,7 @@ var LoadMediaStreamJob = class extends AbstractJob {
9693
9704
  whipIngressId: whip.ingressId(),
9694
9705
  params: this._params.componentParams,
9695
9706
  roi: this._params.roi,
9707
+ fps: this._params.fps,
9696
9708
  version: this._version
9697
9709
  };
9698
9710
  if (this._params.motionDetect) {
@@ -11062,6 +11074,10 @@ var EvaluationStatus = /* @__PURE__ */ ((EvaluationStatus2) => {
11062
11074
  EvaluationStatus2["failed"] = "failed";
11063
11075
  return EvaluationStatus2;
11064
11076
  })(EvaluationStatus || {});
11077
+ var TaskType = /* @__PURE__ */ ((TaskType2) => {
11078
+ TaskType2["classification"] = "classification";
11079
+ return TaskType2;
11080
+ })(TaskType || {});
11065
11081
  var VlmAbilityStatus = /* @__PURE__ */ ((VlmAbilityStatus2) => {
11066
11082
  VlmAbilityStatus2["in_progress"] = "in_progress";
11067
11083
  VlmAbilityStatus2["draft"] = "draft";
@@ -11972,12 +11988,22 @@ var DataEndpoint = class extends Endpoint {
11972
11988
  headers: { "Content-Type": "application/json" }
11973
11989
  });
11974
11990
  }
11975
- async refineVlmAbility(vlm_ability_uuid, auto_prompt) {
11976
- return this.request(`/vlm_abilities/${vlm_ability_uuid}/refine`, {
11977
- method: "POST",
11978
- body: JSON.stringify(auto_prompt, omit_nulls),
11979
- headers: { "Content-Type": "application/json" }
11980
- });
11991
+ async refineVlmAbility(vlm_ability_uuid, auto_prompt, auto_task) {
11992
+ if (auto_prompt !== void 0) {
11993
+ return this.request(`/vlm_abilities/${vlm_ability_uuid}/refine`, {
11994
+ method: "POST",
11995
+ body: JSON.stringify(auto_prompt, omit_nulls),
11996
+ headers: { "Content-Type": "application/json" }
11997
+ });
11998
+ } else if (auto_task !== void 0) {
11999
+ return this.request(`/vlm_abilities/${vlm_ability_uuid}/refine_task`, {
12000
+ method: "POST",
12001
+ body: JSON.stringify(auto_task, omit_nulls),
12002
+ headers: { "Content-Type": "application/json" }
12003
+ });
12004
+ } else {
12005
+ return Promise.reject("refine vlm ability requires auto_prompt or auto_config parameter");
12006
+ }
11981
12007
  }
11982
12008
  async cloneVlmAbility(vlm_ability_uuid, account_uuid, name, default_alias_name) {
11983
12009
  const params = new URLSearchParams();
@@ -12283,6 +12309,7 @@ var index_default = EyePop;
12283
12309
  Semaphore,
12284
12310
  SessionStatus,
12285
12311
  Stream,
12312
+ TaskType,
12286
12313
  TranscodeMode,
12287
12314
  TransientPopId,
12288
12315
  UploadJob,