@eyepop.ai/eyepop 3.10.0 → 3.12.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.
@@ -11507,6 +11507,22 @@ var DataEndpoint = class extends Endpoint {
11507
11507
  headers: auto_annotate_params ? { "Content-Type": "application/json" } : {}
11508
11508
  });
11509
11509
  }
11510
+ async addAssetRoi(asset_uuid, roi, dataset_uuid, dataset_version, predictions) {
11511
+ const versionQuery = dataset_version ? `&dataset_version=${dataset_version}` : "";
11512
+ const datasetQuery = dataset_uuid ? `&dataset_uuid=${dataset_uuid}` : "";
11513
+ return this.request(`/assets/${asset_uuid}/rois?${datasetQuery}${versionQuery}`, {
11514
+ method: "POST",
11515
+ body: JSON.stringify(roi),
11516
+ headers: { "Content-Type": "application/json" }
11517
+ });
11518
+ }
11519
+ async deleteAssetRoi(asset_uuid, name, dataset_uuid, dataset_version) {
11520
+ const versionQuery = dataset_version ? `&dataset_version=${dataset_version}` : "";
11521
+ const datasetQuery = dataset_uuid ? `&dataset_uuid=${dataset_uuid}` : "";
11522
+ return this.request(`/assets/${asset_uuid}/rois/${encodeURIComponent(name)}?${datasetQuery}${versionQuery}`, {
11523
+ method: "DELETE"
11524
+ });
11525
+ }
11510
11526
  // Model methods
11511
11527
  async listModels() {
11512
11528
  return this.request(`/models?account_uuid=${this._accountId}`, {
@@ -11824,6 +11840,23 @@ var DataEndpoint = class extends Endpoint {
11824
11840
  method: "DELETE"
11825
11841
  });
11826
11842
  }
11843
+ async listVlmAbilityEvaluations(vlm_ability_uuid) {
11844
+ return this.request(`/vlm_abilities/${vlm_ability_uuid}/evaluations`, {
11845
+ method: "GET"
11846
+ });
11847
+ }
11848
+ async getVlmAbilityEvaluation(vlm_ability_uuid, source) {
11849
+ return this.request(`/vlm_abilities/${vlm_ability_uuid}/evaluations/${source}`, {
11850
+ method: "GET"
11851
+ });
11852
+ }
11853
+ async startVlmAbilityEvaluation(vlm_ability_uuid, evaluate_request) {
11854
+ return this.request(`/vlm_abilities/${vlm_ability_uuid}/evaluations`, {
11855
+ method: "POST",
11856
+ body: JSON.stringify(evaluate_request),
11857
+ headers: { "Content-Type": "application/json" }
11858
+ });
11859
+ }
11827
11860
  };
11828
11861
 
11829
11862
  // worker/webrtc_whep.ts