@datarobot/pulumi-datarobot 0.10.13 → 0.10.14

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@datarobot/pulumi-datarobot",
3
- "version": "v0.10.13",
3
+ "version": "v0.10.14",
4
4
  "description": "A Pulumi package for creating and managing DataRobot resources.",
5
5
  "keywords": [
6
6
  "datarobot",
package/types/input.d.ts CHANGED
@@ -423,6 +423,10 @@ export interface CustomMetricValue {
423
423
  columnName?: pulumi.Input<string>;
424
424
  }
425
425
  export interface CustomModelGuardConfiguration {
426
+ /**
427
+ * Additional guard configuration
428
+ */
429
+ additionalGuardConfig?: pulumi.Input<inputs.CustomModelGuardConfigurationAdditionalGuardConfig>;
426
430
  /**
427
431
  * The deployment ID of this guard.
428
432
  */
@@ -472,6 +476,34 @@ export interface CustomModelGuardConfiguration {
472
476
  */
473
477
  templateName: pulumi.Input<string>;
474
478
  }
479
+ export interface CustomModelGuardConfigurationAdditionalGuardConfig {
480
+ /**
481
+ * Cost metric configuration
482
+ */
483
+ cost?: pulumi.Input<inputs.CustomModelGuardConfigurationAdditionalGuardConfigCost>;
484
+ }
485
+ export interface CustomModelGuardConfigurationAdditionalGuardConfigCost {
486
+ /**
487
+ * Currency for cost calculation (USD)
488
+ */
489
+ currency: pulumi.Input<string>;
490
+ /**
491
+ * LLM Price for inputUnit tokens
492
+ */
493
+ inputPrice: pulumi.Input<number>;
494
+ /**
495
+ * No of input tokens for given price
496
+ */
497
+ inputUnit: pulumi.Input<number>;
498
+ /**
499
+ * LLM Price for outputUnit tokens
500
+ */
501
+ outputPrice: pulumi.Input<number>;
502
+ /**
503
+ * No of output tokens for given price
504
+ */
505
+ outputUnit: pulumi.Input<number>;
506
+ }
475
507
  export interface CustomModelGuardConfigurationIntervention {
476
508
  /**
477
509
  * The action of the guard intervention.
package/types/output.d.ts CHANGED
@@ -422,6 +422,10 @@ export interface CustomMetricValue {
422
422
  columnName?: string;
423
423
  }
424
424
  export interface CustomModelGuardConfiguration {
425
+ /**
426
+ * Additional guard configuration
427
+ */
428
+ additionalGuardConfig?: outputs.CustomModelGuardConfigurationAdditionalGuardConfig;
425
429
  /**
426
430
  * The deployment ID of this guard.
427
431
  */
@@ -471,6 +475,34 @@ export interface CustomModelGuardConfiguration {
471
475
  */
472
476
  templateName: string;
473
477
  }
478
+ export interface CustomModelGuardConfigurationAdditionalGuardConfig {
479
+ /**
480
+ * Cost metric configuration
481
+ */
482
+ cost?: outputs.CustomModelGuardConfigurationAdditionalGuardConfigCost;
483
+ }
484
+ export interface CustomModelGuardConfigurationAdditionalGuardConfigCost {
485
+ /**
486
+ * Currency for cost calculation (USD)
487
+ */
488
+ currency: string;
489
+ /**
490
+ * LLM Price for inputUnit tokens
491
+ */
492
+ inputPrice: number;
493
+ /**
494
+ * No of input tokens for given price
495
+ */
496
+ inputUnit: number;
497
+ /**
498
+ * LLM Price for outputUnit tokens
499
+ */
500
+ outputPrice: number;
501
+ /**
502
+ * No of output tokens for given price
503
+ */
504
+ outputUnit: number;
505
+ }
474
506
  export interface CustomModelGuardConfigurationIntervention {
475
507
  /**
476
508
  * The action of the guard intervention.