openpond-sdk 0.12.26 → 0.12.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.
- package/PRODUCT_INTEGRATION.md +13 -6
- package/README.md +2 -10
- package/SERVERLESS_SERVING.md +52 -35
- package/TASK_INGESTION.md +0 -4
- package/dist/advanced-refiner-evaluations.js +7 -7
- package/dist/ai-sdk.js +20 -83
- package/dist/ai-sdk.js.map +1 -1
- package/dist/candidate-evaluations.js +6 -6
- package/dist/{chunk-UZAVG2WK.js → chunk-3HOGOWKU.js} +8 -6
- package/dist/chunk-3HOGOWKU.js.map +1 -0
- package/dist/{chunk-YV6PPDXZ.js → chunk-3Z5IK2UK.js} +27 -2
- package/dist/chunk-3Z5IK2UK.js.map +1 -0
- package/dist/{chunk-4REK5TTE.js → chunk-4D4QSQC3.js} +2 -2
- package/dist/{chunk-AMZ2SWHR.js → chunk-534W2O2S.js} +2 -2
- package/dist/{chunk-6LVLWRBJ.js → chunk-54BJJL7G.js} +2 -2
- package/dist/{chunk-XWUTYFOU.js → chunk-5KJY44FB.js} +3 -3
- package/dist/{chunk-QKLZZOZD.js → chunk-7MLFWVDI.js} +29 -10
- package/dist/chunk-7MLFWVDI.js.map +1 -0
- package/dist/{chunk-4A4FNG4R.js → chunk-7ZV626YS.js} +2 -2
- package/dist/{chunk-57ROW3XF.js → chunk-ABOZV47D.js} +2 -2
- package/dist/{chunk-3BILL33A.js → chunk-BIQ5TG3T.js} +4 -4
- package/dist/{chunk-JINWKUKR.js → chunk-BT6CC6QB.js} +3 -3
- package/dist/{chunk-4PEK3YOW.js → chunk-CNFN6GHY.js} +2 -2
- package/dist/{chunk-X5AT253K.js → chunk-CVYGJUWM.js} +2 -2
- package/dist/{chunk-D26RJQU7.js → chunk-CX7ETU2F.js} +2 -2
- package/dist/{chunk-4CDLPMJK.js → chunk-D7LV3USE.js} +2 -2
- package/dist/{chunk-WZKKQNYY.js → chunk-GA7OSSEA.js} +2 -2
- package/dist/{chunk-EL6KZO43.js → chunk-GFWXDWEE.js} +3 -3
- package/dist/{chunk-XYK3MAIC.js → chunk-JYWIKBGD.js} +122 -112
- package/dist/chunk-JYWIKBGD.js.map +1 -0
- package/dist/{chunk-AQV7RQZH.js → chunk-K4WU4JOP.js} +2 -2
- package/dist/{chunk-CAOMKM55.js → chunk-L7MVGGBH.js} +2 -2
- package/dist/{chunk-P56JWQYV.js → chunk-LRFVISLA.js} +3 -3
- package/dist/{chunk-2U6BQ5C4.js → chunk-MJHQMQEW.js} +3 -3
- package/dist/chunk-ON3KSXWR.js +639 -0
- package/dist/chunk-ON3KSXWR.js.map +1 -0
- package/dist/{chunk-PMVSO23F.js → chunk-RMXZISHK.js} +10 -1
- package/dist/chunk-RMXZISHK.js.map +1 -0
- package/dist/{chunk-JWEIAEQ6.js → chunk-TMNEDWA7.js} +10 -3
- package/dist/chunk-TMNEDWA7.js.map +1 -0
- package/dist/{chunk-C7I4ZG6Q.js → chunk-TX552FQG.js} +3 -3
- package/dist/{chunk-4CRLQMJ2.js → chunk-VIDRZCPQ.js} +6 -6
- package/dist/{chunk-MN4FE52A.js → chunk-VRUAIMM3.js} +7 -7
- package/dist/chunk-VRUAIMM3.js.map +1 -0
- package/dist/{chunk-H5KHLBC5.js → chunk-WJZHSIGD.js} +6 -8
- package/dist/{chunk-H5KHLBC5.js.map → chunk-WJZHSIGD.js.map} +1 -1
- package/dist/{chunk-HCUZYGUK.js → chunk-WPTFJZ4L.js} +3 -3
- package/dist/connected-evidence.js +7 -7
- package/dist/dataset-workspaces.js +10 -10
- package/dist/errors.js +1 -1
- package/dist/experiment-evaluation-schedules.js +16 -16
- package/dist/experiment-improvements.js +7 -7
- package/dist/experiments.js +15 -15
- package/dist/index.js +23 -23
- package/dist/learning.js +15 -4
- package/dist/learning.js.map +1 -1
- package/dist/model-projects.js +1 -1
- package/dist/model-starter-attempts.js +2 -2
- package/dist/model-starter-catalog.js +4 -4
- package/dist/model-starters.js +4 -4
- package/dist/model-taskset-runs.js +3 -3
- package/dist/post-training.js +6 -6
- package/dist/taskset-drafts.js +6 -6
- package/dist/taskset-packages.js +12 -10
- package/dist/training-bundle.js +46 -20
- package/dist/training-bundle.js.map +1 -1
- package/dist/training-hardware.js +2 -2
- package/dist/training.js +5620 -4342
- package/dist/training.js.map +1 -1
- package/dist/types/packages/sdk/src/ai-sdk.d.ts.map +1 -1
- package/dist/types/packages/sdk/src/alphaedit-model-serving.d.ts +8 -4
- package/dist/types/packages/sdk/src/alphaedit-model-serving.d.ts.map +1 -1
- package/dist/types/packages/sdk/src/candidate-evaluation-client.d.ts +162 -162
- package/dist/types/packages/sdk/src/decision-model-serving.d.ts +4 -2
- package/dist/types/packages/sdk/src/decision-model-serving.d.ts.map +1 -1
- package/dist/types/packages/sdk/src/engram-model-serving.d.ts +3 -1
- package/dist/types/packages/sdk/src/engram-model-serving.d.ts.map +1 -1
- package/dist/types/packages/sdk/src/experiment-client.d.ts +699 -691
- package/dist/types/packages/sdk/src/experiment-client.d.ts.map +1 -1
- package/dist/types/packages/sdk/src/experiment-draft-storage.d.ts +34 -28
- package/dist/types/packages/sdk/src/experiment-draft-storage.d.ts.map +1 -1
- package/dist/types/packages/sdk/src/experiment-improvement-client.d.ts +1889 -1889
- package/dist/types/packages/sdk/src/experiment-run-details.d.ts +7 -7
- package/dist/types/packages/sdk/src/experiment-scoring-contracts.d.ts +21 -3
- package/dist/types/packages/sdk/src/experiment-scoring-contracts.d.ts.map +1 -1
- package/dist/types/packages/sdk/src/learning.d.ts +1 -0
- package/dist/types/packages/sdk/src/learning.d.ts.map +1 -1
- package/dist/types/packages/sdk/src/managed-alphaedit-executions.d.ts +272 -16
- package/dist/types/packages/sdk/src/managed-alphaedit-executions.d.ts.map +1 -1
- package/dist/types/packages/sdk/src/managed-compute-price.d.ts +53 -1
- package/dist/types/packages/sdk/src/managed-compute-price.d.ts.map +1 -1
- package/dist/types/packages/sdk/src/managed-decision-executions.d.ts +612 -356
- package/dist/types/packages/sdk/src/managed-decision-executions.d.ts.map +1 -1
- package/dist/types/packages/sdk/src/managed-engram-executions.d.ts +272 -16
- package/dist/types/packages/sdk/src/managed-engram-executions.d.ts.map +1 -1
- package/dist/types/packages/sdk/src/managed-modification-executions.d.ts +208 -16
- package/dist/types/packages/sdk/src/managed-modification-executions.d.ts.map +1 -1
- package/dist/types/packages/sdk/src/managed-neuron-training-executions.d.ts +272 -16
- package/dist/types/packages/sdk/src/managed-neuron-training-executions.d.ts.map +1 -1
- package/dist/types/packages/sdk/src/managed-serving-usage.d.ts +3 -0
- package/dist/types/packages/sdk/src/managed-serving-usage.d.ts.map +1 -1
- package/dist/types/packages/sdk/src/managed-training-preparation.d.ts +25 -25
- package/dist/types/packages/sdk/src/managed-training-preparation.d.ts.map +1 -1
- package/dist/types/packages/sdk/src/model-learning-capabilities.d.ts +4 -0
- package/dist/types/packages/sdk/src/model-learning-capabilities.d.ts.map +1 -0
- package/dist/types/packages/sdk/src/model-learning-policy.d.ts.map +1 -1
- package/dist/types/packages/sdk/src/model-supervised-training-defaults.d.ts.map +1 -1
- package/dist/types/packages/sdk/src/model-training-defaults.d.ts +5 -2
- package/dist/types/packages/sdk/src/model-training-defaults.d.ts.map +1 -1
- package/dist/types/packages/sdk/src/neuron-training-model-serving.d.ts +8 -4
- package/dist/types/packages/sdk/src/neuron-training-model-serving.d.ts.map +1 -1
- package/dist/types/packages/sdk/src/post-training.d.ts +7 -7
- package/dist/types/packages/sdk/src/product-model-response.d.ts +6 -2
- package/dist/types/packages/sdk/src/product-model-response.d.ts.map +1 -1
- package/dist/types/packages/sdk/src/product-model-transport.d.ts +99 -0
- package/dist/types/packages/sdk/src/product-model-transport.d.ts.map +1 -0
- package/dist/types/packages/sdk/src/product-model-wire.d.ts +104 -0
- package/dist/types/packages/sdk/src/product-model-wire.d.ts.map +1 -0
- package/dist/types/packages/sdk/src/product-models.d.ts +18 -15
- package/dist/types/packages/sdk/src/product-models.d.ts.map +1 -1
- package/dist/types/packages/sdk/src/serverless-serving.d.ts +416 -9
- package/dist/types/packages/sdk/src/serverless-serving.d.ts.map +1 -1
- package/dist/types/packages/sdk/src/steering-model-serving.d.ts +2144 -703
- package/dist/types/packages/sdk/src/steering-model-serving.d.ts.map +1 -1
- package/dist/types/packages/sdk/src/steering-profile-publication.d.ts +631 -0
- package/dist/types/packages/sdk/src/steering-profile-publication.d.ts.map +1 -1
- package/dist/types/packages/sdk/src/taskset-draft-client.d.ts +120 -120
- package/dist/types/packages/sdk/src/taskset-package-projection.d.ts +20 -20
- package/dist/types/packages/sdk/src/taskset-packages.d.ts +1 -0
- package/dist/types/packages/sdk/src/taskset-packages.d.ts.map +1 -1
- package/dist/types/packages/sdk/src/taskset-text-policy.d.ts +11 -0
- package/dist/types/packages/sdk/src/taskset-text-policy.d.ts.map +1 -0
- package/dist/types/packages/sdk/src/training-compute-selection.d.ts +6 -19
- package/dist/types/packages/sdk/src/training-compute-selection.d.ts.map +1 -1
- package/dist/types/packages/sdk/src/training-estimates.d.ts +1 -1
- package/dist/types/packages/sdk/src/training-experiment-setup.d.ts +4 -1
- package/dist/types/packages/sdk/src/training-experiment-setup.d.ts.map +1 -1
- package/dist/types/packages/sdk/src/training-harness-sources.d.ts +2 -2
- package/dist/types/packages/sdk/src/training-learning-batch.d.ts +40 -40
- package/dist/types/packages/sdk/src/training-model-serving-control.d.ts +406 -8
- package/dist/types/packages/sdk/src/training-model-serving-control.d.ts.map +1 -1
- package/dist/types/packages/sdk/src/training-model-serving.d.ts +1136 -30
- package/dist/types/packages/sdk/src/training-model-serving.d.ts.map +1 -1
- package/dist/types/packages/sdk/src/training-operations.d.ts +11197 -0
- package/dist/types/packages/sdk/src/training-operations.d.ts.map +1 -0
- package/dist/types/packages/sdk/src/training-qualification-preparation.d.ts +25 -25
- package/dist/types/packages/sdk/src/training-supervised.d.ts +13 -0
- package/dist/types/packages/sdk/src/training-supervised.d.ts.map +1 -1
- package/dist/types/packages/sdk/src/training-transport.d.ts +4 -1
- package/dist/types/packages/sdk/src/training-transport.d.ts.map +1 -1
- package/dist/types/packages/sdk/src/training.d.ts +15885 -4662
- package/dist/types/packages/sdk/src/training.d.ts.map +1 -1
- package/dist/types/packages/sdk/src/weight-inference.d.ts +8 -5
- package/dist/types/packages/sdk/src/weight-inference.d.ts.map +1 -1
- package/dist/types/packages/sdk/src/weight-model-versions.d.ts +2089 -398
- package/dist/types/packages/sdk/src/weight-model-versions.d.ts.map +1 -1
- package/dist/types/packages/sdk/src/weight-space-artifact.d.ts +433 -0
- package/dist/types/packages/sdk/src/weight-space-artifact.d.ts.map +1 -0
- package/dist/types/packages/sdk/src/weight-space-evaluation.d.ts +1437 -0
- package/dist/types/packages/sdk/src/weight-space-evaluation.d.ts.map +1 -0
- package/dist/types/packages/sdk/src/weight-space-model-serving.d.ts +2910 -0
- package/dist/types/packages/sdk/src/weight-space-model-serving.d.ts.map +1 -0
- package/dist/types/packages/sdk/src/weight-space-programming.d.ts +845 -0
- package/dist/types/packages/sdk/src/weight-space-programming.d.ts.map +1 -0
- package/dist/types/packages/sdk/src/weight-space-sessions.d.ts +4600 -0
- package/dist/types/packages/sdk/src/weight-space-sessions.d.ts.map +1 -0
- package/fixtures/python-foundation/operation-matrix.json +369 -0
- package/fixtures/python-foundation/schemas.json +34304 -27905
- package/fixtures/python-foundation/training-estimate-http-workflow.json +1 -1
- package/package.json +2 -2
- package/dist/chunk-JWEIAEQ6.js.map +0 -1
- package/dist/chunk-MN4FE52A.js.map +0 -1
- package/dist/chunk-PMVSO23F.js.map +0 -1
- package/dist/chunk-QKLZZOZD.js.map +0 -1
- package/dist/chunk-UZAVG2WK.js.map +0 -1
- package/dist/chunk-XYK3MAIC.js.map +0 -1
- package/dist/chunk-YV6PPDXZ.js.map +0 -1
- package/dist/chunk-ZG4HVCJB.js +0 -248
- package/dist/chunk-ZG4HVCJB.js.map +0 -1
- /package/dist/{chunk-4REK5TTE.js.map → chunk-4D4QSQC3.js.map} +0 -0
- /package/dist/{chunk-AMZ2SWHR.js.map → chunk-534W2O2S.js.map} +0 -0
- /package/dist/{chunk-6LVLWRBJ.js.map → chunk-54BJJL7G.js.map} +0 -0
- /package/dist/{chunk-XWUTYFOU.js.map → chunk-5KJY44FB.js.map} +0 -0
- /package/dist/{chunk-4A4FNG4R.js.map → chunk-7ZV626YS.js.map} +0 -0
- /package/dist/{chunk-57ROW3XF.js.map → chunk-ABOZV47D.js.map} +0 -0
- /package/dist/{chunk-3BILL33A.js.map → chunk-BIQ5TG3T.js.map} +0 -0
- /package/dist/{chunk-JINWKUKR.js.map → chunk-BT6CC6QB.js.map} +0 -0
- /package/dist/{chunk-4PEK3YOW.js.map → chunk-CNFN6GHY.js.map} +0 -0
- /package/dist/{chunk-X5AT253K.js.map → chunk-CVYGJUWM.js.map} +0 -0
- /package/dist/{chunk-D26RJQU7.js.map → chunk-CX7ETU2F.js.map} +0 -0
- /package/dist/{chunk-4CDLPMJK.js.map → chunk-D7LV3USE.js.map} +0 -0
- /package/dist/{chunk-WZKKQNYY.js.map → chunk-GA7OSSEA.js.map} +0 -0
- /package/dist/{chunk-EL6KZO43.js.map → chunk-GFWXDWEE.js.map} +0 -0
- /package/dist/{chunk-AQV7RQZH.js.map → chunk-K4WU4JOP.js.map} +0 -0
- /package/dist/{chunk-CAOMKM55.js.map → chunk-L7MVGGBH.js.map} +0 -0
- /package/dist/{chunk-P56JWQYV.js.map → chunk-LRFVISLA.js.map} +0 -0
- /package/dist/{chunk-2U6BQ5C4.js.map → chunk-MJHQMQEW.js.map} +0 -0
- /package/dist/{chunk-C7I4ZG6Q.js.map → chunk-TX552FQG.js.map} +0 -0
- /package/dist/{chunk-4CRLQMJ2.js.map → chunk-VIDRZCPQ.js.map} +0 -0
- /package/dist/{chunk-HCUZYGUK.js.map → chunk-WPTFJZ4L.js.map} +0 -0
|
@@ -367,8 +367,7 @@ export declare const TrainingServingLoadEvidenceSchema: z.ZodObject<{
|
|
|
367
367
|
completedAt: z.ZodString;
|
|
368
368
|
}, z.core.$strict>;
|
|
369
369
|
export declare const TrainingModelServingContentSchema: z.ZodObject<{
|
|
370
|
-
serverlessReview: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
371
|
-
schemaVersion: z.ZodLiteral<"openpond.serverlessServingReview.v1">;
|
|
370
|
+
serverlessReview: z.ZodOptional<z.ZodNullable<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
372
371
|
teamId: z.ZodString;
|
|
373
372
|
modelProjectId: z.ZodString;
|
|
374
373
|
versionHash: z.ZodString;
|
|
@@ -388,6 +387,11 @@ export declare const TrainingModelServingContentSchema: z.ZodObject<{
|
|
|
388
387
|
hourlyUsd: z.ZodString;
|
|
389
388
|
service: z.ZodLiteral<"model_serving">;
|
|
390
389
|
}, z.core.$strict>;
|
|
390
|
+
workerIdleTimeoutSeconds: z.ZodLiteral<5>;
|
|
391
|
+
maximumRequestMillis: z.ZodLiteral<540000>;
|
|
392
|
+
expiresAt: z.ZodISODateTime;
|
|
393
|
+
contentHash: z.ZodString;
|
|
394
|
+
schemaVersion: z.ZodLiteral<"openpond.serverlessServingReview.v1">;
|
|
391
395
|
rules: z.ZodObject<{
|
|
392
396
|
quantity: z.ZodLiteral<"allocated_engine_milliseconds">;
|
|
393
397
|
allocation: z.ZodLiteral<"equal_billing_principal_then_request">;
|
|
@@ -399,11 +403,87 @@ export declare const TrainingModelServingContentSchema: z.ZodObject<{
|
|
|
399
403
|
tokenRetailUsd: z.ZodLiteral<"0.000000">;
|
|
400
404
|
minimumBillableMillis: z.ZodLiteral<0>;
|
|
401
405
|
}, z.core.$strict>;
|
|
406
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
407
|
+
teamId: z.ZodString;
|
|
408
|
+
modelProjectId: z.ZodString;
|
|
409
|
+
versionHash: z.ZodString;
|
|
410
|
+
artifact: z.ZodObject<{
|
|
411
|
+
id: z.ZodString;
|
|
412
|
+
contentHash: z.ZodString;
|
|
413
|
+
}, z.core.$strict>;
|
|
414
|
+
baseProfileId: z.ZodString;
|
|
415
|
+
workerImageDigest: z.ZodString;
|
|
416
|
+
providerConfigurationHash: z.ZodString;
|
|
417
|
+
price: z.ZodObject<{
|
|
418
|
+
schemaVersion: z.ZodLiteral<"openpond.computeAppliedPrice.v1">;
|
|
419
|
+
version: z.ZodString;
|
|
420
|
+
profileHash: z.ZodString;
|
|
421
|
+
currency: z.ZodLiteral<"USD">;
|
|
422
|
+
unit: z.ZodLiteral<"resource_hour">;
|
|
423
|
+
hourlyUsd: z.ZodString;
|
|
424
|
+
service: z.ZodLiteral<"model_serving">;
|
|
425
|
+
}, z.core.$strict>;
|
|
402
426
|
workerIdleTimeoutSeconds: z.ZodLiteral<5>;
|
|
403
427
|
maximumRequestMillis: z.ZodLiteral<540000>;
|
|
404
428
|
expiresAt: z.ZodISODateTime;
|
|
405
429
|
contentHash: z.ZodString;
|
|
406
|
-
|
|
430
|
+
schemaVersion: z.ZodLiteral<"openpond.serverlessServingReview.v2">;
|
|
431
|
+
rules: z.ZodObject<{
|
|
432
|
+
quantity: z.ZodLiteral<"allocated_worker_milliseconds">;
|
|
433
|
+
allocation: z.ZodLiteral<"equal_billing_principal_then_request">;
|
|
434
|
+
startupBillable: z.ZodLiteral<true>;
|
|
435
|
+
idleBillable: z.ZodLiteral<true>;
|
|
436
|
+
cleanupBillable: z.ZodLiteral<true>;
|
|
437
|
+
queueBillable: z.ZodLiteral<false>;
|
|
438
|
+
failure: z.ZodLiteral<"observed_worker_runtime">;
|
|
439
|
+
cancellation: z.ZodLiteral<"until_worker_stop">;
|
|
440
|
+
tokenRetailUsd: z.ZodLiteral<"0.000000">;
|
|
441
|
+
minimumBillableMillis: z.ZodLiteral<0>;
|
|
442
|
+
supplierRounding: z.ZodLiteral<"ceil_worker_lifetime_second_once">;
|
|
443
|
+
}, z.core.$strict>;
|
|
444
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
445
|
+
teamId: z.ZodString;
|
|
446
|
+
modelProjectId: z.ZodString;
|
|
447
|
+
versionHash: z.ZodString;
|
|
448
|
+
artifact: z.ZodObject<{
|
|
449
|
+
id: z.ZodString;
|
|
450
|
+
contentHash: z.ZodString;
|
|
451
|
+
}, z.core.$strict>;
|
|
452
|
+
baseProfileId: z.ZodString;
|
|
453
|
+
workerImageDigest: z.ZodString;
|
|
454
|
+
providerConfigurationHash: z.ZodString;
|
|
455
|
+
price: z.ZodObject<{
|
|
456
|
+
schemaVersion: z.ZodLiteral<"openpond.computeAppliedPrice.v1">;
|
|
457
|
+
version: z.ZodString;
|
|
458
|
+
profileHash: z.ZodString;
|
|
459
|
+
currency: z.ZodLiteral<"USD">;
|
|
460
|
+
unit: z.ZodLiteral<"resource_hour">;
|
|
461
|
+
hourlyUsd: z.ZodString;
|
|
462
|
+
service: z.ZodLiteral<"model_serving">;
|
|
463
|
+
}, z.core.$strict>;
|
|
464
|
+
maximumRequestMillis: z.ZodLiteral<540000>;
|
|
465
|
+
expiresAt: z.ZodISODateTime;
|
|
466
|
+
contentHash: z.ZodString;
|
|
467
|
+
rules: z.ZodObject<{
|
|
468
|
+
quantity: z.ZodLiteral<"allocated_worker_milliseconds">;
|
|
469
|
+
allocation: z.ZodLiteral<"equal_billing_principal_then_request">;
|
|
470
|
+
startupBillable: z.ZodLiteral<true>;
|
|
471
|
+
idleBillable: z.ZodLiteral<true>;
|
|
472
|
+
cleanupBillable: z.ZodLiteral<true>;
|
|
473
|
+
queueBillable: z.ZodLiteral<false>;
|
|
474
|
+
failure: z.ZodLiteral<"observed_worker_runtime">;
|
|
475
|
+
cancellation: z.ZodLiteral<"until_worker_stop">;
|
|
476
|
+
tokenRetailUsd: z.ZodLiteral<"0.000000">;
|
|
477
|
+
minimumBillableMillis: z.ZodLiteral<0>;
|
|
478
|
+
supplierRounding: z.ZodLiteral<"ceil_worker_lifetime_second_once">;
|
|
479
|
+
}, z.core.$strict>;
|
|
480
|
+
schemaVersion: z.ZodLiteral<"openpond.serverlessServingReview.v3">;
|
|
481
|
+
workerIdleTimeoutSeconds: z.ZodUnion<readonly [z.ZodLiteral<5>, z.ZodLiteral<60>]>;
|
|
482
|
+
hardware: z.ZodOptional<z.ZodObject<{
|
|
483
|
+
selection: z.ZodLiteral<"automatic">;
|
|
484
|
+
gpuTypeIds: z.ZodArray<z.ZodString>;
|
|
485
|
+
}, z.core.$strict>>;
|
|
486
|
+
}, z.core.$strict>], "schemaVersion">>>;
|
|
407
487
|
usageBilling: z.ZodOptional<z.ZodObject<{
|
|
408
488
|
schemaVersion: z.ZodLiteral<"openpond.managedServingUsageReviewResult.v1">;
|
|
409
489
|
availability: z.ZodEnum<{
|
|
@@ -423,6 +503,7 @@ export declare const TrainingModelServingContentSchema: z.ZodObject<{
|
|
|
423
503
|
selective_neuron_training: "selective_neuron_training";
|
|
424
504
|
steering: "steering";
|
|
425
505
|
training: "training";
|
|
506
|
+
weight_space_programming: "weight_space_programming";
|
|
426
507
|
}>;
|
|
427
508
|
price: z.ZodObject<{
|
|
428
509
|
schemaVersion: z.ZodLiteral<"openpond.computeAppliedPrice.v1">;
|
|
@@ -826,8 +907,7 @@ export declare const TrainingModelServingContentSchema: z.ZodObject<{
|
|
|
826
907
|
serverless: z.ZodOptional<z.ZodObject<{
|
|
827
908
|
schemaVersion: z.ZodLiteral<"openpond.serverlessServing.v1">;
|
|
828
909
|
ownerKey: z.ZodString;
|
|
829
|
-
review: z.ZodObject<{
|
|
830
|
-
schemaVersion: z.ZodLiteral<"openpond.serverlessServingReview.v1">;
|
|
910
|
+
review: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
831
911
|
teamId: z.ZodString;
|
|
832
912
|
modelProjectId: z.ZodString;
|
|
833
913
|
versionHash: z.ZodString;
|
|
@@ -847,6 +927,11 @@ export declare const TrainingModelServingContentSchema: z.ZodObject<{
|
|
|
847
927
|
hourlyUsd: z.ZodString;
|
|
848
928
|
service: z.ZodLiteral<"model_serving">;
|
|
849
929
|
}, z.core.$strict>;
|
|
930
|
+
workerIdleTimeoutSeconds: z.ZodLiteral<5>;
|
|
931
|
+
maximumRequestMillis: z.ZodLiteral<540000>;
|
|
932
|
+
expiresAt: z.ZodISODateTime;
|
|
933
|
+
contentHash: z.ZodString;
|
|
934
|
+
schemaVersion: z.ZodLiteral<"openpond.serverlessServingReview.v1">;
|
|
850
935
|
rules: z.ZodObject<{
|
|
851
936
|
quantity: z.ZodLiteral<"allocated_engine_milliseconds">;
|
|
852
937
|
allocation: z.ZodLiteral<"equal_billing_principal_then_request">;
|
|
@@ -858,11 +943,87 @@ export declare const TrainingModelServingContentSchema: z.ZodObject<{
|
|
|
858
943
|
tokenRetailUsd: z.ZodLiteral<"0.000000">;
|
|
859
944
|
minimumBillableMillis: z.ZodLiteral<0>;
|
|
860
945
|
}, z.core.$strict>;
|
|
946
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
947
|
+
teamId: z.ZodString;
|
|
948
|
+
modelProjectId: z.ZodString;
|
|
949
|
+
versionHash: z.ZodString;
|
|
950
|
+
artifact: z.ZodObject<{
|
|
951
|
+
id: z.ZodString;
|
|
952
|
+
contentHash: z.ZodString;
|
|
953
|
+
}, z.core.$strict>;
|
|
954
|
+
baseProfileId: z.ZodString;
|
|
955
|
+
workerImageDigest: z.ZodString;
|
|
956
|
+
providerConfigurationHash: z.ZodString;
|
|
957
|
+
price: z.ZodObject<{
|
|
958
|
+
schemaVersion: z.ZodLiteral<"openpond.computeAppliedPrice.v1">;
|
|
959
|
+
version: z.ZodString;
|
|
960
|
+
profileHash: z.ZodString;
|
|
961
|
+
currency: z.ZodLiteral<"USD">;
|
|
962
|
+
unit: z.ZodLiteral<"resource_hour">;
|
|
963
|
+
hourlyUsd: z.ZodString;
|
|
964
|
+
service: z.ZodLiteral<"model_serving">;
|
|
965
|
+
}, z.core.$strict>;
|
|
861
966
|
workerIdleTimeoutSeconds: z.ZodLiteral<5>;
|
|
862
967
|
maximumRequestMillis: z.ZodLiteral<540000>;
|
|
863
968
|
expiresAt: z.ZodISODateTime;
|
|
864
969
|
contentHash: z.ZodString;
|
|
865
|
-
|
|
970
|
+
schemaVersion: z.ZodLiteral<"openpond.serverlessServingReview.v2">;
|
|
971
|
+
rules: z.ZodObject<{
|
|
972
|
+
quantity: z.ZodLiteral<"allocated_worker_milliseconds">;
|
|
973
|
+
allocation: z.ZodLiteral<"equal_billing_principal_then_request">;
|
|
974
|
+
startupBillable: z.ZodLiteral<true>;
|
|
975
|
+
idleBillable: z.ZodLiteral<true>;
|
|
976
|
+
cleanupBillable: z.ZodLiteral<true>;
|
|
977
|
+
queueBillable: z.ZodLiteral<false>;
|
|
978
|
+
failure: z.ZodLiteral<"observed_worker_runtime">;
|
|
979
|
+
cancellation: z.ZodLiteral<"until_worker_stop">;
|
|
980
|
+
tokenRetailUsd: z.ZodLiteral<"0.000000">;
|
|
981
|
+
minimumBillableMillis: z.ZodLiteral<0>;
|
|
982
|
+
supplierRounding: z.ZodLiteral<"ceil_worker_lifetime_second_once">;
|
|
983
|
+
}, z.core.$strict>;
|
|
984
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
985
|
+
teamId: z.ZodString;
|
|
986
|
+
modelProjectId: z.ZodString;
|
|
987
|
+
versionHash: z.ZodString;
|
|
988
|
+
artifact: z.ZodObject<{
|
|
989
|
+
id: z.ZodString;
|
|
990
|
+
contentHash: z.ZodString;
|
|
991
|
+
}, z.core.$strict>;
|
|
992
|
+
baseProfileId: z.ZodString;
|
|
993
|
+
workerImageDigest: z.ZodString;
|
|
994
|
+
providerConfigurationHash: z.ZodString;
|
|
995
|
+
price: z.ZodObject<{
|
|
996
|
+
schemaVersion: z.ZodLiteral<"openpond.computeAppliedPrice.v1">;
|
|
997
|
+
version: z.ZodString;
|
|
998
|
+
profileHash: z.ZodString;
|
|
999
|
+
currency: z.ZodLiteral<"USD">;
|
|
1000
|
+
unit: z.ZodLiteral<"resource_hour">;
|
|
1001
|
+
hourlyUsd: z.ZodString;
|
|
1002
|
+
service: z.ZodLiteral<"model_serving">;
|
|
1003
|
+
}, z.core.$strict>;
|
|
1004
|
+
maximumRequestMillis: z.ZodLiteral<540000>;
|
|
1005
|
+
expiresAt: z.ZodISODateTime;
|
|
1006
|
+
contentHash: z.ZodString;
|
|
1007
|
+
rules: z.ZodObject<{
|
|
1008
|
+
quantity: z.ZodLiteral<"allocated_worker_milliseconds">;
|
|
1009
|
+
allocation: z.ZodLiteral<"equal_billing_principal_then_request">;
|
|
1010
|
+
startupBillable: z.ZodLiteral<true>;
|
|
1011
|
+
idleBillable: z.ZodLiteral<true>;
|
|
1012
|
+
cleanupBillable: z.ZodLiteral<true>;
|
|
1013
|
+
queueBillable: z.ZodLiteral<false>;
|
|
1014
|
+
failure: z.ZodLiteral<"observed_worker_runtime">;
|
|
1015
|
+
cancellation: z.ZodLiteral<"until_worker_stop">;
|
|
1016
|
+
tokenRetailUsd: z.ZodLiteral<"0.000000">;
|
|
1017
|
+
minimumBillableMillis: z.ZodLiteral<0>;
|
|
1018
|
+
supplierRounding: z.ZodLiteral<"ceil_worker_lifetime_second_once">;
|
|
1019
|
+
}, z.core.$strict>;
|
|
1020
|
+
schemaVersion: z.ZodLiteral<"openpond.serverlessServingReview.v3">;
|
|
1021
|
+
workerIdleTimeoutSeconds: z.ZodUnion<readonly [z.ZodLiteral<5>, z.ZodLiteral<60>]>;
|
|
1022
|
+
hardware: z.ZodOptional<z.ZodObject<{
|
|
1023
|
+
selection: z.ZodLiteral<"automatic">;
|
|
1024
|
+
gpuTypeIds: z.ZodArray<z.ZodString>;
|
|
1025
|
+
}, z.core.$strict>>;
|
|
1026
|
+
}, z.core.$strict>], "schemaVersion">;
|
|
866
1027
|
customerCapUsd: z.ZodNullable<z.ZodString>;
|
|
867
1028
|
state: z.ZodEnum<{
|
|
868
1029
|
active: "active";
|
|
@@ -876,6 +1037,28 @@ export declare const TrainingModelServingContentSchema: z.ZodObject<{
|
|
|
876
1037
|
pending: "pending";
|
|
877
1038
|
reconciled: "reconciled";
|
|
878
1039
|
}>;
|
|
1040
|
+
usage: z.ZodOptional<z.ZodObject<{
|
|
1041
|
+
mode: z.ZodLiteral<"periodic_actual_usage">;
|
|
1042
|
+
phase: z.ZodEnum<{
|
|
1043
|
+
closed: "closed";
|
|
1044
|
+
running: "running";
|
|
1045
|
+
starting: "starting";
|
|
1046
|
+
stopping: "stopping";
|
|
1047
|
+
waiting_capacity: "waiting_capacity";
|
|
1048
|
+
waiting_funding: "waiting_funding";
|
|
1049
|
+
waiting_platform: "waiting_platform";
|
|
1050
|
+
}>;
|
|
1051
|
+
ratedUsd: z.ZodString;
|
|
1052
|
+
chargedUsd: z.ZodString;
|
|
1053
|
+
prepaidDebitedUsd: z.ZodString;
|
|
1054
|
+
includedUsageUsd: z.ZodString;
|
|
1055
|
+
pendingEvidence: z.ZodBoolean;
|
|
1056
|
+
lastEvidenceAt: z.ZodNullable<z.ZodISODateTime>;
|
|
1057
|
+
lastDebitAt: z.ZodNullable<z.ZodISODateTime>;
|
|
1058
|
+
nextDebitAt: z.ZodNullable<z.ZodISODateTime>;
|
|
1059
|
+
retryAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
1060
|
+
stopReason: z.ZodNullable<z.ZodString>;
|
|
1061
|
+
}, z.core.$strict>>;
|
|
879
1062
|
}, z.core.$strict>>;
|
|
880
1063
|
usage: z.ZodOptional<z.ZodObject<{
|
|
881
1064
|
schemaVersion: z.ZodLiteral<"openpond.managedServingUsage.v1">;
|
|
@@ -955,8 +1138,7 @@ export declare const TrainingModelServingContentSchema: z.ZodObject<{
|
|
|
955
1138
|
serverless: z.ZodOptional<z.ZodObject<{
|
|
956
1139
|
schemaVersion: z.ZodLiteral<"openpond.serverlessServing.v1">;
|
|
957
1140
|
ownerKey: z.ZodString;
|
|
958
|
-
review: z.ZodObject<{
|
|
959
|
-
schemaVersion: z.ZodLiteral<"openpond.serverlessServingReview.v1">;
|
|
1141
|
+
review: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
960
1142
|
teamId: z.ZodString;
|
|
961
1143
|
modelProjectId: z.ZodString;
|
|
962
1144
|
versionHash: z.ZodString;
|
|
@@ -976,6 +1158,11 @@ export declare const TrainingModelServingContentSchema: z.ZodObject<{
|
|
|
976
1158
|
hourlyUsd: z.ZodString;
|
|
977
1159
|
service: z.ZodLiteral<"model_serving">;
|
|
978
1160
|
}, z.core.$strict>;
|
|
1161
|
+
workerIdleTimeoutSeconds: z.ZodLiteral<5>;
|
|
1162
|
+
maximumRequestMillis: z.ZodLiteral<540000>;
|
|
1163
|
+
expiresAt: z.ZodISODateTime;
|
|
1164
|
+
contentHash: z.ZodString;
|
|
1165
|
+
schemaVersion: z.ZodLiteral<"openpond.serverlessServingReview.v1">;
|
|
979
1166
|
rules: z.ZodObject<{
|
|
980
1167
|
quantity: z.ZodLiteral<"allocated_engine_milliseconds">;
|
|
981
1168
|
allocation: z.ZodLiteral<"equal_billing_principal_then_request">;
|
|
@@ -987,11 +1174,87 @@ export declare const TrainingModelServingContentSchema: z.ZodObject<{
|
|
|
987
1174
|
tokenRetailUsd: z.ZodLiteral<"0.000000">;
|
|
988
1175
|
minimumBillableMillis: z.ZodLiteral<0>;
|
|
989
1176
|
}, z.core.$strict>;
|
|
1177
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1178
|
+
teamId: z.ZodString;
|
|
1179
|
+
modelProjectId: z.ZodString;
|
|
1180
|
+
versionHash: z.ZodString;
|
|
1181
|
+
artifact: z.ZodObject<{
|
|
1182
|
+
id: z.ZodString;
|
|
1183
|
+
contentHash: z.ZodString;
|
|
1184
|
+
}, z.core.$strict>;
|
|
1185
|
+
baseProfileId: z.ZodString;
|
|
1186
|
+
workerImageDigest: z.ZodString;
|
|
1187
|
+
providerConfigurationHash: z.ZodString;
|
|
1188
|
+
price: z.ZodObject<{
|
|
1189
|
+
schemaVersion: z.ZodLiteral<"openpond.computeAppliedPrice.v1">;
|
|
1190
|
+
version: z.ZodString;
|
|
1191
|
+
profileHash: z.ZodString;
|
|
1192
|
+
currency: z.ZodLiteral<"USD">;
|
|
1193
|
+
unit: z.ZodLiteral<"resource_hour">;
|
|
1194
|
+
hourlyUsd: z.ZodString;
|
|
1195
|
+
service: z.ZodLiteral<"model_serving">;
|
|
1196
|
+
}, z.core.$strict>;
|
|
990
1197
|
workerIdleTimeoutSeconds: z.ZodLiteral<5>;
|
|
991
1198
|
maximumRequestMillis: z.ZodLiteral<540000>;
|
|
992
1199
|
expiresAt: z.ZodISODateTime;
|
|
993
1200
|
contentHash: z.ZodString;
|
|
994
|
-
|
|
1201
|
+
schemaVersion: z.ZodLiteral<"openpond.serverlessServingReview.v2">;
|
|
1202
|
+
rules: z.ZodObject<{
|
|
1203
|
+
quantity: z.ZodLiteral<"allocated_worker_milliseconds">;
|
|
1204
|
+
allocation: z.ZodLiteral<"equal_billing_principal_then_request">;
|
|
1205
|
+
startupBillable: z.ZodLiteral<true>;
|
|
1206
|
+
idleBillable: z.ZodLiteral<true>;
|
|
1207
|
+
cleanupBillable: z.ZodLiteral<true>;
|
|
1208
|
+
queueBillable: z.ZodLiteral<false>;
|
|
1209
|
+
failure: z.ZodLiteral<"observed_worker_runtime">;
|
|
1210
|
+
cancellation: z.ZodLiteral<"until_worker_stop">;
|
|
1211
|
+
tokenRetailUsd: z.ZodLiteral<"0.000000">;
|
|
1212
|
+
minimumBillableMillis: z.ZodLiteral<0>;
|
|
1213
|
+
supplierRounding: z.ZodLiteral<"ceil_worker_lifetime_second_once">;
|
|
1214
|
+
}, z.core.$strict>;
|
|
1215
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1216
|
+
teamId: z.ZodString;
|
|
1217
|
+
modelProjectId: z.ZodString;
|
|
1218
|
+
versionHash: z.ZodString;
|
|
1219
|
+
artifact: z.ZodObject<{
|
|
1220
|
+
id: z.ZodString;
|
|
1221
|
+
contentHash: z.ZodString;
|
|
1222
|
+
}, z.core.$strict>;
|
|
1223
|
+
baseProfileId: z.ZodString;
|
|
1224
|
+
workerImageDigest: z.ZodString;
|
|
1225
|
+
providerConfigurationHash: z.ZodString;
|
|
1226
|
+
price: z.ZodObject<{
|
|
1227
|
+
schemaVersion: z.ZodLiteral<"openpond.computeAppliedPrice.v1">;
|
|
1228
|
+
version: z.ZodString;
|
|
1229
|
+
profileHash: z.ZodString;
|
|
1230
|
+
currency: z.ZodLiteral<"USD">;
|
|
1231
|
+
unit: z.ZodLiteral<"resource_hour">;
|
|
1232
|
+
hourlyUsd: z.ZodString;
|
|
1233
|
+
service: z.ZodLiteral<"model_serving">;
|
|
1234
|
+
}, z.core.$strict>;
|
|
1235
|
+
maximumRequestMillis: z.ZodLiteral<540000>;
|
|
1236
|
+
expiresAt: z.ZodISODateTime;
|
|
1237
|
+
contentHash: z.ZodString;
|
|
1238
|
+
rules: z.ZodObject<{
|
|
1239
|
+
quantity: z.ZodLiteral<"allocated_worker_milliseconds">;
|
|
1240
|
+
allocation: z.ZodLiteral<"equal_billing_principal_then_request">;
|
|
1241
|
+
startupBillable: z.ZodLiteral<true>;
|
|
1242
|
+
idleBillable: z.ZodLiteral<true>;
|
|
1243
|
+
cleanupBillable: z.ZodLiteral<true>;
|
|
1244
|
+
queueBillable: z.ZodLiteral<false>;
|
|
1245
|
+
failure: z.ZodLiteral<"observed_worker_runtime">;
|
|
1246
|
+
cancellation: z.ZodLiteral<"until_worker_stop">;
|
|
1247
|
+
tokenRetailUsd: z.ZodLiteral<"0.000000">;
|
|
1248
|
+
minimumBillableMillis: z.ZodLiteral<0>;
|
|
1249
|
+
supplierRounding: z.ZodLiteral<"ceil_worker_lifetime_second_once">;
|
|
1250
|
+
}, z.core.$strict>;
|
|
1251
|
+
schemaVersion: z.ZodLiteral<"openpond.serverlessServingReview.v3">;
|
|
1252
|
+
workerIdleTimeoutSeconds: z.ZodUnion<readonly [z.ZodLiteral<5>, z.ZodLiteral<60>]>;
|
|
1253
|
+
hardware: z.ZodOptional<z.ZodObject<{
|
|
1254
|
+
selection: z.ZodLiteral<"automatic">;
|
|
1255
|
+
gpuTypeIds: z.ZodArray<z.ZodString>;
|
|
1256
|
+
}, z.core.$strict>>;
|
|
1257
|
+
}, z.core.$strict>], "schemaVersion">;
|
|
995
1258
|
customerCapUsd: z.ZodNullable<z.ZodString>;
|
|
996
1259
|
state: z.ZodEnum<{
|
|
997
1260
|
active: "active";
|
|
@@ -1005,6 +1268,28 @@ export declare const TrainingModelServingContentSchema: z.ZodObject<{
|
|
|
1005
1268
|
pending: "pending";
|
|
1006
1269
|
reconciled: "reconciled";
|
|
1007
1270
|
}>;
|
|
1271
|
+
usage: z.ZodOptional<z.ZodObject<{
|
|
1272
|
+
mode: z.ZodLiteral<"periodic_actual_usage">;
|
|
1273
|
+
phase: z.ZodEnum<{
|
|
1274
|
+
closed: "closed";
|
|
1275
|
+
running: "running";
|
|
1276
|
+
starting: "starting";
|
|
1277
|
+
stopping: "stopping";
|
|
1278
|
+
waiting_capacity: "waiting_capacity";
|
|
1279
|
+
waiting_funding: "waiting_funding";
|
|
1280
|
+
waiting_platform: "waiting_platform";
|
|
1281
|
+
}>;
|
|
1282
|
+
ratedUsd: z.ZodString;
|
|
1283
|
+
chargedUsd: z.ZodString;
|
|
1284
|
+
prepaidDebitedUsd: z.ZodString;
|
|
1285
|
+
includedUsageUsd: z.ZodString;
|
|
1286
|
+
pendingEvidence: z.ZodBoolean;
|
|
1287
|
+
lastEvidenceAt: z.ZodNullable<z.ZodISODateTime>;
|
|
1288
|
+
lastDebitAt: z.ZodNullable<z.ZodISODateTime>;
|
|
1289
|
+
nextDebitAt: z.ZodNullable<z.ZodISODateTime>;
|
|
1290
|
+
retryAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
1291
|
+
stopReason: z.ZodNullable<z.ZodString>;
|
|
1292
|
+
}, z.core.$strict>>;
|
|
1008
1293
|
}, z.core.$strict>>;
|
|
1009
1294
|
usage: z.ZodOptional<z.ZodObject<{
|
|
1010
1295
|
schemaVersion: z.ZodLiteral<"openpond.managedServingUsage.v1">;
|
|
@@ -1154,8 +1439,7 @@ export declare const TrainingModelServingContentSchema: z.ZodObject<{
|
|
|
1154
1439
|
}>;
|
|
1155
1440
|
}, z.core.$strict>;
|
|
1156
1441
|
export declare const TrainingModelServingSchema: z.ZodObject<{
|
|
1157
|
-
serverlessReview: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1158
|
-
schemaVersion: z.ZodLiteral<"openpond.serverlessServingReview.v1">;
|
|
1442
|
+
serverlessReview: z.ZodOptional<z.ZodNullable<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1159
1443
|
teamId: z.ZodString;
|
|
1160
1444
|
modelProjectId: z.ZodString;
|
|
1161
1445
|
versionHash: z.ZodString;
|
|
@@ -1175,6 +1459,11 @@ export declare const TrainingModelServingSchema: z.ZodObject<{
|
|
|
1175
1459
|
hourlyUsd: z.ZodString;
|
|
1176
1460
|
service: z.ZodLiteral<"model_serving">;
|
|
1177
1461
|
}, z.core.$strict>;
|
|
1462
|
+
workerIdleTimeoutSeconds: z.ZodLiteral<5>;
|
|
1463
|
+
maximumRequestMillis: z.ZodLiteral<540000>;
|
|
1464
|
+
expiresAt: z.ZodISODateTime;
|
|
1465
|
+
contentHash: z.ZodString;
|
|
1466
|
+
schemaVersion: z.ZodLiteral<"openpond.serverlessServingReview.v1">;
|
|
1178
1467
|
rules: z.ZodObject<{
|
|
1179
1468
|
quantity: z.ZodLiteral<"allocated_engine_milliseconds">;
|
|
1180
1469
|
allocation: z.ZodLiteral<"equal_billing_principal_then_request">;
|
|
@@ -1186,11 +1475,87 @@ export declare const TrainingModelServingSchema: z.ZodObject<{
|
|
|
1186
1475
|
tokenRetailUsd: z.ZodLiteral<"0.000000">;
|
|
1187
1476
|
minimumBillableMillis: z.ZodLiteral<0>;
|
|
1188
1477
|
}, z.core.$strict>;
|
|
1478
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1479
|
+
teamId: z.ZodString;
|
|
1480
|
+
modelProjectId: z.ZodString;
|
|
1481
|
+
versionHash: z.ZodString;
|
|
1482
|
+
artifact: z.ZodObject<{
|
|
1483
|
+
id: z.ZodString;
|
|
1484
|
+
contentHash: z.ZodString;
|
|
1485
|
+
}, z.core.$strict>;
|
|
1486
|
+
baseProfileId: z.ZodString;
|
|
1487
|
+
workerImageDigest: z.ZodString;
|
|
1488
|
+
providerConfigurationHash: z.ZodString;
|
|
1489
|
+
price: z.ZodObject<{
|
|
1490
|
+
schemaVersion: z.ZodLiteral<"openpond.computeAppliedPrice.v1">;
|
|
1491
|
+
version: z.ZodString;
|
|
1492
|
+
profileHash: z.ZodString;
|
|
1493
|
+
currency: z.ZodLiteral<"USD">;
|
|
1494
|
+
unit: z.ZodLiteral<"resource_hour">;
|
|
1495
|
+
hourlyUsd: z.ZodString;
|
|
1496
|
+
service: z.ZodLiteral<"model_serving">;
|
|
1497
|
+
}, z.core.$strict>;
|
|
1189
1498
|
workerIdleTimeoutSeconds: z.ZodLiteral<5>;
|
|
1190
1499
|
maximumRequestMillis: z.ZodLiteral<540000>;
|
|
1191
1500
|
expiresAt: z.ZodISODateTime;
|
|
1192
1501
|
contentHash: z.ZodString;
|
|
1193
|
-
|
|
1502
|
+
schemaVersion: z.ZodLiteral<"openpond.serverlessServingReview.v2">;
|
|
1503
|
+
rules: z.ZodObject<{
|
|
1504
|
+
quantity: z.ZodLiteral<"allocated_worker_milliseconds">;
|
|
1505
|
+
allocation: z.ZodLiteral<"equal_billing_principal_then_request">;
|
|
1506
|
+
startupBillable: z.ZodLiteral<true>;
|
|
1507
|
+
idleBillable: z.ZodLiteral<true>;
|
|
1508
|
+
cleanupBillable: z.ZodLiteral<true>;
|
|
1509
|
+
queueBillable: z.ZodLiteral<false>;
|
|
1510
|
+
failure: z.ZodLiteral<"observed_worker_runtime">;
|
|
1511
|
+
cancellation: z.ZodLiteral<"until_worker_stop">;
|
|
1512
|
+
tokenRetailUsd: z.ZodLiteral<"0.000000">;
|
|
1513
|
+
minimumBillableMillis: z.ZodLiteral<0>;
|
|
1514
|
+
supplierRounding: z.ZodLiteral<"ceil_worker_lifetime_second_once">;
|
|
1515
|
+
}, z.core.$strict>;
|
|
1516
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1517
|
+
teamId: z.ZodString;
|
|
1518
|
+
modelProjectId: z.ZodString;
|
|
1519
|
+
versionHash: z.ZodString;
|
|
1520
|
+
artifact: z.ZodObject<{
|
|
1521
|
+
id: z.ZodString;
|
|
1522
|
+
contentHash: z.ZodString;
|
|
1523
|
+
}, z.core.$strict>;
|
|
1524
|
+
baseProfileId: z.ZodString;
|
|
1525
|
+
workerImageDigest: z.ZodString;
|
|
1526
|
+
providerConfigurationHash: z.ZodString;
|
|
1527
|
+
price: z.ZodObject<{
|
|
1528
|
+
schemaVersion: z.ZodLiteral<"openpond.computeAppliedPrice.v1">;
|
|
1529
|
+
version: z.ZodString;
|
|
1530
|
+
profileHash: z.ZodString;
|
|
1531
|
+
currency: z.ZodLiteral<"USD">;
|
|
1532
|
+
unit: z.ZodLiteral<"resource_hour">;
|
|
1533
|
+
hourlyUsd: z.ZodString;
|
|
1534
|
+
service: z.ZodLiteral<"model_serving">;
|
|
1535
|
+
}, z.core.$strict>;
|
|
1536
|
+
maximumRequestMillis: z.ZodLiteral<540000>;
|
|
1537
|
+
expiresAt: z.ZodISODateTime;
|
|
1538
|
+
contentHash: z.ZodString;
|
|
1539
|
+
rules: z.ZodObject<{
|
|
1540
|
+
quantity: z.ZodLiteral<"allocated_worker_milliseconds">;
|
|
1541
|
+
allocation: z.ZodLiteral<"equal_billing_principal_then_request">;
|
|
1542
|
+
startupBillable: z.ZodLiteral<true>;
|
|
1543
|
+
idleBillable: z.ZodLiteral<true>;
|
|
1544
|
+
cleanupBillable: z.ZodLiteral<true>;
|
|
1545
|
+
queueBillable: z.ZodLiteral<false>;
|
|
1546
|
+
failure: z.ZodLiteral<"observed_worker_runtime">;
|
|
1547
|
+
cancellation: z.ZodLiteral<"until_worker_stop">;
|
|
1548
|
+
tokenRetailUsd: z.ZodLiteral<"0.000000">;
|
|
1549
|
+
minimumBillableMillis: z.ZodLiteral<0>;
|
|
1550
|
+
supplierRounding: z.ZodLiteral<"ceil_worker_lifetime_second_once">;
|
|
1551
|
+
}, z.core.$strict>;
|
|
1552
|
+
schemaVersion: z.ZodLiteral<"openpond.serverlessServingReview.v3">;
|
|
1553
|
+
workerIdleTimeoutSeconds: z.ZodUnion<readonly [z.ZodLiteral<5>, z.ZodLiteral<60>]>;
|
|
1554
|
+
hardware: z.ZodOptional<z.ZodObject<{
|
|
1555
|
+
selection: z.ZodLiteral<"automatic">;
|
|
1556
|
+
gpuTypeIds: z.ZodArray<z.ZodString>;
|
|
1557
|
+
}, z.core.$strict>>;
|
|
1558
|
+
}, z.core.$strict>], "schemaVersion">>>;
|
|
1194
1559
|
usageBilling: z.ZodOptional<z.ZodObject<{
|
|
1195
1560
|
schemaVersion: z.ZodLiteral<"openpond.managedServingUsageReviewResult.v1">;
|
|
1196
1561
|
availability: z.ZodEnum<{
|
|
@@ -1210,6 +1575,7 @@ export declare const TrainingModelServingSchema: z.ZodObject<{
|
|
|
1210
1575
|
selective_neuron_training: "selective_neuron_training";
|
|
1211
1576
|
steering: "steering";
|
|
1212
1577
|
training: "training";
|
|
1578
|
+
weight_space_programming: "weight_space_programming";
|
|
1213
1579
|
}>;
|
|
1214
1580
|
price: z.ZodObject<{
|
|
1215
1581
|
schemaVersion: z.ZodLiteral<"openpond.computeAppliedPrice.v1">;
|
|
@@ -1613,8 +1979,7 @@ export declare const TrainingModelServingSchema: z.ZodObject<{
|
|
|
1613
1979
|
serverless: z.ZodOptional<z.ZodObject<{
|
|
1614
1980
|
schemaVersion: z.ZodLiteral<"openpond.serverlessServing.v1">;
|
|
1615
1981
|
ownerKey: z.ZodString;
|
|
1616
|
-
review: z.ZodObject<{
|
|
1617
|
-
schemaVersion: z.ZodLiteral<"openpond.serverlessServingReview.v1">;
|
|
1982
|
+
review: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1618
1983
|
teamId: z.ZodString;
|
|
1619
1984
|
modelProjectId: z.ZodString;
|
|
1620
1985
|
versionHash: z.ZodString;
|
|
@@ -1634,6 +1999,11 @@ export declare const TrainingModelServingSchema: z.ZodObject<{
|
|
|
1634
1999
|
hourlyUsd: z.ZodString;
|
|
1635
2000
|
service: z.ZodLiteral<"model_serving">;
|
|
1636
2001
|
}, z.core.$strict>;
|
|
2002
|
+
workerIdleTimeoutSeconds: z.ZodLiteral<5>;
|
|
2003
|
+
maximumRequestMillis: z.ZodLiteral<540000>;
|
|
2004
|
+
expiresAt: z.ZodISODateTime;
|
|
2005
|
+
contentHash: z.ZodString;
|
|
2006
|
+
schemaVersion: z.ZodLiteral<"openpond.serverlessServingReview.v1">;
|
|
1637
2007
|
rules: z.ZodObject<{
|
|
1638
2008
|
quantity: z.ZodLiteral<"allocated_engine_milliseconds">;
|
|
1639
2009
|
allocation: z.ZodLiteral<"equal_billing_principal_then_request">;
|
|
@@ -1645,11 +2015,87 @@ export declare const TrainingModelServingSchema: z.ZodObject<{
|
|
|
1645
2015
|
tokenRetailUsd: z.ZodLiteral<"0.000000">;
|
|
1646
2016
|
minimumBillableMillis: z.ZodLiteral<0>;
|
|
1647
2017
|
}, z.core.$strict>;
|
|
1648
|
-
|
|
1649
|
-
|
|
1650
|
-
|
|
1651
|
-
|
|
1652
|
-
|
|
2018
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2019
|
+
teamId: z.ZodString;
|
|
2020
|
+
modelProjectId: z.ZodString;
|
|
2021
|
+
versionHash: z.ZodString;
|
|
2022
|
+
artifact: z.ZodObject<{
|
|
2023
|
+
id: z.ZodString;
|
|
2024
|
+
contentHash: z.ZodString;
|
|
2025
|
+
}, z.core.$strict>;
|
|
2026
|
+
baseProfileId: z.ZodString;
|
|
2027
|
+
workerImageDigest: z.ZodString;
|
|
2028
|
+
providerConfigurationHash: z.ZodString;
|
|
2029
|
+
price: z.ZodObject<{
|
|
2030
|
+
schemaVersion: z.ZodLiteral<"openpond.computeAppliedPrice.v1">;
|
|
2031
|
+
version: z.ZodString;
|
|
2032
|
+
profileHash: z.ZodString;
|
|
2033
|
+
currency: z.ZodLiteral<"USD">;
|
|
2034
|
+
unit: z.ZodLiteral<"resource_hour">;
|
|
2035
|
+
hourlyUsd: z.ZodString;
|
|
2036
|
+
service: z.ZodLiteral<"model_serving">;
|
|
2037
|
+
}, z.core.$strict>;
|
|
2038
|
+
workerIdleTimeoutSeconds: z.ZodLiteral<5>;
|
|
2039
|
+
maximumRequestMillis: z.ZodLiteral<540000>;
|
|
2040
|
+
expiresAt: z.ZodISODateTime;
|
|
2041
|
+
contentHash: z.ZodString;
|
|
2042
|
+
schemaVersion: z.ZodLiteral<"openpond.serverlessServingReview.v2">;
|
|
2043
|
+
rules: z.ZodObject<{
|
|
2044
|
+
quantity: z.ZodLiteral<"allocated_worker_milliseconds">;
|
|
2045
|
+
allocation: z.ZodLiteral<"equal_billing_principal_then_request">;
|
|
2046
|
+
startupBillable: z.ZodLiteral<true>;
|
|
2047
|
+
idleBillable: z.ZodLiteral<true>;
|
|
2048
|
+
cleanupBillable: z.ZodLiteral<true>;
|
|
2049
|
+
queueBillable: z.ZodLiteral<false>;
|
|
2050
|
+
failure: z.ZodLiteral<"observed_worker_runtime">;
|
|
2051
|
+
cancellation: z.ZodLiteral<"until_worker_stop">;
|
|
2052
|
+
tokenRetailUsd: z.ZodLiteral<"0.000000">;
|
|
2053
|
+
minimumBillableMillis: z.ZodLiteral<0>;
|
|
2054
|
+
supplierRounding: z.ZodLiteral<"ceil_worker_lifetime_second_once">;
|
|
2055
|
+
}, z.core.$strict>;
|
|
2056
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2057
|
+
teamId: z.ZodString;
|
|
2058
|
+
modelProjectId: z.ZodString;
|
|
2059
|
+
versionHash: z.ZodString;
|
|
2060
|
+
artifact: z.ZodObject<{
|
|
2061
|
+
id: z.ZodString;
|
|
2062
|
+
contentHash: z.ZodString;
|
|
2063
|
+
}, z.core.$strict>;
|
|
2064
|
+
baseProfileId: z.ZodString;
|
|
2065
|
+
workerImageDigest: z.ZodString;
|
|
2066
|
+
providerConfigurationHash: z.ZodString;
|
|
2067
|
+
price: z.ZodObject<{
|
|
2068
|
+
schemaVersion: z.ZodLiteral<"openpond.computeAppliedPrice.v1">;
|
|
2069
|
+
version: z.ZodString;
|
|
2070
|
+
profileHash: z.ZodString;
|
|
2071
|
+
currency: z.ZodLiteral<"USD">;
|
|
2072
|
+
unit: z.ZodLiteral<"resource_hour">;
|
|
2073
|
+
hourlyUsd: z.ZodString;
|
|
2074
|
+
service: z.ZodLiteral<"model_serving">;
|
|
2075
|
+
}, z.core.$strict>;
|
|
2076
|
+
maximumRequestMillis: z.ZodLiteral<540000>;
|
|
2077
|
+
expiresAt: z.ZodISODateTime;
|
|
2078
|
+
contentHash: z.ZodString;
|
|
2079
|
+
rules: z.ZodObject<{
|
|
2080
|
+
quantity: z.ZodLiteral<"allocated_worker_milliseconds">;
|
|
2081
|
+
allocation: z.ZodLiteral<"equal_billing_principal_then_request">;
|
|
2082
|
+
startupBillable: z.ZodLiteral<true>;
|
|
2083
|
+
idleBillable: z.ZodLiteral<true>;
|
|
2084
|
+
cleanupBillable: z.ZodLiteral<true>;
|
|
2085
|
+
queueBillable: z.ZodLiteral<false>;
|
|
2086
|
+
failure: z.ZodLiteral<"observed_worker_runtime">;
|
|
2087
|
+
cancellation: z.ZodLiteral<"until_worker_stop">;
|
|
2088
|
+
tokenRetailUsd: z.ZodLiteral<"0.000000">;
|
|
2089
|
+
minimumBillableMillis: z.ZodLiteral<0>;
|
|
2090
|
+
supplierRounding: z.ZodLiteral<"ceil_worker_lifetime_second_once">;
|
|
2091
|
+
}, z.core.$strict>;
|
|
2092
|
+
schemaVersion: z.ZodLiteral<"openpond.serverlessServingReview.v3">;
|
|
2093
|
+
workerIdleTimeoutSeconds: z.ZodUnion<readonly [z.ZodLiteral<5>, z.ZodLiteral<60>]>;
|
|
2094
|
+
hardware: z.ZodOptional<z.ZodObject<{
|
|
2095
|
+
selection: z.ZodLiteral<"automatic">;
|
|
2096
|
+
gpuTypeIds: z.ZodArray<z.ZodString>;
|
|
2097
|
+
}, z.core.$strict>>;
|
|
2098
|
+
}, z.core.$strict>], "schemaVersion">;
|
|
1653
2099
|
customerCapUsd: z.ZodNullable<z.ZodString>;
|
|
1654
2100
|
state: z.ZodEnum<{
|
|
1655
2101
|
active: "active";
|
|
@@ -1663,6 +2109,28 @@ export declare const TrainingModelServingSchema: z.ZodObject<{
|
|
|
1663
2109
|
pending: "pending";
|
|
1664
2110
|
reconciled: "reconciled";
|
|
1665
2111
|
}>;
|
|
2112
|
+
usage: z.ZodOptional<z.ZodObject<{
|
|
2113
|
+
mode: z.ZodLiteral<"periodic_actual_usage">;
|
|
2114
|
+
phase: z.ZodEnum<{
|
|
2115
|
+
closed: "closed";
|
|
2116
|
+
running: "running";
|
|
2117
|
+
starting: "starting";
|
|
2118
|
+
stopping: "stopping";
|
|
2119
|
+
waiting_capacity: "waiting_capacity";
|
|
2120
|
+
waiting_funding: "waiting_funding";
|
|
2121
|
+
waiting_platform: "waiting_platform";
|
|
2122
|
+
}>;
|
|
2123
|
+
ratedUsd: z.ZodString;
|
|
2124
|
+
chargedUsd: z.ZodString;
|
|
2125
|
+
prepaidDebitedUsd: z.ZodString;
|
|
2126
|
+
includedUsageUsd: z.ZodString;
|
|
2127
|
+
pendingEvidence: z.ZodBoolean;
|
|
2128
|
+
lastEvidenceAt: z.ZodNullable<z.ZodISODateTime>;
|
|
2129
|
+
lastDebitAt: z.ZodNullable<z.ZodISODateTime>;
|
|
2130
|
+
nextDebitAt: z.ZodNullable<z.ZodISODateTime>;
|
|
2131
|
+
retryAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
2132
|
+
stopReason: z.ZodNullable<z.ZodString>;
|
|
2133
|
+
}, z.core.$strict>>;
|
|
1666
2134
|
}, z.core.$strict>>;
|
|
1667
2135
|
usage: z.ZodOptional<z.ZodObject<{
|
|
1668
2136
|
schemaVersion: z.ZodLiteral<"openpond.managedServingUsage.v1">;
|
|
@@ -1742,8 +2210,7 @@ export declare const TrainingModelServingSchema: z.ZodObject<{
|
|
|
1742
2210
|
serverless: z.ZodOptional<z.ZodObject<{
|
|
1743
2211
|
schemaVersion: z.ZodLiteral<"openpond.serverlessServing.v1">;
|
|
1744
2212
|
ownerKey: z.ZodString;
|
|
1745
|
-
review: z.ZodObject<{
|
|
1746
|
-
schemaVersion: z.ZodLiteral<"openpond.serverlessServingReview.v1">;
|
|
2213
|
+
review: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1747
2214
|
teamId: z.ZodString;
|
|
1748
2215
|
modelProjectId: z.ZodString;
|
|
1749
2216
|
versionHash: z.ZodString;
|
|
@@ -1763,6 +2230,11 @@ export declare const TrainingModelServingSchema: z.ZodObject<{
|
|
|
1763
2230
|
hourlyUsd: z.ZodString;
|
|
1764
2231
|
service: z.ZodLiteral<"model_serving">;
|
|
1765
2232
|
}, z.core.$strict>;
|
|
2233
|
+
workerIdleTimeoutSeconds: z.ZodLiteral<5>;
|
|
2234
|
+
maximumRequestMillis: z.ZodLiteral<540000>;
|
|
2235
|
+
expiresAt: z.ZodISODateTime;
|
|
2236
|
+
contentHash: z.ZodString;
|
|
2237
|
+
schemaVersion: z.ZodLiteral<"openpond.serverlessServingReview.v1">;
|
|
1766
2238
|
rules: z.ZodObject<{
|
|
1767
2239
|
quantity: z.ZodLiteral<"allocated_engine_milliseconds">;
|
|
1768
2240
|
allocation: z.ZodLiteral<"equal_billing_principal_then_request">;
|
|
@@ -1774,11 +2246,87 @@ export declare const TrainingModelServingSchema: z.ZodObject<{
|
|
|
1774
2246
|
tokenRetailUsd: z.ZodLiteral<"0.000000">;
|
|
1775
2247
|
minimumBillableMillis: z.ZodLiteral<0>;
|
|
1776
2248
|
}, z.core.$strict>;
|
|
2249
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2250
|
+
teamId: z.ZodString;
|
|
2251
|
+
modelProjectId: z.ZodString;
|
|
2252
|
+
versionHash: z.ZodString;
|
|
2253
|
+
artifact: z.ZodObject<{
|
|
2254
|
+
id: z.ZodString;
|
|
2255
|
+
contentHash: z.ZodString;
|
|
2256
|
+
}, z.core.$strict>;
|
|
2257
|
+
baseProfileId: z.ZodString;
|
|
2258
|
+
workerImageDigest: z.ZodString;
|
|
2259
|
+
providerConfigurationHash: z.ZodString;
|
|
2260
|
+
price: z.ZodObject<{
|
|
2261
|
+
schemaVersion: z.ZodLiteral<"openpond.computeAppliedPrice.v1">;
|
|
2262
|
+
version: z.ZodString;
|
|
2263
|
+
profileHash: z.ZodString;
|
|
2264
|
+
currency: z.ZodLiteral<"USD">;
|
|
2265
|
+
unit: z.ZodLiteral<"resource_hour">;
|
|
2266
|
+
hourlyUsd: z.ZodString;
|
|
2267
|
+
service: z.ZodLiteral<"model_serving">;
|
|
2268
|
+
}, z.core.$strict>;
|
|
1777
2269
|
workerIdleTimeoutSeconds: z.ZodLiteral<5>;
|
|
1778
2270
|
maximumRequestMillis: z.ZodLiteral<540000>;
|
|
1779
2271
|
expiresAt: z.ZodISODateTime;
|
|
1780
2272
|
contentHash: z.ZodString;
|
|
1781
|
-
|
|
2273
|
+
schemaVersion: z.ZodLiteral<"openpond.serverlessServingReview.v2">;
|
|
2274
|
+
rules: z.ZodObject<{
|
|
2275
|
+
quantity: z.ZodLiteral<"allocated_worker_milliseconds">;
|
|
2276
|
+
allocation: z.ZodLiteral<"equal_billing_principal_then_request">;
|
|
2277
|
+
startupBillable: z.ZodLiteral<true>;
|
|
2278
|
+
idleBillable: z.ZodLiteral<true>;
|
|
2279
|
+
cleanupBillable: z.ZodLiteral<true>;
|
|
2280
|
+
queueBillable: z.ZodLiteral<false>;
|
|
2281
|
+
failure: z.ZodLiteral<"observed_worker_runtime">;
|
|
2282
|
+
cancellation: z.ZodLiteral<"until_worker_stop">;
|
|
2283
|
+
tokenRetailUsd: z.ZodLiteral<"0.000000">;
|
|
2284
|
+
minimumBillableMillis: z.ZodLiteral<0>;
|
|
2285
|
+
supplierRounding: z.ZodLiteral<"ceil_worker_lifetime_second_once">;
|
|
2286
|
+
}, z.core.$strict>;
|
|
2287
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2288
|
+
teamId: z.ZodString;
|
|
2289
|
+
modelProjectId: z.ZodString;
|
|
2290
|
+
versionHash: z.ZodString;
|
|
2291
|
+
artifact: z.ZodObject<{
|
|
2292
|
+
id: z.ZodString;
|
|
2293
|
+
contentHash: z.ZodString;
|
|
2294
|
+
}, z.core.$strict>;
|
|
2295
|
+
baseProfileId: z.ZodString;
|
|
2296
|
+
workerImageDigest: z.ZodString;
|
|
2297
|
+
providerConfigurationHash: z.ZodString;
|
|
2298
|
+
price: z.ZodObject<{
|
|
2299
|
+
schemaVersion: z.ZodLiteral<"openpond.computeAppliedPrice.v1">;
|
|
2300
|
+
version: z.ZodString;
|
|
2301
|
+
profileHash: z.ZodString;
|
|
2302
|
+
currency: z.ZodLiteral<"USD">;
|
|
2303
|
+
unit: z.ZodLiteral<"resource_hour">;
|
|
2304
|
+
hourlyUsd: z.ZodString;
|
|
2305
|
+
service: z.ZodLiteral<"model_serving">;
|
|
2306
|
+
}, z.core.$strict>;
|
|
2307
|
+
maximumRequestMillis: z.ZodLiteral<540000>;
|
|
2308
|
+
expiresAt: z.ZodISODateTime;
|
|
2309
|
+
contentHash: z.ZodString;
|
|
2310
|
+
rules: z.ZodObject<{
|
|
2311
|
+
quantity: z.ZodLiteral<"allocated_worker_milliseconds">;
|
|
2312
|
+
allocation: z.ZodLiteral<"equal_billing_principal_then_request">;
|
|
2313
|
+
startupBillable: z.ZodLiteral<true>;
|
|
2314
|
+
idleBillable: z.ZodLiteral<true>;
|
|
2315
|
+
cleanupBillable: z.ZodLiteral<true>;
|
|
2316
|
+
queueBillable: z.ZodLiteral<false>;
|
|
2317
|
+
failure: z.ZodLiteral<"observed_worker_runtime">;
|
|
2318
|
+
cancellation: z.ZodLiteral<"until_worker_stop">;
|
|
2319
|
+
tokenRetailUsd: z.ZodLiteral<"0.000000">;
|
|
2320
|
+
minimumBillableMillis: z.ZodLiteral<0>;
|
|
2321
|
+
supplierRounding: z.ZodLiteral<"ceil_worker_lifetime_second_once">;
|
|
2322
|
+
}, z.core.$strict>;
|
|
2323
|
+
schemaVersion: z.ZodLiteral<"openpond.serverlessServingReview.v3">;
|
|
2324
|
+
workerIdleTimeoutSeconds: z.ZodUnion<readonly [z.ZodLiteral<5>, z.ZodLiteral<60>]>;
|
|
2325
|
+
hardware: z.ZodOptional<z.ZodObject<{
|
|
2326
|
+
selection: z.ZodLiteral<"automatic">;
|
|
2327
|
+
gpuTypeIds: z.ZodArray<z.ZodString>;
|
|
2328
|
+
}, z.core.$strict>>;
|
|
2329
|
+
}, z.core.$strict>], "schemaVersion">;
|
|
1782
2330
|
customerCapUsd: z.ZodNullable<z.ZodString>;
|
|
1783
2331
|
state: z.ZodEnum<{
|
|
1784
2332
|
active: "active";
|
|
@@ -1792,6 +2340,28 @@ export declare const TrainingModelServingSchema: z.ZodObject<{
|
|
|
1792
2340
|
pending: "pending";
|
|
1793
2341
|
reconciled: "reconciled";
|
|
1794
2342
|
}>;
|
|
2343
|
+
usage: z.ZodOptional<z.ZodObject<{
|
|
2344
|
+
mode: z.ZodLiteral<"periodic_actual_usage">;
|
|
2345
|
+
phase: z.ZodEnum<{
|
|
2346
|
+
closed: "closed";
|
|
2347
|
+
running: "running";
|
|
2348
|
+
starting: "starting";
|
|
2349
|
+
stopping: "stopping";
|
|
2350
|
+
waiting_capacity: "waiting_capacity";
|
|
2351
|
+
waiting_funding: "waiting_funding";
|
|
2352
|
+
waiting_platform: "waiting_platform";
|
|
2353
|
+
}>;
|
|
2354
|
+
ratedUsd: z.ZodString;
|
|
2355
|
+
chargedUsd: z.ZodString;
|
|
2356
|
+
prepaidDebitedUsd: z.ZodString;
|
|
2357
|
+
includedUsageUsd: z.ZodString;
|
|
2358
|
+
pendingEvidence: z.ZodBoolean;
|
|
2359
|
+
lastEvidenceAt: z.ZodNullable<z.ZodISODateTime>;
|
|
2360
|
+
lastDebitAt: z.ZodNullable<z.ZodISODateTime>;
|
|
2361
|
+
nextDebitAt: z.ZodNullable<z.ZodISODateTime>;
|
|
2362
|
+
retryAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
2363
|
+
stopReason: z.ZodNullable<z.ZodString>;
|
|
2364
|
+
}, z.core.$strict>>;
|
|
1795
2365
|
}, z.core.$strict>>;
|
|
1796
2366
|
usage: z.ZodOptional<z.ZodObject<{
|
|
1797
2367
|
schemaVersion: z.ZodLiteral<"openpond.managedServingUsage.v1">;
|
|
@@ -1951,7 +2521,6 @@ export declare function parseAndVerifyTrainingModelServing(raw: unknown, expecte
|
|
|
1951
2521
|
versionHash: string;
|
|
1952
2522
|
}): Promise<{
|
|
1953
2523
|
serverlessReview?: {
|
|
1954
|
-
schemaVersion: "openpond.serverlessServingReview.v1";
|
|
1955
2524
|
teamId: string;
|
|
1956
2525
|
modelProjectId: string;
|
|
1957
2526
|
versionHash: string;
|
|
@@ -1971,6 +2540,11 @@ export declare function parseAndVerifyTrainingModelServing(raw: unknown, expecte
|
|
|
1971
2540
|
hourlyUsd: string;
|
|
1972
2541
|
service: "model_serving";
|
|
1973
2542
|
};
|
|
2543
|
+
workerIdleTimeoutSeconds: 5;
|
|
2544
|
+
maximumRequestMillis: 540000;
|
|
2545
|
+
expiresAt: string;
|
|
2546
|
+
contentHash: string;
|
|
2547
|
+
schemaVersion: "openpond.serverlessServingReview.v1";
|
|
1974
2548
|
rules: {
|
|
1975
2549
|
quantity: "allocated_engine_milliseconds";
|
|
1976
2550
|
allocation: "equal_billing_principal_then_request";
|
|
@@ -1982,10 +2556,86 @@ export declare function parseAndVerifyTrainingModelServing(raw: unknown, expecte
|
|
|
1982
2556
|
tokenRetailUsd: "0.000000";
|
|
1983
2557
|
minimumBillableMillis: 0;
|
|
1984
2558
|
};
|
|
2559
|
+
} | {
|
|
2560
|
+
teamId: string;
|
|
2561
|
+
modelProjectId: string;
|
|
2562
|
+
versionHash: string;
|
|
2563
|
+
artifact: {
|
|
2564
|
+
id: string;
|
|
2565
|
+
contentHash: string;
|
|
2566
|
+
};
|
|
2567
|
+
baseProfileId: string;
|
|
2568
|
+
workerImageDigest: string;
|
|
2569
|
+
providerConfigurationHash: string;
|
|
2570
|
+
price: {
|
|
2571
|
+
schemaVersion: "openpond.computeAppliedPrice.v1";
|
|
2572
|
+
version: string;
|
|
2573
|
+
profileHash: string;
|
|
2574
|
+
currency: "USD";
|
|
2575
|
+
unit: "resource_hour";
|
|
2576
|
+
hourlyUsd: string;
|
|
2577
|
+
service: "model_serving";
|
|
2578
|
+
};
|
|
1985
2579
|
workerIdleTimeoutSeconds: 5;
|
|
1986
2580
|
maximumRequestMillis: 540000;
|
|
1987
2581
|
expiresAt: string;
|
|
1988
2582
|
contentHash: string;
|
|
2583
|
+
schemaVersion: "openpond.serverlessServingReview.v2";
|
|
2584
|
+
rules: {
|
|
2585
|
+
quantity: "allocated_worker_milliseconds";
|
|
2586
|
+
allocation: "equal_billing_principal_then_request";
|
|
2587
|
+
startupBillable: true;
|
|
2588
|
+
idleBillable: true;
|
|
2589
|
+
cleanupBillable: true;
|
|
2590
|
+
queueBillable: false;
|
|
2591
|
+
failure: "observed_worker_runtime";
|
|
2592
|
+
cancellation: "until_worker_stop";
|
|
2593
|
+
tokenRetailUsd: "0.000000";
|
|
2594
|
+
minimumBillableMillis: 0;
|
|
2595
|
+
supplierRounding: "ceil_worker_lifetime_second_once";
|
|
2596
|
+
};
|
|
2597
|
+
} | {
|
|
2598
|
+
teamId: string;
|
|
2599
|
+
modelProjectId: string;
|
|
2600
|
+
versionHash: string;
|
|
2601
|
+
artifact: {
|
|
2602
|
+
id: string;
|
|
2603
|
+
contentHash: string;
|
|
2604
|
+
};
|
|
2605
|
+
baseProfileId: string;
|
|
2606
|
+
workerImageDigest: string;
|
|
2607
|
+
providerConfigurationHash: string;
|
|
2608
|
+
price: {
|
|
2609
|
+
schemaVersion: "openpond.computeAppliedPrice.v1";
|
|
2610
|
+
version: string;
|
|
2611
|
+
profileHash: string;
|
|
2612
|
+
currency: "USD";
|
|
2613
|
+
unit: "resource_hour";
|
|
2614
|
+
hourlyUsd: string;
|
|
2615
|
+
service: "model_serving";
|
|
2616
|
+
};
|
|
2617
|
+
maximumRequestMillis: 540000;
|
|
2618
|
+
expiresAt: string;
|
|
2619
|
+
contentHash: string;
|
|
2620
|
+
rules: {
|
|
2621
|
+
quantity: "allocated_worker_milliseconds";
|
|
2622
|
+
allocation: "equal_billing_principal_then_request";
|
|
2623
|
+
startupBillable: true;
|
|
2624
|
+
idleBillable: true;
|
|
2625
|
+
cleanupBillable: true;
|
|
2626
|
+
queueBillable: false;
|
|
2627
|
+
failure: "observed_worker_runtime";
|
|
2628
|
+
cancellation: "until_worker_stop";
|
|
2629
|
+
tokenRetailUsd: "0.000000";
|
|
2630
|
+
minimumBillableMillis: 0;
|
|
2631
|
+
supplierRounding: "ceil_worker_lifetime_second_once";
|
|
2632
|
+
};
|
|
2633
|
+
schemaVersion: "openpond.serverlessServingReview.v3";
|
|
2634
|
+
workerIdleTimeoutSeconds: 5 | 60;
|
|
2635
|
+
hardware?: {
|
|
2636
|
+
selection: "automatic";
|
|
2637
|
+
gpuTypeIds: string[];
|
|
2638
|
+
} | undefined;
|
|
1989
2639
|
} | null | undefined;
|
|
1990
2640
|
usageBilling?: {
|
|
1991
2641
|
schemaVersion: "openpond.managedServingUsageReviewResult.v1";
|
|
@@ -1996,7 +2646,7 @@ export declare function parseAndVerifyTrainingModelServing(raw: unknown, expecte
|
|
|
1996
2646
|
teamId: string;
|
|
1997
2647
|
modelProjectId: string;
|
|
1998
2648
|
versionHash: string;
|
|
1999
|
-
method: "alphaedit" | "decision" | "engram" | "selective_neuron_training" | "steering" | "training";
|
|
2649
|
+
method: "alphaedit" | "decision" | "engram" | "selective_neuron_training" | "steering" | "training" | "weight_space_programming";
|
|
2000
2650
|
price: {
|
|
2001
2651
|
schemaVersion: "openpond.computeAppliedPrice.v1";
|
|
2002
2652
|
version: string;
|
|
@@ -2348,7 +2998,6 @@ export declare function parseAndVerifyTrainingModelServing(raw: unknown, expecte
|
|
|
2348
2998
|
schemaVersion: "openpond.serverlessServing.v1";
|
|
2349
2999
|
ownerKey: string;
|
|
2350
3000
|
review: {
|
|
2351
|
-
schemaVersion: "openpond.serverlessServingReview.v1";
|
|
2352
3001
|
teamId: string;
|
|
2353
3002
|
modelProjectId: string;
|
|
2354
3003
|
versionHash: string;
|
|
@@ -2368,6 +3017,11 @@ export declare function parseAndVerifyTrainingModelServing(raw: unknown, expecte
|
|
|
2368
3017
|
hourlyUsd: string;
|
|
2369
3018
|
service: "model_serving";
|
|
2370
3019
|
};
|
|
3020
|
+
workerIdleTimeoutSeconds: 5;
|
|
3021
|
+
maximumRequestMillis: 540000;
|
|
3022
|
+
expiresAt: string;
|
|
3023
|
+
contentHash: string;
|
|
3024
|
+
schemaVersion: "openpond.serverlessServingReview.v1";
|
|
2371
3025
|
rules: {
|
|
2372
3026
|
quantity: "allocated_engine_milliseconds";
|
|
2373
3027
|
allocation: "equal_billing_principal_then_request";
|
|
@@ -2379,10 +3033,86 @@ export declare function parseAndVerifyTrainingModelServing(raw: unknown, expecte
|
|
|
2379
3033
|
tokenRetailUsd: "0.000000";
|
|
2380
3034
|
minimumBillableMillis: 0;
|
|
2381
3035
|
};
|
|
3036
|
+
} | {
|
|
3037
|
+
teamId: string;
|
|
3038
|
+
modelProjectId: string;
|
|
3039
|
+
versionHash: string;
|
|
3040
|
+
artifact: {
|
|
3041
|
+
id: string;
|
|
3042
|
+
contentHash: string;
|
|
3043
|
+
};
|
|
3044
|
+
baseProfileId: string;
|
|
3045
|
+
workerImageDigest: string;
|
|
3046
|
+
providerConfigurationHash: string;
|
|
3047
|
+
price: {
|
|
3048
|
+
schemaVersion: "openpond.computeAppliedPrice.v1";
|
|
3049
|
+
version: string;
|
|
3050
|
+
profileHash: string;
|
|
3051
|
+
currency: "USD";
|
|
3052
|
+
unit: "resource_hour";
|
|
3053
|
+
hourlyUsd: string;
|
|
3054
|
+
service: "model_serving";
|
|
3055
|
+
};
|
|
2382
3056
|
workerIdleTimeoutSeconds: 5;
|
|
2383
3057
|
maximumRequestMillis: 540000;
|
|
2384
3058
|
expiresAt: string;
|
|
2385
3059
|
contentHash: string;
|
|
3060
|
+
schemaVersion: "openpond.serverlessServingReview.v2";
|
|
3061
|
+
rules: {
|
|
3062
|
+
quantity: "allocated_worker_milliseconds";
|
|
3063
|
+
allocation: "equal_billing_principal_then_request";
|
|
3064
|
+
startupBillable: true;
|
|
3065
|
+
idleBillable: true;
|
|
3066
|
+
cleanupBillable: true;
|
|
3067
|
+
queueBillable: false;
|
|
3068
|
+
failure: "observed_worker_runtime";
|
|
3069
|
+
cancellation: "until_worker_stop";
|
|
3070
|
+
tokenRetailUsd: "0.000000";
|
|
3071
|
+
minimumBillableMillis: 0;
|
|
3072
|
+
supplierRounding: "ceil_worker_lifetime_second_once";
|
|
3073
|
+
};
|
|
3074
|
+
} | {
|
|
3075
|
+
teamId: string;
|
|
3076
|
+
modelProjectId: string;
|
|
3077
|
+
versionHash: string;
|
|
3078
|
+
artifact: {
|
|
3079
|
+
id: string;
|
|
3080
|
+
contentHash: string;
|
|
3081
|
+
};
|
|
3082
|
+
baseProfileId: string;
|
|
3083
|
+
workerImageDigest: string;
|
|
3084
|
+
providerConfigurationHash: string;
|
|
3085
|
+
price: {
|
|
3086
|
+
schemaVersion: "openpond.computeAppliedPrice.v1";
|
|
3087
|
+
version: string;
|
|
3088
|
+
profileHash: string;
|
|
3089
|
+
currency: "USD";
|
|
3090
|
+
unit: "resource_hour";
|
|
3091
|
+
hourlyUsd: string;
|
|
3092
|
+
service: "model_serving";
|
|
3093
|
+
};
|
|
3094
|
+
maximumRequestMillis: 540000;
|
|
3095
|
+
expiresAt: string;
|
|
3096
|
+
contentHash: string;
|
|
3097
|
+
rules: {
|
|
3098
|
+
quantity: "allocated_worker_milliseconds";
|
|
3099
|
+
allocation: "equal_billing_principal_then_request";
|
|
3100
|
+
startupBillable: true;
|
|
3101
|
+
idleBillable: true;
|
|
3102
|
+
cleanupBillable: true;
|
|
3103
|
+
queueBillable: false;
|
|
3104
|
+
failure: "observed_worker_runtime";
|
|
3105
|
+
cancellation: "until_worker_stop";
|
|
3106
|
+
tokenRetailUsd: "0.000000";
|
|
3107
|
+
minimumBillableMillis: 0;
|
|
3108
|
+
supplierRounding: "ceil_worker_lifetime_second_once";
|
|
3109
|
+
};
|
|
3110
|
+
schemaVersion: "openpond.serverlessServingReview.v3";
|
|
3111
|
+
workerIdleTimeoutSeconds: 5 | 60;
|
|
3112
|
+
hardware?: {
|
|
3113
|
+
selection: "automatic";
|
|
3114
|
+
gpuTypeIds: string[];
|
|
3115
|
+
} | undefined;
|
|
2386
3116
|
};
|
|
2387
3117
|
customerCapUsd: string | null;
|
|
2388
3118
|
state: "active" | "closed" | "stopping";
|
|
@@ -2390,6 +3120,20 @@ export declare function parseAndVerifyTrainingModelServing(raw: unknown, expecte
|
|
|
2390
3120
|
chargedUsd: string;
|
|
2391
3121
|
reservedUsd: string;
|
|
2392
3122
|
supplierCostStatus: "pending" | "reconciled";
|
|
3123
|
+
usage?: {
|
|
3124
|
+
mode: "periodic_actual_usage";
|
|
3125
|
+
phase: "closed" | "running" | "starting" | "stopping" | "waiting_capacity" | "waiting_funding" | "waiting_platform";
|
|
3126
|
+
ratedUsd: string;
|
|
3127
|
+
chargedUsd: string;
|
|
3128
|
+
prepaidDebitedUsd: string;
|
|
3129
|
+
includedUsageUsd: string;
|
|
3130
|
+
pendingEvidence: boolean;
|
|
3131
|
+
lastEvidenceAt: string | null;
|
|
3132
|
+
lastDebitAt: string | null;
|
|
3133
|
+
nextDebitAt: string | null;
|
|
3134
|
+
retryAt?: string | null | undefined;
|
|
3135
|
+
stopReason: string | null;
|
|
3136
|
+
} | undefined;
|
|
2393
3137
|
} | undefined;
|
|
2394
3138
|
usage?: {
|
|
2395
3139
|
schemaVersion: "openpond.managedServingUsage.v1";
|
|
@@ -2441,7 +3185,6 @@ export declare function parseAndVerifyTrainingModelServing(raw: unknown, expecte
|
|
|
2441
3185
|
schemaVersion: "openpond.serverlessServing.v1";
|
|
2442
3186
|
ownerKey: string;
|
|
2443
3187
|
review: {
|
|
2444
|
-
schemaVersion: "openpond.serverlessServingReview.v1";
|
|
2445
3188
|
teamId: string;
|
|
2446
3189
|
modelProjectId: string;
|
|
2447
3190
|
versionHash: string;
|
|
@@ -2461,6 +3204,11 @@ export declare function parseAndVerifyTrainingModelServing(raw: unknown, expecte
|
|
|
2461
3204
|
hourlyUsd: string;
|
|
2462
3205
|
service: "model_serving";
|
|
2463
3206
|
};
|
|
3207
|
+
workerIdleTimeoutSeconds: 5;
|
|
3208
|
+
maximumRequestMillis: 540000;
|
|
3209
|
+
expiresAt: string;
|
|
3210
|
+
contentHash: string;
|
|
3211
|
+
schemaVersion: "openpond.serverlessServingReview.v1";
|
|
2464
3212
|
rules: {
|
|
2465
3213
|
quantity: "allocated_engine_milliseconds";
|
|
2466
3214
|
allocation: "equal_billing_principal_then_request";
|
|
@@ -2472,10 +3220,86 @@ export declare function parseAndVerifyTrainingModelServing(raw: unknown, expecte
|
|
|
2472
3220
|
tokenRetailUsd: "0.000000";
|
|
2473
3221
|
minimumBillableMillis: 0;
|
|
2474
3222
|
};
|
|
3223
|
+
} | {
|
|
3224
|
+
teamId: string;
|
|
3225
|
+
modelProjectId: string;
|
|
3226
|
+
versionHash: string;
|
|
3227
|
+
artifact: {
|
|
3228
|
+
id: string;
|
|
3229
|
+
contentHash: string;
|
|
3230
|
+
};
|
|
3231
|
+
baseProfileId: string;
|
|
3232
|
+
workerImageDigest: string;
|
|
3233
|
+
providerConfigurationHash: string;
|
|
3234
|
+
price: {
|
|
3235
|
+
schemaVersion: "openpond.computeAppliedPrice.v1";
|
|
3236
|
+
version: string;
|
|
3237
|
+
profileHash: string;
|
|
3238
|
+
currency: "USD";
|
|
3239
|
+
unit: "resource_hour";
|
|
3240
|
+
hourlyUsd: string;
|
|
3241
|
+
service: "model_serving";
|
|
3242
|
+
};
|
|
2475
3243
|
workerIdleTimeoutSeconds: 5;
|
|
2476
3244
|
maximumRequestMillis: 540000;
|
|
2477
3245
|
expiresAt: string;
|
|
2478
3246
|
contentHash: string;
|
|
3247
|
+
schemaVersion: "openpond.serverlessServingReview.v2";
|
|
3248
|
+
rules: {
|
|
3249
|
+
quantity: "allocated_worker_milliseconds";
|
|
3250
|
+
allocation: "equal_billing_principal_then_request";
|
|
3251
|
+
startupBillable: true;
|
|
3252
|
+
idleBillable: true;
|
|
3253
|
+
cleanupBillable: true;
|
|
3254
|
+
queueBillable: false;
|
|
3255
|
+
failure: "observed_worker_runtime";
|
|
3256
|
+
cancellation: "until_worker_stop";
|
|
3257
|
+
tokenRetailUsd: "0.000000";
|
|
3258
|
+
minimumBillableMillis: 0;
|
|
3259
|
+
supplierRounding: "ceil_worker_lifetime_second_once";
|
|
3260
|
+
};
|
|
3261
|
+
} | {
|
|
3262
|
+
teamId: string;
|
|
3263
|
+
modelProjectId: string;
|
|
3264
|
+
versionHash: string;
|
|
3265
|
+
artifact: {
|
|
3266
|
+
id: string;
|
|
3267
|
+
contentHash: string;
|
|
3268
|
+
};
|
|
3269
|
+
baseProfileId: string;
|
|
3270
|
+
workerImageDigest: string;
|
|
3271
|
+
providerConfigurationHash: string;
|
|
3272
|
+
price: {
|
|
3273
|
+
schemaVersion: "openpond.computeAppliedPrice.v1";
|
|
3274
|
+
version: string;
|
|
3275
|
+
profileHash: string;
|
|
3276
|
+
currency: "USD";
|
|
3277
|
+
unit: "resource_hour";
|
|
3278
|
+
hourlyUsd: string;
|
|
3279
|
+
service: "model_serving";
|
|
3280
|
+
};
|
|
3281
|
+
maximumRequestMillis: 540000;
|
|
3282
|
+
expiresAt: string;
|
|
3283
|
+
contentHash: string;
|
|
3284
|
+
rules: {
|
|
3285
|
+
quantity: "allocated_worker_milliseconds";
|
|
3286
|
+
allocation: "equal_billing_principal_then_request";
|
|
3287
|
+
startupBillable: true;
|
|
3288
|
+
idleBillable: true;
|
|
3289
|
+
cleanupBillable: true;
|
|
3290
|
+
queueBillable: false;
|
|
3291
|
+
failure: "observed_worker_runtime";
|
|
3292
|
+
cancellation: "until_worker_stop";
|
|
3293
|
+
tokenRetailUsd: "0.000000";
|
|
3294
|
+
minimumBillableMillis: 0;
|
|
3295
|
+
supplierRounding: "ceil_worker_lifetime_second_once";
|
|
3296
|
+
};
|
|
3297
|
+
schemaVersion: "openpond.serverlessServingReview.v3";
|
|
3298
|
+
workerIdleTimeoutSeconds: 5 | 60;
|
|
3299
|
+
hardware?: {
|
|
3300
|
+
selection: "automatic";
|
|
3301
|
+
gpuTypeIds: string[];
|
|
3302
|
+
} | undefined;
|
|
2479
3303
|
};
|
|
2480
3304
|
customerCapUsd: string | null;
|
|
2481
3305
|
state: "active" | "closed" | "stopping";
|
|
@@ -2483,6 +3307,20 @@ export declare function parseAndVerifyTrainingModelServing(raw: unknown, expecte
|
|
|
2483
3307
|
chargedUsd: string;
|
|
2484
3308
|
reservedUsd: string;
|
|
2485
3309
|
supplierCostStatus: "pending" | "reconciled";
|
|
3310
|
+
usage?: {
|
|
3311
|
+
mode: "periodic_actual_usage";
|
|
3312
|
+
phase: "closed" | "running" | "starting" | "stopping" | "waiting_capacity" | "waiting_funding" | "waiting_platform";
|
|
3313
|
+
ratedUsd: string;
|
|
3314
|
+
chargedUsd: string;
|
|
3315
|
+
prepaidDebitedUsd: string;
|
|
3316
|
+
includedUsageUsd: string;
|
|
3317
|
+
pendingEvidence: boolean;
|
|
3318
|
+
lastEvidenceAt: string | null;
|
|
3319
|
+
lastDebitAt: string | null;
|
|
3320
|
+
nextDebitAt: string | null;
|
|
3321
|
+
retryAt?: string | null | undefined;
|
|
3322
|
+
stopReason: string | null;
|
|
3323
|
+
} | undefined;
|
|
2486
3324
|
} | undefined;
|
|
2487
3325
|
usage?: {
|
|
2488
3326
|
schemaVersion: "openpond.managedServingUsage.v1";
|
|
@@ -2582,7 +3420,6 @@ export declare function parseAndVerifyTrainingModelServing(raw: unknown, expecte
|
|
|
2582
3420
|
export declare function createTrainingModelServingClient(request: (path: string, init?: RequestInit) => Promise<unknown>): {
|
|
2583
3421
|
modelServing(modelProjectId: string, raw: z.infer<typeof TrainingModelServingQuerySchema>): Promise<{
|
|
2584
3422
|
serverlessReview?: {
|
|
2585
|
-
schemaVersion: "openpond.serverlessServingReview.v1";
|
|
2586
3423
|
teamId: string;
|
|
2587
3424
|
modelProjectId: string;
|
|
2588
3425
|
versionHash: string;
|
|
@@ -2602,6 +3439,11 @@ export declare function createTrainingModelServingClient(request: (path: string,
|
|
|
2602
3439
|
hourlyUsd: string;
|
|
2603
3440
|
service: "model_serving";
|
|
2604
3441
|
};
|
|
3442
|
+
workerIdleTimeoutSeconds: 5;
|
|
3443
|
+
maximumRequestMillis: 540000;
|
|
3444
|
+
expiresAt: string;
|
|
3445
|
+
contentHash: string;
|
|
3446
|
+
schemaVersion: "openpond.serverlessServingReview.v1";
|
|
2605
3447
|
rules: {
|
|
2606
3448
|
quantity: "allocated_engine_milliseconds";
|
|
2607
3449
|
allocation: "equal_billing_principal_then_request";
|
|
@@ -2613,10 +3455,86 @@ export declare function createTrainingModelServingClient(request: (path: string,
|
|
|
2613
3455
|
tokenRetailUsd: "0.000000";
|
|
2614
3456
|
minimumBillableMillis: 0;
|
|
2615
3457
|
};
|
|
3458
|
+
} | {
|
|
3459
|
+
teamId: string;
|
|
3460
|
+
modelProjectId: string;
|
|
3461
|
+
versionHash: string;
|
|
3462
|
+
artifact: {
|
|
3463
|
+
id: string;
|
|
3464
|
+
contentHash: string;
|
|
3465
|
+
};
|
|
3466
|
+
baseProfileId: string;
|
|
3467
|
+
workerImageDigest: string;
|
|
3468
|
+
providerConfigurationHash: string;
|
|
3469
|
+
price: {
|
|
3470
|
+
schemaVersion: "openpond.computeAppliedPrice.v1";
|
|
3471
|
+
version: string;
|
|
3472
|
+
profileHash: string;
|
|
3473
|
+
currency: "USD";
|
|
3474
|
+
unit: "resource_hour";
|
|
3475
|
+
hourlyUsd: string;
|
|
3476
|
+
service: "model_serving";
|
|
3477
|
+
};
|
|
2616
3478
|
workerIdleTimeoutSeconds: 5;
|
|
2617
3479
|
maximumRequestMillis: 540000;
|
|
2618
3480
|
expiresAt: string;
|
|
2619
3481
|
contentHash: string;
|
|
3482
|
+
schemaVersion: "openpond.serverlessServingReview.v2";
|
|
3483
|
+
rules: {
|
|
3484
|
+
quantity: "allocated_worker_milliseconds";
|
|
3485
|
+
allocation: "equal_billing_principal_then_request";
|
|
3486
|
+
startupBillable: true;
|
|
3487
|
+
idleBillable: true;
|
|
3488
|
+
cleanupBillable: true;
|
|
3489
|
+
queueBillable: false;
|
|
3490
|
+
failure: "observed_worker_runtime";
|
|
3491
|
+
cancellation: "until_worker_stop";
|
|
3492
|
+
tokenRetailUsd: "0.000000";
|
|
3493
|
+
minimumBillableMillis: 0;
|
|
3494
|
+
supplierRounding: "ceil_worker_lifetime_second_once";
|
|
3495
|
+
};
|
|
3496
|
+
} | {
|
|
3497
|
+
teamId: string;
|
|
3498
|
+
modelProjectId: string;
|
|
3499
|
+
versionHash: string;
|
|
3500
|
+
artifact: {
|
|
3501
|
+
id: string;
|
|
3502
|
+
contentHash: string;
|
|
3503
|
+
};
|
|
3504
|
+
baseProfileId: string;
|
|
3505
|
+
workerImageDigest: string;
|
|
3506
|
+
providerConfigurationHash: string;
|
|
3507
|
+
price: {
|
|
3508
|
+
schemaVersion: "openpond.computeAppliedPrice.v1";
|
|
3509
|
+
version: string;
|
|
3510
|
+
profileHash: string;
|
|
3511
|
+
currency: "USD";
|
|
3512
|
+
unit: "resource_hour";
|
|
3513
|
+
hourlyUsd: string;
|
|
3514
|
+
service: "model_serving";
|
|
3515
|
+
};
|
|
3516
|
+
maximumRequestMillis: 540000;
|
|
3517
|
+
expiresAt: string;
|
|
3518
|
+
contentHash: string;
|
|
3519
|
+
rules: {
|
|
3520
|
+
quantity: "allocated_worker_milliseconds";
|
|
3521
|
+
allocation: "equal_billing_principal_then_request";
|
|
3522
|
+
startupBillable: true;
|
|
3523
|
+
idleBillable: true;
|
|
3524
|
+
cleanupBillable: true;
|
|
3525
|
+
queueBillable: false;
|
|
3526
|
+
failure: "observed_worker_runtime";
|
|
3527
|
+
cancellation: "until_worker_stop";
|
|
3528
|
+
tokenRetailUsd: "0.000000";
|
|
3529
|
+
minimumBillableMillis: 0;
|
|
3530
|
+
supplierRounding: "ceil_worker_lifetime_second_once";
|
|
3531
|
+
};
|
|
3532
|
+
schemaVersion: "openpond.serverlessServingReview.v3";
|
|
3533
|
+
workerIdleTimeoutSeconds: 5 | 60;
|
|
3534
|
+
hardware?: {
|
|
3535
|
+
selection: "automatic";
|
|
3536
|
+
gpuTypeIds: string[];
|
|
3537
|
+
} | undefined;
|
|
2620
3538
|
} | null | undefined;
|
|
2621
3539
|
usageBilling?: {
|
|
2622
3540
|
schemaVersion: "openpond.managedServingUsageReviewResult.v1";
|
|
@@ -2627,7 +3545,7 @@ export declare function createTrainingModelServingClient(request: (path: string,
|
|
|
2627
3545
|
teamId: string;
|
|
2628
3546
|
modelProjectId: string;
|
|
2629
3547
|
versionHash: string;
|
|
2630
|
-
method: "alphaedit" | "decision" | "engram" | "selective_neuron_training" | "steering" | "training";
|
|
3548
|
+
method: "alphaedit" | "decision" | "engram" | "selective_neuron_training" | "steering" | "training" | "weight_space_programming";
|
|
2631
3549
|
price: {
|
|
2632
3550
|
schemaVersion: "openpond.computeAppliedPrice.v1";
|
|
2633
3551
|
version: string;
|
|
@@ -2979,7 +3897,6 @@ export declare function createTrainingModelServingClient(request: (path: string,
|
|
|
2979
3897
|
schemaVersion: "openpond.serverlessServing.v1";
|
|
2980
3898
|
ownerKey: string;
|
|
2981
3899
|
review: {
|
|
2982
|
-
schemaVersion: "openpond.serverlessServingReview.v1";
|
|
2983
3900
|
teamId: string;
|
|
2984
3901
|
modelProjectId: string;
|
|
2985
3902
|
versionHash: string;
|
|
@@ -2999,6 +3916,11 @@ export declare function createTrainingModelServingClient(request: (path: string,
|
|
|
2999
3916
|
hourlyUsd: string;
|
|
3000
3917
|
service: "model_serving";
|
|
3001
3918
|
};
|
|
3919
|
+
workerIdleTimeoutSeconds: 5;
|
|
3920
|
+
maximumRequestMillis: 540000;
|
|
3921
|
+
expiresAt: string;
|
|
3922
|
+
contentHash: string;
|
|
3923
|
+
schemaVersion: "openpond.serverlessServingReview.v1";
|
|
3002
3924
|
rules: {
|
|
3003
3925
|
quantity: "allocated_engine_milliseconds";
|
|
3004
3926
|
allocation: "equal_billing_principal_then_request";
|
|
@@ -3010,10 +3932,86 @@ export declare function createTrainingModelServingClient(request: (path: string,
|
|
|
3010
3932
|
tokenRetailUsd: "0.000000";
|
|
3011
3933
|
minimumBillableMillis: 0;
|
|
3012
3934
|
};
|
|
3935
|
+
} | {
|
|
3936
|
+
teamId: string;
|
|
3937
|
+
modelProjectId: string;
|
|
3938
|
+
versionHash: string;
|
|
3939
|
+
artifact: {
|
|
3940
|
+
id: string;
|
|
3941
|
+
contentHash: string;
|
|
3942
|
+
};
|
|
3943
|
+
baseProfileId: string;
|
|
3944
|
+
workerImageDigest: string;
|
|
3945
|
+
providerConfigurationHash: string;
|
|
3946
|
+
price: {
|
|
3947
|
+
schemaVersion: "openpond.computeAppliedPrice.v1";
|
|
3948
|
+
version: string;
|
|
3949
|
+
profileHash: string;
|
|
3950
|
+
currency: "USD";
|
|
3951
|
+
unit: "resource_hour";
|
|
3952
|
+
hourlyUsd: string;
|
|
3953
|
+
service: "model_serving";
|
|
3954
|
+
};
|
|
3013
3955
|
workerIdleTimeoutSeconds: 5;
|
|
3014
3956
|
maximumRequestMillis: 540000;
|
|
3015
3957
|
expiresAt: string;
|
|
3016
3958
|
contentHash: string;
|
|
3959
|
+
schemaVersion: "openpond.serverlessServingReview.v2";
|
|
3960
|
+
rules: {
|
|
3961
|
+
quantity: "allocated_worker_milliseconds";
|
|
3962
|
+
allocation: "equal_billing_principal_then_request";
|
|
3963
|
+
startupBillable: true;
|
|
3964
|
+
idleBillable: true;
|
|
3965
|
+
cleanupBillable: true;
|
|
3966
|
+
queueBillable: false;
|
|
3967
|
+
failure: "observed_worker_runtime";
|
|
3968
|
+
cancellation: "until_worker_stop";
|
|
3969
|
+
tokenRetailUsd: "0.000000";
|
|
3970
|
+
minimumBillableMillis: 0;
|
|
3971
|
+
supplierRounding: "ceil_worker_lifetime_second_once";
|
|
3972
|
+
};
|
|
3973
|
+
} | {
|
|
3974
|
+
teamId: string;
|
|
3975
|
+
modelProjectId: string;
|
|
3976
|
+
versionHash: string;
|
|
3977
|
+
artifact: {
|
|
3978
|
+
id: string;
|
|
3979
|
+
contentHash: string;
|
|
3980
|
+
};
|
|
3981
|
+
baseProfileId: string;
|
|
3982
|
+
workerImageDigest: string;
|
|
3983
|
+
providerConfigurationHash: string;
|
|
3984
|
+
price: {
|
|
3985
|
+
schemaVersion: "openpond.computeAppliedPrice.v1";
|
|
3986
|
+
version: string;
|
|
3987
|
+
profileHash: string;
|
|
3988
|
+
currency: "USD";
|
|
3989
|
+
unit: "resource_hour";
|
|
3990
|
+
hourlyUsd: string;
|
|
3991
|
+
service: "model_serving";
|
|
3992
|
+
};
|
|
3993
|
+
maximumRequestMillis: 540000;
|
|
3994
|
+
expiresAt: string;
|
|
3995
|
+
contentHash: string;
|
|
3996
|
+
rules: {
|
|
3997
|
+
quantity: "allocated_worker_milliseconds";
|
|
3998
|
+
allocation: "equal_billing_principal_then_request";
|
|
3999
|
+
startupBillable: true;
|
|
4000
|
+
idleBillable: true;
|
|
4001
|
+
cleanupBillable: true;
|
|
4002
|
+
queueBillable: false;
|
|
4003
|
+
failure: "observed_worker_runtime";
|
|
4004
|
+
cancellation: "until_worker_stop";
|
|
4005
|
+
tokenRetailUsd: "0.000000";
|
|
4006
|
+
minimumBillableMillis: 0;
|
|
4007
|
+
supplierRounding: "ceil_worker_lifetime_second_once";
|
|
4008
|
+
};
|
|
4009
|
+
schemaVersion: "openpond.serverlessServingReview.v3";
|
|
4010
|
+
workerIdleTimeoutSeconds: 5 | 60;
|
|
4011
|
+
hardware?: {
|
|
4012
|
+
selection: "automatic";
|
|
4013
|
+
gpuTypeIds: string[];
|
|
4014
|
+
} | undefined;
|
|
3017
4015
|
};
|
|
3018
4016
|
customerCapUsd: string | null;
|
|
3019
4017
|
state: "active" | "closed" | "stopping";
|
|
@@ -3021,6 +4019,20 @@ export declare function createTrainingModelServingClient(request: (path: string,
|
|
|
3021
4019
|
chargedUsd: string;
|
|
3022
4020
|
reservedUsd: string;
|
|
3023
4021
|
supplierCostStatus: "pending" | "reconciled";
|
|
4022
|
+
usage?: {
|
|
4023
|
+
mode: "periodic_actual_usage";
|
|
4024
|
+
phase: "closed" | "running" | "starting" | "stopping" | "waiting_capacity" | "waiting_funding" | "waiting_platform";
|
|
4025
|
+
ratedUsd: string;
|
|
4026
|
+
chargedUsd: string;
|
|
4027
|
+
prepaidDebitedUsd: string;
|
|
4028
|
+
includedUsageUsd: string;
|
|
4029
|
+
pendingEvidence: boolean;
|
|
4030
|
+
lastEvidenceAt: string | null;
|
|
4031
|
+
lastDebitAt: string | null;
|
|
4032
|
+
nextDebitAt: string | null;
|
|
4033
|
+
retryAt?: string | null | undefined;
|
|
4034
|
+
stopReason: string | null;
|
|
4035
|
+
} | undefined;
|
|
3024
4036
|
} | undefined;
|
|
3025
4037
|
usage?: {
|
|
3026
4038
|
schemaVersion: "openpond.managedServingUsage.v1";
|
|
@@ -3072,7 +4084,6 @@ export declare function createTrainingModelServingClient(request: (path: string,
|
|
|
3072
4084
|
schemaVersion: "openpond.serverlessServing.v1";
|
|
3073
4085
|
ownerKey: string;
|
|
3074
4086
|
review: {
|
|
3075
|
-
schemaVersion: "openpond.serverlessServingReview.v1";
|
|
3076
4087
|
teamId: string;
|
|
3077
4088
|
modelProjectId: string;
|
|
3078
4089
|
versionHash: string;
|
|
@@ -3092,6 +4103,11 @@ export declare function createTrainingModelServingClient(request: (path: string,
|
|
|
3092
4103
|
hourlyUsd: string;
|
|
3093
4104
|
service: "model_serving";
|
|
3094
4105
|
};
|
|
4106
|
+
workerIdleTimeoutSeconds: 5;
|
|
4107
|
+
maximumRequestMillis: 540000;
|
|
4108
|
+
expiresAt: string;
|
|
4109
|
+
contentHash: string;
|
|
4110
|
+
schemaVersion: "openpond.serverlessServingReview.v1";
|
|
3095
4111
|
rules: {
|
|
3096
4112
|
quantity: "allocated_engine_milliseconds";
|
|
3097
4113
|
allocation: "equal_billing_principal_then_request";
|
|
@@ -3103,10 +4119,86 @@ export declare function createTrainingModelServingClient(request: (path: string,
|
|
|
3103
4119
|
tokenRetailUsd: "0.000000";
|
|
3104
4120
|
minimumBillableMillis: 0;
|
|
3105
4121
|
};
|
|
4122
|
+
} | {
|
|
4123
|
+
teamId: string;
|
|
4124
|
+
modelProjectId: string;
|
|
4125
|
+
versionHash: string;
|
|
4126
|
+
artifact: {
|
|
4127
|
+
id: string;
|
|
4128
|
+
contentHash: string;
|
|
4129
|
+
};
|
|
4130
|
+
baseProfileId: string;
|
|
4131
|
+
workerImageDigest: string;
|
|
4132
|
+
providerConfigurationHash: string;
|
|
4133
|
+
price: {
|
|
4134
|
+
schemaVersion: "openpond.computeAppliedPrice.v1";
|
|
4135
|
+
version: string;
|
|
4136
|
+
profileHash: string;
|
|
4137
|
+
currency: "USD";
|
|
4138
|
+
unit: "resource_hour";
|
|
4139
|
+
hourlyUsd: string;
|
|
4140
|
+
service: "model_serving";
|
|
4141
|
+
};
|
|
3106
4142
|
workerIdleTimeoutSeconds: 5;
|
|
3107
4143
|
maximumRequestMillis: 540000;
|
|
3108
4144
|
expiresAt: string;
|
|
3109
4145
|
contentHash: string;
|
|
4146
|
+
schemaVersion: "openpond.serverlessServingReview.v2";
|
|
4147
|
+
rules: {
|
|
4148
|
+
quantity: "allocated_worker_milliseconds";
|
|
4149
|
+
allocation: "equal_billing_principal_then_request";
|
|
4150
|
+
startupBillable: true;
|
|
4151
|
+
idleBillable: true;
|
|
4152
|
+
cleanupBillable: true;
|
|
4153
|
+
queueBillable: false;
|
|
4154
|
+
failure: "observed_worker_runtime";
|
|
4155
|
+
cancellation: "until_worker_stop";
|
|
4156
|
+
tokenRetailUsd: "0.000000";
|
|
4157
|
+
minimumBillableMillis: 0;
|
|
4158
|
+
supplierRounding: "ceil_worker_lifetime_second_once";
|
|
4159
|
+
};
|
|
4160
|
+
} | {
|
|
4161
|
+
teamId: string;
|
|
4162
|
+
modelProjectId: string;
|
|
4163
|
+
versionHash: string;
|
|
4164
|
+
artifact: {
|
|
4165
|
+
id: string;
|
|
4166
|
+
contentHash: string;
|
|
4167
|
+
};
|
|
4168
|
+
baseProfileId: string;
|
|
4169
|
+
workerImageDigest: string;
|
|
4170
|
+
providerConfigurationHash: string;
|
|
4171
|
+
price: {
|
|
4172
|
+
schemaVersion: "openpond.computeAppliedPrice.v1";
|
|
4173
|
+
version: string;
|
|
4174
|
+
profileHash: string;
|
|
4175
|
+
currency: "USD";
|
|
4176
|
+
unit: "resource_hour";
|
|
4177
|
+
hourlyUsd: string;
|
|
4178
|
+
service: "model_serving";
|
|
4179
|
+
};
|
|
4180
|
+
maximumRequestMillis: 540000;
|
|
4181
|
+
expiresAt: string;
|
|
4182
|
+
contentHash: string;
|
|
4183
|
+
rules: {
|
|
4184
|
+
quantity: "allocated_worker_milliseconds";
|
|
4185
|
+
allocation: "equal_billing_principal_then_request";
|
|
4186
|
+
startupBillable: true;
|
|
4187
|
+
idleBillable: true;
|
|
4188
|
+
cleanupBillable: true;
|
|
4189
|
+
queueBillable: false;
|
|
4190
|
+
failure: "observed_worker_runtime";
|
|
4191
|
+
cancellation: "until_worker_stop";
|
|
4192
|
+
tokenRetailUsd: "0.000000";
|
|
4193
|
+
minimumBillableMillis: 0;
|
|
4194
|
+
supplierRounding: "ceil_worker_lifetime_second_once";
|
|
4195
|
+
};
|
|
4196
|
+
schemaVersion: "openpond.serverlessServingReview.v3";
|
|
4197
|
+
workerIdleTimeoutSeconds: 5 | 60;
|
|
4198
|
+
hardware?: {
|
|
4199
|
+
selection: "automatic";
|
|
4200
|
+
gpuTypeIds: string[];
|
|
4201
|
+
} | undefined;
|
|
3110
4202
|
};
|
|
3111
4203
|
customerCapUsd: string | null;
|
|
3112
4204
|
state: "active" | "closed" | "stopping";
|
|
@@ -3114,6 +4206,20 @@ export declare function createTrainingModelServingClient(request: (path: string,
|
|
|
3114
4206
|
chargedUsd: string;
|
|
3115
4207
|
reservedUsd: string;
|
|
3116
4208
|
supplierCostStatus: "pending" | "reconciled";
|
|
4209
|
+
usage?: {
|
|
4210
|
+
mode: "periodic_actual_usage";
|
|
4211
|
+
phase: "closed" | "running" | "starting" | "stopping" | "waiting_capacity" | "waiting_funding" | "waiting_platform";
|
|
4212
|
+
ratedUsd: string;
|
|
4213
|
+
chargedUsd: string;
|
|
4214
|
+
prepaidDebitedUsd: string;
|
|
4215
|
+
includedUsageUsd: string;
|
|
4216
|
+
pendingEvidence: boolean;
|
|
4217
|
+
lastEvidenceAt: string | null;
|
|
4218
|
+
lastDebitAt: string | null;
|
|
4219
|
+
nextDebitAt: string | null;
|
|
4220
|
+
retryAt?: string | null | undefined;
|
|
4221
|
+
stopReason: string | null;
|
|
4222
|
+
} | undefined;
|
|
3117
4223
|
} | undefined;
|
|
3118
4224
|
usage?: {
|
|
3119
4225
|
schemaVersion: "openpond.managedServingUsage.v1";
|