edge-impulse-api 1.94.2 → 1.94.3

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.
@@ -16515,6 +16515,25 @@ export type ClassifySampleResponseClassification = {
16515
16515
  * Frequency of the windows in "expectedLabels"
16516
16516
  */
16517
16517
  frequencyHz: number;
16518
+ /**
16519
+ * Structured classification results, one item per window
16520
+ */
16521
+ labelMapResult?: {
16522
+ [key: string]: string;
16523
+ }[];
16524
+ /**
16525
+ * Structured classification scores, one item per window
16526
+ */
16527
+ labelMapScores?: {
16528
+ [key: string]: {
16529
+ [key: string]: number;
16530
+ };
16531
+ }[];
16532
+ /**
16533
+ * Number of classification result windows for this block. For structured outputs this can be greater than the length
16534
+ * of "result".
16535
+ */
16536
+ resultCount: number;
16518
16537
  };
16519
16538
 
16520
16539
 
@@ -31249,8 +31268,19 @@ export type VlmCandidateLabelItem = {
31249
31268
 
31250
31269
  export type VlmCandidateLabelMap = {
31251
31270
  version: number;
31252
- data: VlmCandidateLabelsSingle;
31271
+ data: VlmCandidateLabelsSingle | VlmCandidateLabelsMulti;
31272
+ };
31273
+
31274
+
31275
+ export type VlmCandidateLabelsMulti = {
31276
+ type: VlmCandidateLabelsMultiTypeEnum;
31277
+ candidateLabels: {
31278
+ key: string;
31279
+ labels: VlmCandidateLabelItem[];
31280
+ }[];
31253
31281
  };
31282
+ export type VlmCandidateLabelsMultiTypeEnum = 'multi';
31283
+ export const VlmCandidateLabelsMultiTypeEnumValues: string[];
31254
31284
 
31255
31285
 
31256
31286
  export type VlmCandidateLabelsSingle = {
@@ -31403,6 +31433,12 @@ export type VlmPromptComponent = {
31403
31433
  * The text content of the prompt.
31404
31434
  */
31405
31435
  text: string;
31436
+ promptType?: VlmPromptType;
31437
+ /**
31438
+ * Which JSON property to store the result in
31439
+ */
31440
+ responseKey?: string;
31441
+ responseOptions?: string[];
31406
31442
  };
31407
31443
 
31408
31444
 
@@ -31429,6 +31465,10 @@ export type VlmPromptMode = 'single' | 'multi';
31429
31465
  export const VlmPromptModeValues: string[];
31430
31466
 
31431
31467
 
31468
+ export type VlmPromptType = 'context' | 'freeText' | 'multipleChoice';
31469
+ export const VlmPromptTypeValues: string[];
31470
+
31471
+
31432
31472
  /**
31433
31473
  * Classification results for the sample
31434
31474
  */
@@ -69469,6 +69469,7 @@ __exportStar(require("./verifyResetPasswordRequest"), exports);
69469
69469
  __exportStar(require("./verifySignupApprovalResponse"), exports);
69470
69470
  __exportStar(require("./vlmCandidateLabelItem"), exports);
69471
69471
  __exportStar(require("./vlmCandidateLabelMap"), exports);
69472
+ __exportStar(require("./vlmCandidateLabelsMulti"), exports);
69472
69473
  __exportStar(require("./vlmCandidateLabelsSingle"), exports);
69473
69474
  __exportStar(require("./vlmConfigResponse"), exports);
69474
69475
  __exportStar(require("./vlmConfiguration"), exports);
@@ -69488,6 +69489,7 @@ __exportStar(require("./vlmPromptComponentConfig"), exports);
69488
69489
  __exportStar(require("./vlmPromptConfigParamItem"), exports);
69489
69490
  __exportStar(require("./vlmPromptConfigParameters"), exports);
69490
69491
  __exportStar(require("./vlmPromptMode"), exports);
69492
+ __exportStar(require("./vlmPromptType"), exports);
69491
69493
  __exportStar(require("./vlmResult"), exports);
69492
69494
  __exportStar(require("./vlmResultType"), exports);
69493
69495
  __exportStar(require("./vlmSetConfigResponse"), exports);
@@ -72187,6 +72189,15 @@ Object.defineProperty(exports, "__esModule", { value: true });
72187
72189
  });
72188
72190
 
72189
72191
 
72192
+ define("library/sdk/model/vlmCandidateLabelsMulti", ["require", "exports"], function (require, exports) {
72193
+ "use strict";
72194
+ // Generated by studio/openapi/generate-models/convert.ts
72195
+ Object.defineProperty(exports, "__esModule", { value: true });
72196
+ exports.VlmCandidateLabelsMultiTypeEnumValues = void 0;
72197
+ exports.VlmCandidateLabelsMultiTypeEnumValues = ['multi'];
72198
+ });
72199
+
72200
+
72190
72201
  define("library/sdk/model/vlmCandidateLabelsSingle", ["require", "exports"], function (require, exports) {
72191
72202
  "use strict";
72192
72203
  // Generated by studio/openapi/generate-models/convert.ts
@@ -72326,6 +72337,15 @@ exports.VlmPromptModeValues = ['single', 'multi'];
72326
72337
  });
72327
72338
 
72328
72339
 
72340
+ define("library/sdk/model/vlmPromptType", ["require", "exports"], function (require, exports) {
72341
+ "use strict";
72342
+ // Generated by studio/openapi/generate-models/convert.ts
72343
+ Object.defineProperty(exports, "__esModule", { value: true });
72344
+ exports.VlmPromptTypeValues = void 0;
72345
+ exports.VlmPromptTypeValues = ['context', 'freeText', 'multipleChoice'];
72346
+ });
72347
+
72348
+
72329
72349
  define("library/sdk/model/vlmResult", ["require", "exports"], function (require, exports) {
72330
72350
  "use strict";
72331
72351
  // Generated by studio/openapi/generate-models/convert.ts