edge-impulse-api 1.95.26 → 1.95.27

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.
@@ -25,4 +25,12 @@ export type CreateImpulseRequest = {
25
25
  */
26
26
  postProcessingBlocks?: ImpulsePostProcessingBlock[];
27
27
  type?: ImpulseType;
28
+ /**
29
+ * EXPERIMENTAL. Lock an impulse to an immutable snapshot of a dataset. Feature generation, model training, and
30
+ * deployment from this impulse will always use that snapshot, ensuring reproducible results. If omitted, your
31
+ * current mutable dataset is used instead which doesn't provide the same reproducibility guarantees. This property
32
+ * is experimental, is only supported when the dataset versioning experiment is enabled, and may change in the
33
+ * future.
34
+ */
35
+ datasetVersionId?: number;
28
36
  };
@@ -1,4 +1,5 @@
1
1
  import type { CreatedUpdatedByUser } from './createdUpdatedByUser';
2
+ import type { DatasetVersion } from './datasetVersion';
2
3
  import type { DeploymentTargetEngine } from './deploymentTargetEngine';
3
4
  import type { KerasModelTypeEnum } from './kerasModelTypeEnum';
4
5
  import type { ProjectDeploymentTarget } from './projectDeploymentTarget';
@@ -26,4 +27,5 @@ export type DeploymentHistory = {
26
27
  * If set, then this deployment was created by an anonymous user through buildPublicDeploymentJob.
27
28
  */
28
29
  createdByBuildPublicDeploymentJob: boolean;
30
+ datasetVersion?: DatasetVersion;
29
31
  };
@@ -4,6 +4,7 @@ import type { AnomalyModelMetadata } from './anomalyModelMetadata';
4
4
  import type { CreatedUpdatedByUser } from './createdUpdatedByUser';
5
5
  import type { DSPConfig } from './dSPConfig';
6
6
  import type { DSPMetadata } from './dSPMetadata';
7
+ import type { DatasetVersion } from './datasetVersion';
7
8
  import type { DetailedImpulseMetric } from './detailedImpulseMetric';
8
9
  import type { Impulse } from './impulse';
9
10
  import type { KerasConfig } from './kerasConfig';
@@ -57,4 +58,5 @@ export type DetailedImpulse = {
57
58
  */
58
59
  createdFromTunerTrialId?: number;
59
60
  createdByUser?: CreatedUpdatedByUser;
61
+ datasetVersion?: DatasetVersion;
60
62
  };
@@ -29,4 +29,10 @@ export type Impulse = {
29
29
  */
30
30
  postProcessingBlocks: ImpulsePostProcessingBlock[];
31
31
  type: ImpulseType;
32
+ /**
33
+ * EXPERIMENTAL. The dataset snapshot used in the impulse. Feature generation, model training, and deployment from
34
+ * this impulse will always use that snapshot, ensuring reproducible results. This property is experimental, is only
35
+ * supported when the dataset versioning experiment is enabled, and may change in the future.
36
+ */
37
+ datasetVersionId?: number;
32
38
  };
@@ -11,4 +11,10 @@ import type { DeployPretrainedModelModelVisualAnomaly } from './deployPretrained
11
11
  export type SavePretrainedModelRequest = {
12
12
  input: DeployPretrainedModelInputTimeSeries | DeployPretrainedModelInputAudio | DeployPretrainedModelInputImage | DeployPretrainedModelInputOther;
13
13
  model: DeployPretrainedModelModelClassification | DeployPretrainedModelModelRegression | DeployPretrainedModelModelObjectDetection | DeployPretrainedModelModelFreeform | DeployPretrainedModelModelAnomaly | DeployPretrainedModelModelVisualAnomaly;
14
+ /**
15
+ * EXPERIMENTAL. Test your pretrained model against an immutable dataset snapshot when supplied, or omit to use your
16
+ * current mutable dataset instead. This property is supported only when the dataset versioning experiment is enabled
17
+ * and may change in the future.
18
+ */
19
+ datasetVersionId?: number;
14
20
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "edge-impulse-api",
3
- "version": "1.95.26",
3
+ "version": "1.95.27",
4
4
  "description": "Node.js bindings for the Edge Impulse API",
5
5
  "scripts": {
6
6
  "build": "npm run build:node && node bundler/build-browser-bundle.js",