edge-impulse-api 1.93.14 → 1.93.16

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.
@@ -11395,7 +11395,7 @@ export class VlmApi {
11395
11395
  headers: {
11396
11396
  [name: string]: string;
11397
11397
  };
11398
- }): Promise<StartJobResponse>;
11398
+ }): Promise<StartVlmInferenceJobResponse>;
11399
11399
  /**
11400
11400
  * Initializes the inference worker, speeding it up for subsequent requests.
11401
11401
  * @summary Warm up a given VLM model
@@ -26060,6 +26060,20 @@ export type StartTrainingRequestAnomaly = {
26060
26060
  };
26061
26061
 
26062
26062
 
26063
+ export type StartVlmInferenceJobResponse = {
26064
+ /**
26065
+ * Whether the operation succeeded
26066
+ */
26067
+ success: boolean;
26068
+ /**
26069
+ * Optional error description (set if 'success' was false)
26070
+ */
26071
+ error?: string;
26072
+ jobId: number;
26073
+ configId: number;
26074
+ };
26075
+
26076
+
26063
26077
  export type StopDeviceDebugStreamRequest = {
26064
26078
  streamId: number;
26065
26079
  };
@@ -28262,11 +28276,11 @@ export type VlmInferenceResults = {
28262
28276
  export type VlmInferenceResultsResults = {
28263
28277
  sample: Sample;
28264
28278
  /**
28265
- * Classification results for the sample
28279
+ * Classification results for the sample, or null for pending results.
28266
28280
  */
28267
28281
  result: {
28268
28282
  [key: string]: number;
28269
- };
28283
+ } | null;
28270
28284
  };
28271
28285
 
28272
28286
 
@@ -56408,7 +56408,7 @@ class VlmApi {
56408
56408
  url = authDefault.url;
56409
56409
  (0, models_1.applyFormParams)(requestOptions, localVarFormParams);
56410
56410
  const response = await fetch(url, requestOptions);
56411
- return this.handleResponse(response, 'StartJobResponse');
56411
+ return this.handleResponse(response, 'StartVlmInferenceJobResponse');
56412
56412
  }
56413
56413
  /**
56414
56414
  * Initializes the inference worker, speeding it up for subsequent requests.
@@ -61476,6 +61476,7 @@ __exportStar(require("./startSamplingRequest"), exports);
61476
61476
  __exportStar(require("./startSamplingResponse"), exports);
61477
61477
  __exportStar(require("./startTensorBoardSessionRequest"), exports);
61478
61478
  __exportStar(require("./startTrainingRequestAnomaly"), exports);
61479
+ __exportStar(require("./startVlmInferenceJobResponse"), exports);
61479
61480
  __exportStar(require("./stopDeviceDebugStreamRequest"), exports);
61480
61481
  __exportStar(require("./storageProvider"), exports);
61481
61482
  __exportStar(require("./storeInferenceHistoryRequest"), exports);
@@ -63441,6 +63442,13 @@ Object.defineProperty(exports, "__esModule", { value: true });
63441
63442
  });
63442
63443
 
63443
63444
 
63445
+ define("library/sdk/model/startVlmInferenceJobResponse", ["require", "exports"], function (require, exports) {
63446
+ "use strict";
63447
+ // Generated by studio/openapi/generate-models/convert.ts
63448
+ Object.defineProperty(exports, "__esModule", { value: true });
63449
+ });
63450
+
63451
+
63444
63452
  define("library/sdk/model/stopDeviceDebugStreamRequest", ["require", "exports"], function (require, exports) {
63445
63453
  "use strict";
63446
63454
  // Generated by studio/openapi/generate-models/convert.ts