openpond-sdk 0.12.20 → 0.12.21
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.
- package/OPENTELEMETRY.md +85 -0
- package/README.md +4 -0
- package/TASK_INGESTION.md +135 -0
- package/dist/advanced-refiner-evaluations.js +2 -2
- package/dist/{chunk-RN5MK7NH.js → chunk-6EZAGTZG.js} +4 -4
- package/dist/{chunk-3MDNVNBM.js → chunk-BNBPKCIR.js} +6 -6
- package/dist/chunk-NZRGRUYG.js +140 -0
- package/dist/chunk-NZRGRUYG.js.map +1 -0
- package/dist/{chunk-RT7SQHO4.js → chunk-SP7DQEQM.js} +2 -2
- package/dist/connected-evidence.js +3 -3
- package/dist/dataset-workspaces.js +125 -36
- package/dist/dataset-workspaces.js.map +1 -1
- package/dist/experiment-evaluation-schedules.js +5 -5
- package/dist/experiments.js +5 -5
- package/dist/index.js +51 -36
- package/dist/index.js.map +1 -1
- package/dist/opentelemetry.js +92 -0
- package/dist/opentelemetry.js.map +1 -0
- package/dist/taskset-drafts.js +1 -1
- package/dist/taskset-packages.js +13 -13
- package/dist/training-bundle.js +10 -10
- package/dist/training.js +8 -8
- package/dist/types/packages/sdk/src/dataset-task-ingestion.d.ts +86 -0
- package/dist/types/packages/sdk/src/dataset-task-ingestion.d.ts.map +1 -0
- package/dist/types/packages/sdk/src/dataset-workspace-client.d.ts +152 -140
- package/dist/types/packages/sdk/src/dataset-workspace-client.d.ts.map +1 -1
- package/dist/types/packages/sdk/src/dataset-workspaces.d.ts +1 -0
- package/dist/types/packages/sdk/src/dataset-workspaces.d.ts.map +1 -1
- package/dist/types/packages/sdk/src/experiment-client.d.ts +77 -77
- package/dist/types/packages/sdk/src/experiment-evaluation-schedules.d.ts +216 -216
- package/dist/types/packages/sdk/src/index.d.ts +4 -0
- package/dist/types/packages/sdk/src/index.d.ts.map +1 -1
- package/dist/types/packages/sdk/src/managed-decision-executions.d.ts +339 -339
- package/dist/types/packages/sdk/src/model-taskset-runs.d.ts +216 -216
- package/dist/types/packages/sdk/src/opentelemetry.d.ts +39 -0
- package/dist/types/packages/sdk/src/opentelemetry.d.ts.map +1 -0
- package/dist/types/packages/sdk/src/taskset-draft-client.d.ts +120 -120
- package/dist/types/packages/sdk/src/taskset-draft-source.d.ts +20 -20
- package/dist/types/packages/sdk/src/training-qualification-preparation.d.ts +25 -25
- package/dist/types/packages/sdk/src/training.d.ts +4465 -4465
- package/dist/types/packages/sdk/src/types.d.ts +2 -0
- package/dist/types/packages/sdk/src/types.d.ts.map +1 -1
- package/fixtures/python-foundation/operation-matrix.json +17 -0
- package/fixtures/python-foundation/schemas.json +5941 -5001
- package/package.json +18 -3
- /package/dist/{chunk-RN5MK7NH.js.map → chunk-6EZAGTZG.js.map} +0 -0
- /package/dist/{chunk-3MDNVNBM.js.map → chunk-BNBPKCIR.js.map} +0 -0
- /package/dist/{chunk-RT7SQHO4.js.map → chunk-SP7DQEQM.js.map} +0 -0
|
@@ -4289,7 +4289,7 @@ export declare function parseAndVerifyManagedDecisionCompilation(raw: unknown, i
|
|
|
4289
4289
|
formHash: string;
|
|
4290
4290
|
inputHash: string;
|
|
4291
4291
|
request: {
|
|
4292
|
-
schemaVersion: "openpond.
|
|
4292
|
+
schemaVersion: "openpond.decisionScoringRequest.v1";
|
|
4293
4293
|
model: {
|
|
4294
4294
|
schemaVersion: "openpond.decisionModelIdentity.v1";
|
|
4295
4295
|
source: {
|
|
@@ -4367,31 +4367,48 @@ export declare function parseAndVerifyManagedDecisionCompilation(raw: unknown, i
|
|
|
4367
4367
|
};
|
|
4368
4368
|
contentHash: string;
|
|
4369
4369
|
};
|
|
4370
|
-
|
|
4371
|
-
|
|
4370
|
+
artifact: {
|
|
4371
|
+
id: string;
|
|
4372
|
+
contentHash: string;
|
|
4373
|
+
} | null;
|
|
4374
|
+
input: {
|
|
4375
|
+
state: Record<string, z.JSONType>;
|
|
4376
|
+
questions: ({
|
|
4372
4377
|
id: string;
|
|
4373
|
-
|
|
4374
|
-
|
|
4375
|
-
|
|
4376
|
-
|
|
4377
|
-
|
|
4378
|
+
description: string;
|
|
4379
|
+
type: "choice";
|
|
4380
|
+
choices: {
|
|
4381
|
+
value: string;
|
|
4382
|
+
description: string;
|
|
4383
|
+
}[];
|
|
4384
|
+
} | {
|
|
4385
|
+
id: string;
|
|
4386
|
+
description: string;
|
|
4387
|
+
type: "boolean";
|
|
4388
|
+
choices: [{
|
|
4389
|
+
value: false;
|
|
4390
|
+
description: string;
|
|
4391
|
+
}, {
|
|
4392
|
+
value: true;
|
|
4393
|
+
description: string;
|
|
4394
|
+
}];
|
|
4395
|
+
} | {
|
|
4396
|
+
id: string;
|
|
4397
|
+
description: string;
|
|
4398
|
+
type: "integer_levels";
|
|
4399
|
+
choices: {
|
|
4400
|
+
value: number;
|
|
4401
|
+
description: string;
|
|
4402
|
+
}[];
|
|
4403
|
+
})[];
|
|
4378
4404
|
};
|
|
4379
|
-
|
|
4380
|
-
learningRate: number;
|
|
4381
|
-
weightDecay: number;
|
|
4382
|
-
maxSteps: number;
|
|
4383
|
-
gradientAccumulationSteps: number;
|
|
4405
|
+
limits: {
|
|
4384
4406
|
maximumPromptTokens: number;
|
|
4385
|
-
|
|
4386
|
-
|
|
4387
|
-
maxCheckpointBytes: number;
|
|
4407
|
+
maximumForwardTokenWork: number;
|
|
4408
|
+
maximumDurationSeconds: number;
|
|
4388
4409
|
};
|
|
4389
|
-
parentArtifact: {
|
|
4390
|
-
id: string;
|
|
4391
|
-
contentHash: string;
|
|
4392
|
-
} | null;
|
|
4393
4410
|
} | {
|
|
4394
|
-
schemaVersion: "openpond.
|
|
4411
|
+
schemaVersion: "openpond.decisionTrainingRequest.v1";
|
|
4395
4412
|
model: {
|
|
4396
4413
|
schemaVersion: "openpond.decisionModelIdentity.v1";
|
|
4397
4414
|
source: {
|
|
@@ -4469,46 +4486,29 @@ export declare function parseAndVerifyManagedDecisionCompilation(raw: unknown, i
|
|
|
4469
4486
|
};
|
|
4470
4487
|
contentHash: string;
|
|
4471
4488
|
};
|
|
4472
|
-
|
|
4473
|
-
|
|
4474
|
-
contentHash: string;
|
|
4475
|
-
} | null;
|
|
4476
|
-
input: {
|
|
4477
|
-
state: Record<string, z.JSONType>;
|
|
4478
|
-
questions: ({
|
|
4479
|
-
id: string;
|
|
4480
|
-
description: string;
|
|
4481
|
-
type: "choice";
|
|
4482
|
-
choices: {
|
|
4483
|
-
value: string;
|
|
4484
|
-
description: string;
|
|
4485
|
-
}[];
|
|
4486
|
-
} | {
|
|
4487
|
-
id: string;
|
|
4488
|
-
description: string;
|
|
4489
|
-
type: "boolean";
|
|
4490
|
-
choices: [{
|
|
4491
|
-
value: false;
|
|
4492
|
-
description: string;
|
|
4493
|
-
}, {
|
|
4494
|
-
value: true;
|
|
4495
|
-
description: string;
|
|
4496
|
-
}];
|
|
4497
|
-
} | {
|
|
4489
|
+
data: {
|
|
4490
|
+
batch: {
|
|
4498
4491
|
id: string;
|
|
4499
|
-
|
|
4500
|
-
|
|
4501
|
-
|
|
4502
|
-
|
|
4503
|
-
|
|
4504
|
-
}[];
|
|
4505
|
-
})[];
|
|
4492
|
+
contentHash: string;
|
|
4493
|
+
revision: number;
|
|
4494
|
+
};
|
|
4495
|
+
examplesSha256: string;
|
|
4496
|
+
encodingHash: string;
|
|
4506
4497
|
};
|
|
4507
|
-
|
|
4498
|
+
training: {
|
|
4499
|
+
learningRate: number;
|
|
4500
|
+
weightDecay: number;
|
|
4501
|
+
maxSteps: number;
|
|
4502
|
+
gradientAccumulationSteps: number;
|
|
4508
4503
|
maximumPromptTokens: number;
|
|
4509
|
-
|
|
4510
|
-
|
|
4504
|
+
seed: number;
|
|
4505
|
+
maxDurationSeconds: number;
|
|
4506
|
+
maxCheckpointBytes: number;
|
|
4511
4507
|
};
|
|
4508
|
+
parentArtifact: {
|
|
4509
|
+
id: string;
|
|
4510
|
+
contentHash: string;
|
|
4511
|
+
} | null;
|
|
4512
4512
|
};
|
|
4513
4513
|
contentHash: string;
|
|
4514
4514
|
}>;
|
|
@@ -4534,7 +4534,7 @@ export declare function parseAndVerifyManagedDecisionPrepare(raw: unknown): Prom
|
|
|
4534
4534
|
modelAssetId?: string | undefined;
|
|
4535
4535
|
};
|
|
4536
4536
|
request: {
|
|
4537
|
-
schemaVersion: "openpond.
|
|
4537
|
+
schemaVersion: "openpond.decisionScoringRequest.v1";
|
|
4538
4538
|
model: {
|
|
4539
4539
|
schemaVersion: "openpond.decisionModelIdentity.v1";
|
|
4540
4540
|
source: {
|
|
@@ -4612,31 +4612,48 @@ export declare function parseAndVerifyManagedDecisionPrepare(raw: unknown): Prom
|
|
|
4612
4612
|
};
|
|
4613
4613
|
contentHash: string;
|
|
4614
4614
|
};
|
|
4615
|
-
|
|
4616
|
-
|
|
4615
|
+
artifact: {
|
|
4616
|
+
id: string;
|
|
4617
|
+
contentHash: string;
|
|
4618
|
+
} | null;
|
|
4619
|
+
input: {
|
|
4620
|
+
state: Record<string, z.JSONType>;
|
|
4621
|
+
questions: ({
|
|
4617
4622
|
id: string;
|
|
4618
|
-
|
|
4619
|
-
|
|
4620
|
-
|
|
4621
|
-
|
|
4622
|
-
|
|
4623
|
+
description: string;
|
|
4624
|
+
type: "choice";
|
|
4625
|
+
choices: {
|
|
4626
|
+
value: string;
|
|
4627
|
+
description: string;
|
|
4628
|
+
}[];
|
|
4629
|
+
} | {
|
|
4630
|
+
id: string;
|
|
4631
|
+
description: string;
|
|
4632
|
+
type: "boolean";
|
|
4633
|
+
choices: [{
|
|
4634
|
+
value: false;
|
|
4635
|
+
description: string;
|
|
4636
|
+
}, {
|
|
4637
|
+
value: true;
|
|
4638
|
+
description: string;
|
|
4639
|
+
}];
|
|
4640
|
+
} | {
|
|
4641
|
+
id: string;
|
|
4642
|
+
description: string;
|
|
4643
|
+
type: "integer_levels";
|
|
4644
|
+
choices: {
|
|
4645
|
+
value: number;
|
|
4646
|
+
description: string;
|
|
4647
|
+
}[];
|
|
4648
|
+
})[];
|
|
4623
4649
|
};
|
|
4624
|
-
|
|
4625
|
-
learningRate: number;
|
|
4626
|
-
weightDecay: number;
|
|
4627
|
-
maxSteps: number;
|
|
4628
|
-
gradientAccumulationSteps: number;
|
|
4650
|
+
limits: {
|
|
4629
4651
|
maximumPromptTokens: number;
|
|
4630
|
-
|
|
4631
|
-
|
|
4632
|
-
maxCheckpointBytes: number;
|
|
4652
|
+
maximumForwardTokenWork: number;
|
|
4653
|
+
maximumDurationSeconds: number;
|
|
4633
4654
|
};
|
|
4634
|
-
parentArtifact: {
|
|
4635
|
-
id: string;
|
|
4636
|
-
contentHash: string;
|
|
4637
|
-
} | null;
|
|
4638
4655
|
} | {
|
|
4639
|
-
schemaVersion: "openpond.
|
|
4656
|
+
schemaVersion: "openpond.decisionTrainingRequest.v1";
|
|
4640
4657
|
model: {
|
|
4641
4658
|
schemaVersion: "openpond.decisionModelIdentity.v1";
|
|
4642
4659
|
source: {
|
|
@@ -4714,46 +4731,29 @@ export declare function parseAndVerifyManagedDecisionPrepare(raw: unknown): Prom
|
|
|
4714
4731
|
};
|
|
4715
4732
|
contentHash: string;
|
|
4716
4733
|
};
|
|
4717
|
-
|
|
4718
|
-
|
|
4719
|
-
contentHash: string;
|
|
4720
|
-
} | null;
|
|
4721
|
-
input: {
|
|
4722
|
-
state: Record<string, z.JSONType>;
|
|
4723
|
-
questions: ({
|
|
4724
|
-
id: string;
|
|
4725
|
-
description: string;
|
|
4726
|
-
type: "choice";
|
|
4727
|
-
choices: {
|
|
4728
|
-
value: string;
|
|
4729
|
-
description: string;
|
|
4730
|
-
}[];
|
|
4731
|
-
} | {
|
|
4732
|
-
id: string;
|
|
4733
|
-
description: string;
|
|
4734
|
-
type: "boolean";
|
|
4735
|
-
choices: [{
|
|
4736
|
-
value: false;
|
|
4737
|
-
description: string;
|
|
4738
|
-
}, {
|
|
4739
|
-
value: true;
|
|
4740
|
-
description: string;
|
|
4741
|
-
}];
|
|
4742
|
-
} | {
|
|
4734
|
+
data: {
|
|
4735
|
+
batch: {
|
|
4743
4736
|
id: string;
|
|
4744
|
-
|
|
4745
|
-
|
|
4746
|
-
|
|
4747
|
-
|
|
4748
|
-
|
|
4749
|
-
}[];
|
|
4750
|
-
})[];
|
|
4737
|
+
contentHash: string;
|
|
4738
|
+
revision: number;
|
|
4739
|
+
};
|
|
4740
|
+
examplesSha256: string;
|
|
4741
|
+
encodingHash: string;
|
|
4751
4742
|
};
|
|
4752
|
-
|
|
4743
|
+
training: {
|
|
4744
|
+
learningRate: number;
|
|
4745
|
+
weightDecay: number;
|
|
4746
|
+
maxSteps: number;
|
|
4747
|
+
gradientAccumulationSteps: number;
|
|
4753
4748
|
maximumPromptTokens: number;
|
|
4754
|
-
|
|
4755
|
-
|
|
4749
|
+
seed: number;
|
|
4750
|
+
maxDurationSeconds: number;
|
|
4751
|
+
maxCheckpointBytes: number;
|
|
4756
4752
|
};
|
|
4753
|
+
parentArtifact: {
|
|
4754
|
+
id: string;
|
|
4755
|
+
contentHash: string;
|
|
4756
|
+
} | null;
|
|
4757
4757
|
};
|
|
4758
4758
|
maximumSpendUsd?: string | null | undefined;
|
|
4759
4759
|
sourceForm?: {
|
|
@@ -4883,7 +4883,7 @@ export declare function parseAndVerifyManagedDecisionExecution(raw: unknown, exp
|
|
|
4883
4883
|
mode: "score" | "train";
|
|
4884
4884
|
schemaVersion: "openpond.managedDecisionExecution.v1";
|
|
4885
4885
|
request: {
|
|
4886
|
-
schemaVersion: "openpond.
|
|
4886
|
+
schemaVersion: "openpond.decisionScoringRequest.v1";
|
|
4887
4887
|
model: {
|
|
4888
4888
|
schemaVersion: "openpond.decisionModelIdentity.v1";
|
|
4889
4889
|
source: {
|
|
@@ -4961,31 +4961,48 @@ export declare function parseAndVerifyManagedDecisionExecution(raw: unknown, exp
|
|
|
4961
4961
|
};
|
|
4962
4962
|
contentHash: string;
|
|
4963
4963
|
};
|
|
4964
|
-
|
|
4965
|
-
|
|
4964
|
+
artifact: {
|
|
4965
|
+
id: string;
|
|
4966
|
+
contentHash: string;
|
|
4967
|
+
} | null;
|
|
4968
|
+
input: {
|
|
4969
|
+
state: Record<string, z.JSONType>;
|
|
4970
|
+
questions: ({
|
|
4966
4971
|
id: string;
|
|
4967
|
-
|
|
4968
|
-
|
|
4969
|
-
|
|
4970
|
-
|
|
4971
|
-
|
|
4972
|
+
description: string;
|
|
4973
|
+
type: "choice";
|
|
4974
|
+
choices: {
|
|
4975
|
+
value: string;
|
|
4976
|
+
description: string;
|
|
4977
|
+
}[];
|
|
4978
|
+
} | {
|
|
4979
|
+
id: string;
|
|
4980
|
+
description: string;
|
|
4981
|
+
type: "boolean";
|
|
4982
|
+
choices: [{
|
|
4983
|
+
value: false;
|
|
4984
|
+
description: string;
|
|
4985
|
+
}, {
|
|
4986
|
+
value: true;
|
|
4987
|
+
description: string;
|
|
4988
|
+
}];
|
|
4989
|
+
} | {
|
|
4990
|
+
id: string;
|
|
4991
|
+
description: string;
|
|
4992
|
+
type: "integer_levels";
|
|
4993
|
+
choices: {
|
|
4994
|
+
value: number;
|
|
4995
|
+
description: string;
|
|
4996
|
+
}[];
|
|
4997
|
+
})[];
|
|
4972
4998
|
};
|
|
4973
|
-
|
|
4974
|
-
learningRate: number;
|
|
4975
|
-
weightDecay: number;
|
|
4976
|
-
maxSteps: number;
|
|
4977
|
-
gradientAccumulationSteps: number;
|
|
4999
|
+
limits: {
|
|
4978
5000
|
maximumPromptTokens: number;
|
|
4979
|
-
|
|
4980
|
-
|
|
4981
|
-
maxCheckpointBytes: number;
|
|
5001
|
+
maximumForwardTokenWork: number;
|
|
5002
|
+
maximumDurationSeconds: number;
|
|
4982
5003
|
};
|
|
4983
|
-
parentArtifact: {
|
|
4984
|
-
id: string;
|
|
4985
|
-
contentHash: string;
|
|
4986
|
-
} | null;
|
|
4987
5004
|
} | {
|
|
4988
|
-
schemaVersion: "openpond.
|
|
5005
|
+
schemaVersion: "openpond.decisionTrainingRequest.v1";
|
|
4989
5006
|
model: {
|
|
4990
5007
|
schemaVersion: "openpond.decisionModelIdentity.v1";
|
|
4991
5008
|
source: {
|
|
@@ -5063,46 +5080,29 @@ export declare function parseAndVerifyManagedDecisionExecution(raw: unknown, exp
|
|
|
5063
5080
|
};
|
|
5064
5081
|
contentHash: string;
|
|
5065
5082
|
};
|
|
5066
|
-
|
|
5067
|
-
|
|
5068
|
-
contentHash: string;
|
|
5069
|
-
} | null;
|
|
5070
|
-
input: {
|
|
5071
|
-
state: Record<string, z.JSONType>;
|
|
5072
|
-
questions: ({
|
|
5073
|
-
id: string;
|
|
5074
|
-
description: string;
|
|
5075
|
-
type: "choice";
|
|
5076
|
-
choices: {
|
|
5077
|
-
value: string;
|
|
5078
|
-
description: string;
|
|
5079
|
-
}[];
|
|
5080
|
-
} | {
|
|
5081
|
-
id: string;
|
|
5082
|
-
description: string;
|
|
5083
|
-
type: "boolean";
|
|
5084
|
-
choices: [{
|
|
5085
|
-
value: false;
|
|
5086
|
-
description: string;
|
|
5087
|
-
}, {
|
|
5088
|
-
value: true;
|
|
5089
|
-
description: string;
|
|
5090
|
-
}];
|
|
5091
|
-
} | {
|
|
5083
|
+
data: {
|
|
5084
|
+
batch: {
|
|
5092
5085
|
id: string;
|
|
5093
|
-
|
|
5094
|
-
|
|
5095
|
-
|
|
5096
|
-
|
|
5097
|
-
|
|
5098
|
-
}[];
|
|
5099
|
-
})[];
|
|
5086
|
+
contentHash: string;
|
|
5087
|
+
revision: number;
|
|
5088
|
+
};
|
|
5089
|
+
examplesSha256: string;
|
|
5090
|
+
encodingHash: string;
|
|
5100
5091
|
};
|
|
5101
|
-
|
|
5092
|
+
training: {
|
|
5093
|
+
learningRate: number;
|
|
5094
|
+
weightDecay: number;
|
|
5095
|
+
maxSteps: number;
|
|
5096
|
+
gradientAccumulationSteps: number;
|
|
5102
5097
|
maximumPromptTokens: number;
|
|
5103
|
-
|
|
5104
|
-
|
|
5098
|
+
seed: number;
|
|
5099
|
+
maxDurationSeconds: number;
|
|
5100
|
+
maxCheckpointBytes: number;
|
|
5105
5101
|
};
|
|
5102
|
+
parentArtifact: {
|
|
5103
|
+
id: string;
|
|
5104
|
+
contentHash: string;
|
|
5105
|
+
} | null;
|
|
5106
5106
|
};
|
|
5107
5107
|
sourceForm?: {
|
|
5108
5108
|
baseModel: {
|
|
@@ -5188,6 +5188,33 @@ export declare function parseAndVerifyManagedDecisionExecution(raw: unknown, exp
|
|
|
5188
5188
|
};
|
|
5189
5189
|
} | undefined;
|
|
5190
5190
|
result: {
|
|
5191
|
+
schemaVersion: "openpond.decisionScoringResult.v1";
|
|
5192
|
+
requestHash: string;
|
|
5193
|
+
modelHash: string;
|
|
5194
|
+
runtimeHash: string;
|
|
5195
|
+
preparedRowsHash: string;
|
|
5196
|
+
artifact: {
|
|
5197
|
+
id: string;
|
|
5198
|
+
contentHash: string;
|
|
5199
|
+
} | null;
|
|
5200
|
+
temperature: 1;
|
|
5201
|
+
distributions: {
|
|
5202
|
+
questionId: string;
|
|
5203
|
+
promptTokenCount: number;
|
|
5204
|
+
candidates: {
|
|
5205
|
+
value: string | number | boolean;
|
|
5206
|
+
code: string;
|
|
5207
|
+
tokenId: number;
|
|
5208
|
+
logit: number;
|
|
5209
|
+
probability: number;
|
|
5210
|
+
}[];
|
|
5211
|
+
prediction: string | number | boolean;
|
|
5212
|
+
expectedLevel: number | null;
|
|
5213
|
+
}[];
|
|
5214
|
+
forwardTokenWork: number;
|
|
5215
|
+
durationMs: number;
|
|
5216
|
+
contentHash: string;
|
|
5217
|
+
} | {
|
|
5191
5218
|
schemaVersion: "openpond.decisionTrainingResult.v1";
|
|
5192
5219
|
inputHash: string;
|
|
5193
5220
|
modelHash: string;
|
|
@@ -5354,33 +5381,6 @@ export declare function parseAndVerifyManagedDecisionExecution(raw: unknown, exp
|
|
|
5354
5381
|
}[];
|
|
5355
5382
|
};
|
|
5356
5383
|
contentHash: string;
|
|
5357
|
-
} | {
|
|
5358
|
-
schemaVersion: "openpond.decisionScoringResult.v1";
|
|
5359
|
-
requestHash: string;
|
|
5360
|
-
modelHash: string;
|
|
5361
|
-
runtimeHash: string;
|
|
5362
|
-
preparedRowsHash: string;
|
|
5363
|
-
artifact: {
|
|
5364
|
-
id: string;
|
|
5365
|
-
contentHash: string;
|
|
5366
|
-
} | null;
|
|
5367
|
-
temperature: 1;
|
|
5368
|
-
distributions: {
|
|
5369
|
-
questionId: string;
|
|
5370
|
-
promptTokenCount: number;
|
|
5371
|
-
candidates: {
|
|
5372
|
-
value: string | number | boolean;
|
|
5373
|
-
code: string;
|
|
5374
|
-
tokenId: number;
|
|
5375
|
-
logit: number;
|
|
5376
|
-
probability: number;
|
|
5377
|
-
}[];
|
|
5378
|
-
prediction: string | number | boolean;
|
|
5379
|
-
expectedLevel: number | null;
|
|
5380
|
-
}[];
|
|
5381
|
-
forwardTokenWork: number;
|
|
5382
|
-
durationMs: number;
|
|
5383
|
-
contentHash: string;
|
|
5384
5384
|
} | null;
|
|
5385
5385
|
resultRecordedAt: string | null;
|
|
5386
5386
|
contentHash: string;
|
|
@@ -5723,7 +5723,7 @@ export declare function createManagedDecisionExecutionClient(request: (path: str
|
|
|
5723
5723
|
formHash: string;
|
|
5724
5724
|
inputHash: string;
|
|
5725
5725
|
request: {
|
|
5726
|
-
schemaVersion: "openpond.
|
|
5726
|
+
schemaVersion: "openpond.decisionScoringRequest.v1";
|
|
5727
5727
|
model: {
|
|
5728
5728
|
schemaVersion: "openpond.decisionModelIdentity.v1";
|
|
5729
5729
|
source: {
|
|
@@ -5801,31 +5801,48 @@ export declare function createManagedDecisionExecutionClient(request: (path: str
|
|
|
5801
5801
|
};
|
|
5802
5802
|
contentHash: string;
|
|
5803
5803
|
};
|
|
5804
|
-
|
|
5805
|
-
|
|
5804
|
+
artifact: {
|
|
5805
|
+
id: string;
|
|
5806
|
+
contentHash: string;
|
|
5807
|
+
} | null;
|
|
5808
|
+
input: {
|
|
5809
|
+
state: Record<string, z.JSONType>;
|
|
5810
|
+
questions: ({
|
|
5811
|
+
id: string;
|
|
5812
|
+
description: string;
|
|
5813
|
+
type: "choice";
|
|
5814
|
+
choices: {
|
|
5815
|
+
value: string;
|
|
5816
|
+
description: string;
|
|
5817
|
+
}[];
|
|
5818
|
+
} | {
|
|
5819
|
+
id: string;
|
|
5820
|
+
description: string;
|
|
5821
|
+
type: "boolean";
|
|
5822
|
+
choices: [{
|
|
5823
|
+
value: false;
|
|
5824
|
+
description: string;
|
|
5825
|
+
}, {
|
|
5826
|
+
value: true;
|
|
5827
|
+
description: string;
|
|
5828
|
+
}];
|
|
5829
|
+
} | {
|
|
5806
5830
|
id: string;
|
|
5807
|
-
|
|
5808
|
-
|
|
5809
|
-
|
|
5810
|
-
|
|
5811
|
-
|
|
5831
|
+
description: string;
|
|
5832
|
+
type: "integer_levels";
|
|
5833
|
+
choices: {
|
|
5834
|
+
value: number;
|
|
5835
|
+
description: string;
|
|
5836
|
+
}[];
|
|
5837
|
+
})[];
|
|
5812
5838
|
};
|
|
5813
|
-
|
|
5814
|
-
learningRate: number;
|
|
5815
|
-
weightDecay: number;
|
|
5816
|
-
maxSteps: number;
|
|
5817
|
-
gradientAccumulationSteps: number;
|
|
5839
|
+
limits: {
|
|
5818
5840
|
maximumPromptTokens: number;
|
|
5819
|
-
|
|
5820
|
-
|
|
5821
|
-
maxCheckpointBytes: number;
|
|
5841
|
+
maximumForwardTokenWork: number;
|
|
5842
|
+
maximumDurationSeconds: number;
|
|
5822
5843
|
};
|
|
5823
|
-
parentArtifact: {
|
|
5824
|
-
id: string;
|
|
5825
|
-
contentHash: string;
|
|
5826
|
-
} | null;
|
|
5827
5844
|
} | {
|
|
5828
|
-
schemaVersion: "openpond.
|
|
5845
|
+
schemaVersion: "openpond.decisionTrainingRequest.v1";
|
|
5829
5846
|
model: {
|
|
5830
5847
|
schemaVersion: "openpond.decisionModelIdentity.v1";
|
|
5831
5848
|
source: {
|
|
@@ -5903,46 +5920,29 @@ export declare function createManagedDecisionExecutionClient(request: (path: str
|
|
|
5903
5920
|
};
|
|
5904
5921
|
contentHash: string;
|
|
5905
5922
|
};
|
|
5906
|
-
|
|
5907
|
-
|
|
5908
|
-
contentHash: string;
|
|
5909
|
-
} | null;
|
|
5910
|
-
input: {
|
|
5911
|
-
state: Record<string, z.JSONType>;
|
|
5912
|
-
questions: ({
|
|
5913
|
-
id: string;
|
|
5914
|
-
description: string;
|
|
5915
|
-
type: "choice";
|
|
5916
|
-
choices: {
|
|
5917
|
-
value: string;
|
|
5918
|
-
description: string;
|
|
5919
|
-
}[];
|
|
5920
|
-
} | {
|
|
5921
|
-
id: string;
|
|
5922
|
-
description: string;
|
|
5923
|
-
type: "boolean";
|
|
5924
|
-
choices: [{
|
|
5925
|
-
value: false;
|
|
5926
|
-
description: string;
|
|
5927
|
-
}, {
|
|
5928
|
-
value: true;
|
|
5929
|
-
description: string;
|
|
5930
|
-
}];
|
|
5931
|
-
} | {
|
|
5923
|
+
data: {
|
|
5924
|
+
batch: {
|
|
5932
5925
|
id: string;
|
|
5933
|
-
|
|
5934
|
-
|
|
5935
|
-
|
|
5936
|
-
|
|
5937
|
-
|
|
5938
|
-
}[];
|
|
5939
|
-
})[];
|
|
5926
|
+
contentHash: string;
|
|
5927
|
+
revision: number;
|
|
5928
|
+
};
|
|
5929
|
+
examplesSha256: string;
|
|
5930
|
+
encodingHash: string;
|
|
5940
5931
|
};
|
|
5941
|
-
|
|
5932
|
+
training: {
|
|
5933
|
+
learningRate: number;
|
|
5934
|
+
weightDecay: number;
|
|
5935
|
+
maxSteps: number;
|
|
5936
|
+
gradientAccumulationSteps: number;
|
|
5942
5937
|
maximumPromptTokens: number;
|
|
5943
|
-
|
|
5944
|
-
|
|
5938
|
+
seed: number;
|
|
5939
|
+
maxDurationSeconds: number;
|
|
5940
|
+
maxCheckpointBytes: number;
|
|
5945
5941
|
};
|
|
5942
|
+
parentArtifact: {
|
|
5943
|
+
id: string;
|
|
5944
|
+
contentHash: string;
|
|
5945
|
+
} | null;
|
|
5946
5946
|
};
|
|
5947
5947
|
contentHash: string;
|
|
5948
5948
|
}>;
|
|
@@ -6117,7 +6117,7 @@ export declare function createManagedDecisionExecutionClient(request: (path: str
|
|
|
6117
6117
|
mode: "score" | "train";
|
|
6118
6118
|
schemaVersion: "openpond.managedDecisionExecution.v1";
|
|
6119
6119
|
request: {
|
|
6120
|
-
schemaVersion: "openpond.
|
|
6120
|
+
schemaVersion: "openpond.decisionScoringRequest.v1";
|
|
6121
6121
|
model: {
|
|
6122
6122
|
schemaVersion: "openpond.decisionModelIdentity.v1";
|
|
6123
6123
|
source: {
|
|
@@ -6195,31 +6195,48 @@ export declare function createManagedDecisionExecutionClient(request: (path: str
|
|
|
6195
6195
|
};
|
|
6196
6196
|
contentHash: string;
|
|
6197
6197
|
};
|
|
6198
|
-
|
|
6199
|
-
|
|
6198
|
+
artifact: {
|
|
6199
|
+
id: string;
|
|
6200
|
+
contentHash: string;
|
|
6201
|
+
} | null;
|
|
6202
|
+
input: {
|
|
6203
|
+
state: Record<string, z.JSONType>;
|
|
6204
|
+
questions: ({
|
|
6200
6205
|
id: string;
|
|
6201
|
-
|
|
6202
|
-
|
|
6203
|
-
|
|
6204
|
-
|
|
6205
|
-
|
|
6206
|
+
description: string;
|
|
6207
|
+
type: "choice";
|
|
6208
|
+
choices: {
|
|
6209
|
+
value: string;
|
|
6210
|
+
description: string;
|
|
6211
|
+
}[];
|
|
6212
|
+
} | {
|
|
6213
|
+
id: string;
|
|
6214
|
+
description: string;
|
|
6215
|
+
type: "boolean";
|
|
6216
|
+
choices: [{
|
|
6217
|
+
value: false;
|
|
6218
|
+
description: string;
|
|
6219
|
+
}, {
|
|
6220
|
+
value: true;
|
|
6221
|
+
description: string;
|
|
6222
|
+
}];
|
|
6223
|
+
} | {
|
|
6224
|
+
id: string;
|
|
6225
|
+
description: string;
|
|
6226
|
+
type: "integer_levels";
|
|
6227
|
+
choices: {
|
|
6228
|
+
value: number;
|
|
6229
|
+
description: string;
|
|
6230
|
+
}[];
|
|
6231
|
+
})[];
|
|
6206
6232
|
};
|
|
6207
|
-
|
|
6208
|
-
learningRate: number;
|
|
6209
|
-
weightDecay: number;
|
|
6210
|
-
maxSteps: number;
|
|
6211
|
-
gradientAccumulationSteps: number;
|
|
6233
|
+
limits: {
|
|
6212
6234
|
maximumPromptTokens: number;
|
|
6213
|
-
|
|
6214
|
-
|
|
6215
|
-
maxCheckpointBytes: number;
|
|
6235
|
+
maximumForwardTokenWork: number;
|
|
6236
|
+
maximumDurationSeconds: number;
|
|
6216
6237
|
};
|
|
6217
|
-
parentArtifact: {
|
|
6218
|
-
id: string;
|
|
6219
|
-
contentHash: string;
|
|
6220
|
-
} | null;
|
|
6221
6238
|
} | {
|
|
6222
|
-
schemaVersion: "openpond.
|
|
6239
|
+
schemaVersion: "openpond.decisionTrainingRequest.v1";
|
|
6223
6240
|
model: {
|
|
6224
6241
|
schemaVersion: "openpond.decisionModelIdentity.v1";
|
|
6225
6242
|
source: {
|
|
@@ -6297,46 +6314,29 @@ export declare function createManagedDecisionExecutionClient(request: (path: str
|
|
|
6297
6314
|
};
|
|
6298
6315
|
contentHash: string;
|
|
6299
6316
|
};
|
|
6300
|
-
|
|
6301
|
-
|
|
6302
|
-
contentHash: string;
|
|
6303
|
-
} | null;
|
|
6304
|
-
input: {
|
|
6305
|
-
state: Record<string, z.JSONType>;
|
|
6306
|
-
questions: ({
|
|
6307
|
-
id: string;
|
|
6308
|
-
description: string;
|
|
6309
|
-
type: "choice";
|
|
6310
|
-
choices: {
|
|
6311
|
-
value: string;
|
|
6312
|
-
description: string;
|
|
6313
|
-
}[];
|
|
6314
|
-
} | {
|
|
6315
|
-
id: string;
|
|
6316
|
-
description: string;
|
|
6317
|
-
type: "boolean";
|
|
6318
|
-
choices: [{
|
|
6319
|
-
value: false;
|
|
6320
|
-
description: string;
|
|
6321
|
-
}, {
|
|
6322
|
-
value: true;
|
|
6323
|
-
description: string;
|
|
6324
|
-
}];
|
|
6325
|
-
} | {
|
|
6317
|
+
data: {
|
|
6318
|
+
batch: {
|
|
6326
6319
|
id: string;
|
|
6327
|
-
|
|
6328
|
-
|
|
6329
|
-
|
|
6330
|
-
|
|
6331
|
-
|
|
6332
|
-
}[];
|
|
6333
|
-
})[];
|
|
6320
|
+
contentHash: string;
|
|
6321
|
+
revision: number;
|
|
6322
|
+
};
|
|
6323
|
+
examplesSha256: string;
|
|
6324
|
+
encodingHash: string;
|
|
6334
6325
|
};
|
|
6335
|
-
|
|
6326
|
+
training: {
|
|
6327
|
+
learningRate: number;
|
|
6328
|
+
weightDecay: number;
|
|
6329
|
+
maxSteps: number;
|
|
6330
|
+
gradientAccumulationSteps: number;
|
|
6336
6331
|
maximumPromptTokens: number;
|
|
6337
|
-
|
|
6338
|
-
|
|
6332
|
+
seed: number;
|
|
6333
|
+
maxDurationSeconds: number;
|
|
6334
|
+
maxCheckpointBytes: number;
|
|
6339
6335
|
};
|
|
6336
|
+
parentArtifact: {
|
|
6337
|
+
id: string;
|
|
6338
|
+
contentHash: string;
|
|
6339
|
+
} | null;
|
|
6340
6340
|
};
|
|
6341
6341
|
sourceForm?: {
|
|
6342
6342
|
baseModel: {
|
|
@@ -6422,6 +6422,33 @@ export declare function createManagedDecisionExecutionClient(request: (path: str
|
|
|
6422
6422
|
};
|
|
6423
6423
|
} | undefined;
|
|
6424
6424
|
result: {
|
|
6425
|
+
schemaVersion: "openpond.decisionScoringResult.v1";
|
|
6426
|
+
requestHash: string;
|
|
6427
|
+
modelHash: string;
|
|
6428
|
+
runtimeHash: string;
|
|
6429
|
+
preparedRowsHash: string;
|
|
6430
|
+
artifact: {
|
|
6431
|
+
id: string;
|
|
6432
|
+
contentHash: string;
|
|
6433
|
+
} | null;
|
|
6434
|
+
temperature: 1;
|
|
6435
|
+
distributions: {
|
|
6436
|
+
questionId: string;
|
|
6437
|
+
promptTokenCount: number;
|
|
6438
|
+
candidates: {
|
|
6439
|
+
value: string | number | boolean;
|
|
6440
|
+
code: string;
|
|
6441
|
+
tokenId: number;
|
|
6442
|
+
logit: number;
|
|
6443
|
+
probability: number;
|
|
6444
|
+
}[];
|
|
6445
|
+
prediction: string | number | boolean;
|
|
6446
|
+
expectedLevel: number | null;
|
|
6447
|
+
}[];
|
|
6448
|
+
forwardTokenWork: number;
|
|
6449
|
+
durationMs: number;
|
|
6450
|
+
contentHash: string;
|
|
6451
|
+
} | {
|
|
6425
6452
|
schemaVersion: "openpond.decisionTrainingResult.v1";
|
|
6426
6453
|
inputHash: string;
|
|
6427
6454
|
modelHash: string;
|
|
@@ -6588,33 +6615,6 @@ export declare function createManagedDecisionExecutionClient(request: (path: str
|
|
|
6588
6615
|
}[];
|
|
6589
6616
|
};
|
|
6590
6617
|
contentHash: string;
|
|
6591
|
-
} | {
|
|
6592
|
-
schemaVersion: "openpond.decisionScoringResult.v1";
|
|
6593
|
-
requestHash: string;
|
|
6594
|
-
modelHash: string;
|
|
6595
|
-
runtimeHash: string;
|
|
6596
|
-
preparedRowsHash: string;
|
|
6597
|
-
artifact: {
|
|
6598
|
-
id: string;
|
|
6599
|
-
contentHash: string;
|
|
6600
|
-
} | null;
|
|
6601
|
-
temperature: 1;
|
|
6602
|
-
distributions: {
|
|
6603
|
-
questionId: string;
|
|
6604
|
-
promptTokenCount: number;
|
|
6605
|
-
candidates: {
|
|
6606
|
-
value: string | number | boolean;
|
|
6607
|
-
code: string;
|
|
6608
|
-
tokenId: number;
|
|
6609
|
-
logit: number;
|
|
6610
|
-
probability: number;
|
|
6611
|
-
}[];
|
|
6612
|
-
prediction: string | number | boolean;
|
|
6613
|
-
expectedLevel: number | null;
|
|
6614
|
-
}[];
|
|
6615
|
-
forwardTokenWork: number;
|
|
6616
|
-
durationMs: number;
|
|
6617
|
-
contentHash: string;
|
|
6618
6618
|
} | null;
|
|
6619
6619
|
resultRecordedAt: string | null;
|
|
6620
6620
|
contentHash: string;
|