pulumi-datarobot 0.10.12__tar.gz → 0.10.14__tar.gz
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.
- {pulumi_datarobot-0.10.12 → pulumi_datarobot-0.10.14}/PKG-INFO +1 -1
- {pulumi_datarobot-0.10.12 → pulumi_datarobot-0.10.14}/pulumi_datarobot/_inputs.py +163 -0
- {pulumi_datarobot-0.10.12 → pulumi_datarobot-0.10.14}/pulumi_datarobot/outputs.py +120 -0
- {pulumi_datarobot-0.10.12 → pulumi_datarobot-0.10.14}/pulumi_datarobot.egg-info/PKG-INFO +1 -1
- {pulumi_datarobot-0.10.12 → pulumi_datarobot-0.10.14}/setup.py +1 -1
- {pulumi_datarobot-0.10.12 → pulumi_datarobot-0.10.14}/README.md +0 -0
- {pulumi_datarobot-0.10.12 → pulumi_datarobot-0.10.14}/pulumi_datarobot/__init__.py +0 -0
- {pulumi_datarobot-0.10.12 → pulumi_datarobot-0.10.14}/pulumi_datarobot/_utilities.py +0 -0
- {pulumi_datarobot-0.10.12 → pulumi_datarobot-0.10.14}/pulumi_datarobot/api_token_credential.py +0 -0
- {pulumi_datarobot-0.10.12 → pulumi_datarobot-0.10.14}/pulumi_datarobot/app_oauth.py +0 -0
- {pulumi_datarobot-0.10.12 → pulumi_datarobot-0.10.14}/pulumi_datarobot/application_source.py +0 -0
- {pulumi_datarobot-0.10.12 → pulumi_datarobot-0.10.14}/pulumi_datarobot/application_source_from_template.py +0 -0
- {pulumi_datarobot-0.10.12 → pulumi_datarobot-0.10.14}/pulumi_datarobot/aws_credential.py +0 -0
- {pulumi_datarobot-0.10.12 → pulumi_datarobot-0.10.14}/pulumi_datarobot/azure_credential.py +0 -0
- {pulumi_datarobot-0.10.12 → pulumi_datarobot-0.10.14}/pulumi_datarobot/basic_credential.py +0 -0
- {pulumi_datarobot-0.10.12 → pulumi_datarobot-0.10.14}/pulumi_datarobot/batch_prediction_job_definition.py +0 -0
- {pulumi_datarobot-0.10.12 → pulumi_datarobot-0.10.14}/pulumi_datarobot/config/__init__.py +0 -0
- {pulumi_datarobot-0.10.12 → pulumi_datarobot-0.10.14}/pulumi_datarobot/config/vars.py +0 -0
- {pulumi_datarobot-0.10.12 → pulumi_datarobot-0.10.14}/pulumi_datarobot/custom_application.py +0 -0
- {pulumi_datarobot-0.10.12 → pulumi_datarobot-0.10.14}/pulumi_datarobot/custom_application_from_environment.py +0 -0
- {pulumi_datarobot-0.10.12 → pulumi_datarobot-0.10.14}/pulumi_datarobot/custom_job.py +0 -0
- {pulumi_datarobot-0.10.12 → pulumi_datarobot-0.10.14}/pulumi_datarobot/custom_metric.py +0 -0
- {pulumi_datarobot-0.10.12 → pulumi_datarobot-0.10.14}/pulumi_datarobot/custom_metric_from_job.py +0 -0
- {pulumi_datarobot-0.10.12 → pulumi_datarobot-0.10.14}/pulumi_datarobot/custom_metric_job.py +0 -0
- {pulumi_datarobot-0.10.12 → pulumi_datarobot-0.10.14}/pulumi_datarobot/custom_model.py +0 -0
- {pulumi_datarobot-0.10.12 → pulumi_datarobot-0.10.14}/pulumi_datarobot/custom_model_llm_validation.py +0 -0
- {pulumi_datarobot-0.10.12 → pulumi_datarobot-0.10.14}/pulumi_datarobot/dataset_from_datasource.py +0 -0
- {pulumi_datarobot-0.10.12 → pulumi_datarobot-0.10.14}/pulumi_datarobot/dataset_from_file.py +0 -0
- {pulumi_datarobot-0.10.12 → pulumi_datarobot-0.10.14}/pulumi_datarobot/dataset_from_url.py +0 -0
- {pulumi_datarobot-0.10.12 → pulumi_datarobot-0.10.14}/pulumi_datarobot/datasource.py +0 -0
- {pulumi_datarobot-0.10.12 → pulumi_datarobot-0.10.14}/pulumi_datarobot/datastore.py +0 -0
- {pulumi_datarobot-0.10.12 → pulumi_datarobot-0.10.14}/pulumi_datarobot/deployment.py +0 -0
- {pulumi_datarobot-0.10.12 → pulumi_datarobot-0.10.14}/pulumi_datarobot/deployment_retraining_policy.py +0 -0
- {pulumi_datarobot-0.10.12 → pulumi_datarobot-0.10.14}/pulumi_datarobot/execution_environment.py +0 -0
- {pulumi_datarobot-0.10.12 → pulumi_datarobot-0.10.14}/pulumi_datarobot/get_execution_environment.py +0 -0
- {pulumi_datarobot-0.10.12 → pulumi_datarobot-0.10.14}/pulumi_datarobot/get_global_model.py +0 -0
- {pulumi_datarobot-0.10.12 → pulumi_datarobot-0.10.14}/pulumi_datarobot/google_cloud_credential.py +0 -0
- {pulumi_datarobot-0.10.12 → pulumi_datarobot-0.10.14}/pulumi_datarobot/llm_blueprint.py +0 -0
- {pulumi_datarobot-0.10.12 → pulumi_datarobot-0.10.14}/pulumi_datarobot/notebook.py +0 -0
- {pulumi_datarobot-0.10.12 → pulumi_datarobot-0.10.14}/pulumi_datarobot/notification_channel.py +0 -0
- {pulumi_datarobot-0.10.12 → pulumi_datarobot-0.10.14}/pulumi_datarobot/notification_policy.py +0 -0
- {pulumi_datarobot-0.10.12 → pulumi_datarobot-0.10.14}/pulumi_datarobot/playground.py +0 -0
- {pulumi_datarobot-0.10.12 → pulumi_datarobot-0.10.14}/pulumi_datarobot/prediction_environment.py +0 -0
- {pulumi_datarobot-0.10.12 → pulumi_datarobot-0.10.14}/pulumi_datarobot/provider.py +0 -0
- {pulumi_datarobot-0.10.12 → pulumi_datarobot-0.10.14}/pulumi_datarobot/pulumi-plugin.json +0 -0
- {pulumi_datarobot-0.10.12 → pulumi_datarobot-0.10.14}/pulumi_datarobot/py.typed +0 -0
- {pulumi_datarobot-0.10.12 → pulumi_datarobot-0.10.14}/pulumi_datarobot/qa_application.py +0 -0
- {pulumi_datarobot-0.10.12 → pulumi_datarobot-0.10.14}/pulumi_datarobot/registered_model.py +0 -0
- {pulumi_datarobot-0.10.12 → pulumi_datarobot-0.10.14}/pulumi_datarobot/registered_model_from_leaderboard.py +0 -0
- {pulumi_datarobot-0.10.12 → pulumi_datarobot-0.10.14}/pulumi_datarobot/remote_repository.py +0 -0
- {pulumi_datarobot-0.10.12 → pulumi_datarobot-0.10.14}/pulumi_datarobot/use_case.py +0 -0
- {pulumi_datarobot-0.10.12 → pulumi_datarobot-0.10.14}/pulumi_datarobot/vector_database.py +0 -0
- {pulumi_datarobot-0.10.12 → pulumi_datarobot-0.10.14}/pulumi_datarobot.egg-info/SOURCES.txt +0 -0
- {pulumi_datarobot-0.10.12 → pulumi_datarobot-0.10.14}/pulumi_datarobot.egg-info/dependency_links.txt +0 -0
- {pulumi_datarobot-0.10.12 → pulumi_datarobot-0.10.14}/pulumi_datarobot.egg-info/not-zip-safe +0 -0
- {pulumi_datarobot-0.10.12 → pulumi_datarobot-0.10.14}/pulumi_datarobot.egg-info/requires.txt +0 -0
- {pulumi_datarobot-0.10.12 → pulumi_datarobot-0.10.14}/pulumi_datarobot.egg-info/top_level.txt +0 -0
- {pulumi_datarobot-0.10.12 → pulumi_datarobot-0.10.14}/setup.cfg +0 -0
@@ -68,6 +68,10 @@ __all__ = [
|
|
68
68
|
'CustomMetricValueArgsDict',
|
69
69
|
'CustomModelGuardConfigurationArgs',
|
70
70
|
'CustomModelGuardConfigurationArgsDict',
|
71
|
+
'CustomModelGuardConfigurationAdditionalGuardConfigArgs',
|
72
|
+
'CustomModelGuardConfigurationAdditionalGuardConfigArgsDict',
|
73
|
+
'CustomModelGuardConfigurationAdditionalGuardConfigCostArgs',
|
74
|
+
'CustomModelGuardConfigurationAdditionalGuardConfigCostArgsDict',
|
71
75
|
'CustomModelGuardConfigurationInterventionArgs',
|
72
76
|
'CustomModelGuardConfigurationInterventionArgsDict',
|
73
77
|
'CustomModelGuardConfigurationNemoInfoArgs',
|
@@ -2307,6 +2311,10 @@ if not MYPY:
|
|
2307
2311
|
"""
|
2308
2312
|
The template name of the guard configuration.
|
2309
2313
|
"""
|
2314
|
+
additional_guard_config: NotRequired[pulumi.Input['CustomModelGuardConfigurationAdditionalGuardConfigArgsDict']]
|
2315
|
+
"""
|
2316
|
+
Additional guard configuration
|
2317
|
+
"""
|
2310
2318
|
deployment_id: NotRequired[pulumi.Input[builtins.str]]
|
2311
2319
|
"""
|
2312
2320
|
The deployment ID of this guard.
|
@@ -2349,6 +2357,7 @@ class CustomModelGuardConfigurationArgs:
|
|
2349
2357
|
name: pulumi.Input[builtins.str],
|
2350
2358
|
stages: pulumi.Input[Sequence[pulumi.Input[builtins.str]]],
|
2351
2359
|
template_name: pulumi.Input[builtins.str],
|
2360
|
+
additional_guard_config: Optional[pulumi.Input['CustomModelGuardConfigurationAdditionalGuardConfigArgs']] = None,
|
2352
2361
|
deployment_id: Optional[pulumi.Input[builtins.str]] = None,
|
2353
2362
|
input_column_name: Optional[pulumi.Input[builtins.str]] = None,
|
2354
2363
|
llm_type: Optional[pulumi.Input[builtins.str]] = None,
|
@@ -2362,6 +2371,7 @@ class CustomModelGuardConfigurationArgs:
|
|
2362
2371
|
:param pulumi.Input[builtins.str] name: The name of the guard configuration.
|
2363
2372
|
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] stages: The list of stages for the guard configuration.
|
2364
2373
|
:param pulumi.Input[builtins.str] template_name: The template name of the guard configuration.
|
2374
|
+
:param pulumi.Input['CustomModelGuardConfigurationAdditionalGuardConfigArgs'] additional_guard_config: Additional guard configuration
|
2365
2375
|
:param pulumi.Input[builtins.str] deployment_id: The deployment ID of this guard.
|
2366
2376
|
:param pulumi.Input[builtins.str] input_column_name: The input column name of this guard.
|
2367
2377
|
:param pulumi.Input[builtins.str] llm_type: The LLM type for this guard.
|
@@ -2375,6 +2385,8 @@ class CustomModelGuardConfigurationArgs:
|
|
2375
2385
|
pulumi.set(__self__, "name", name)
|
2376
2386
|
pulumi.set(__self__, "stages", stages)
|
2377
2387
|
pulumi.set(__self__, "template_name", template_name)
|
2388
|
+
if additional_guard_config is not None:
|
2389
|
+
pulumi.set(__self__, "additional_guard_config", additional_guard_config)
|
2378
2390
|
if deployment_id is not None:
|
2379
2391
|
pulumi.set(__self__, "deployment_id", deployment_id)
|
2380
2392
|
if input_column_name is not None:
|
@@ -2440,6 +2452,18 @@ class CustomModelGuardConfigurationArgs:
|
|
2440
2452
|
def template_name(self, value: pulumi.Input[builtins.str]):
|
2441
2453
|
pulumi.set(self, "template_name", value)
|
2442
2454
|
|
2455
|
+
@property
|
2456
|
+
@pulumi.getter(name="additionalGuardConfig")
|
2457
|
+
def additional_guard_config(self) -> Optional[pulumi.Input['CustomModelGuardConfigurationAdditionalGuardConfigArgs']]:
|
2458
|
+
"""
|
2459
|
+
Additional guard configuration
|
2460
|
+
"""
|
2461
|
+
return pulumi.get(self, "additional_guard_config")
|
2462
|
+
|
2463
|
+
@additional_guard_config.setter
|
2464
|
+
def additional_guard_config(self, value: Optional[pulumi.Input['CustomModelGuardConfigurationAdditionalGuardConfigArgs']]):
|
2465
|
+
pulumi.set(self, "additional_guard_config", value)
|
2466
|
+
|
2443
2467
|
@property
|
2444
2468
|
@pulumi.getter(name="deploymentId")
|
2445
2469
|
def deployment_id(self) -> Optional[pulumi.Input[builtins.str]]:
|
@@ -2537,6 +2561,145 @@ class CustomModelGuardConfigurationArgs:
|
|
2537
2561
|
pulumi.set(self, "output_column_name", value)
|
2538
2562
|
|
2539
2563
|
|
2564
|
+
if not MYPY:
|
2565
|
+
class CustomModelGuardConfigurationAdditionalGuardConfigArgsDict(TypedDict):
|
2566
|
+
cost: NotRequired[pulumi.Input['CustomModelGuardConfigurationAdditionalGuardConfigCostArgsDict']]
|
2567
|
+
"""
|
2568
|
+
Cost metric configuration
|
2569
|
+
"""
|
2570
|
+
elif False:
|
2571
|
+
CustomModelGuardConfigurationAdditionalGuardConfigArgsDict: TypeAlias = Mapping[str, Any]
|
2572
|
+
|
2573
|
+
@pulumi.input_type
|
2574
|
+
class CustomModelGuardConfigurationAdditionalGuardConfigArgs:
|
2575
|
+
def __init__(__self__, *,
|
2576
|
+
cost: Optional[pulumi.Input['CustomModelGuardConfigurationAdditionalGuardConfigCostArgs']] = None):
|
2577
|
+
"""
|
2578
|
+
:param pulumi.Input['CustomModelGuardConfigurationAdditionalGuardConfigCostArgs'] cost: Cost metric configuration
|
2579
|
+
"""
|
2580
|
+
if cost is not None:
|
2581
|
+
pulumi.set(__self__, "cost", cost)
|
2582
|
+
|
2583
|
+
@property
|
2584
|
+
@pulumi.getter
|
2585
|
+
def cost(self) -> Optional[pulumi.Input['CustomModelGuardConfigurationAdditionalGuardConfigCostArgs']]:
|
2586
|
+
"""
|
2587
|
+
Cost metric configuration
|
2588
|
+
"""
|
2589
|
+
return pulumi.get(self, "cost")
|
2590
|
+
|
2591
|
+
@cost.setter
|
2592
|
+
def cost(self, value: Optional[pulumi.Input['CustomModelGuardConfigurationAdditionalGuardConfigCostArgs']]):
|
2593
|
+
pulumi.set(self, "cost", value)
|
2594
|
+
|
2595
|
+
|
2596
|
+
if not MYPY:
|
2597
|
+
class CustomModelGuardConfigurationAdditionalGuardConfigCostArgsDict(TypedDict):
|
2598
|
+
currency: pulumi.Input[builtins.str]
|
2599
|
+
"""
|
2600
|
+
Currency for cost calculation (USD)
|
2601
|
+
"""
|
2602
|
+
input_price: pulumi.Input[builtins.float]
|
2603
|
+
"""
|
2604
|
+
LLM Price for input_unit tokens
|
2605
|
+
"""
|
2606
|
+
input_unit: pulumi.Input[builtins.int]
|
2607
|
+
"""
|
2608
|
+
No of input tokens for given price
|
2609
|
+
"""
|
2610
|
+
output_price: pulumi.Input[builtins.float]
|
2611
|
+
"""
|
2612
|
+
LLM Price for output_unit tokens
|
2613
|
+
"""
|
2614
|
+
output_unit: pulumi.Input[builtins.int]
|
2615
|
+
"""
|
2616
|
+
No of output tokens for given price
|
2617
|
+
"""
|
2618
|
+
elif False:
|
2619
|
+
CustomModelGuardConfigurationAdditionalGuardConfigCostArgsDict: TypeAlias = Mapping[str, Any]
|
2620
|
+
|
2621
|
+
@pulumi.input_type
|
2622
|
+
class CustomModelGuardConfigurationAdditionalGuardConfigCostArgs:
|
2623
|
+
def __init__(__self__, *,
|
2624
|
+
currency: pulumi.Input[builtins.str],
|
2625
|
+
input_price: pulumi.Input[builtins.float],
|
2626
|
+
input_unit: pulumi.Input[builtins.int],
|
2627
|
+
output_price: pulumi.Input[builtins.float],
|
2628
|
+
output_unit: pulumi.Input[builtins.int]):
|
2629
|
+
"""
|
2630
|
+
:param pulumi.Input[builtins.str] currency: Currency for cost calculation (USD)
|
2631
|
+
:param pulumi.Input[builtins.float] input_price: LLM Price for input_unit tokens
|
2632
|
+
:param pulumi.Input[builtins.int] input_unit: No of input tokens for given price
|
2633
|
+
:param pulumi.Input[builtins.float] output_price: LLM Price for output_unit tokens
|
2634
|
+
:param pulumi.Input[builtins.int] output_unit: No of output tokens for given price
|
2635
|
+
"""
|
2636
|
+
pulumi.set(__self__, "currency", currency)
|
2637
|
+
pulumi.set(__self__, "input_price", input_price)
|
2638
|
+
pulumi.set(__self__, "input_unit", input_unit)
|
2639
|
+
pulumi.set(__self__, "output_price", output_price)
|
2640
|
+
pulumi.set(__self__, "output_unit", output_unit)
|
2641
|
+
|
2642
|
+
@property
|
2643
|
+
@pulumi.getter
|
2644
|
+
def currency(self) -> pulumi.Input[builtins.str]:
|
2645
|
+
"""
|
2646
|
+
Currency for cost calculation (USD)
|
2647
|
+
"""
|
2648
|
+
return pulumi.get(self, "currency")
|
2649
|
+
|
2650
|
+
@currency.setter
|
2651
|
+
def currency(self, value: pulumi.Input[builtins.str]):
|
2652
|
+
pulumi.set(self, "currency", value)
|
2653
|
+
|
2654
|
+
@property
|
2655
|
+
@pulumi.getter(name="inputPrice")
|
2656
|
+
def input_price(self) -> pulumi.Input[builtins.float]:
|
2657
|
+
"""
|
2658
|
+
LLM Price for input_unit tokens
|
2659
|
+
"""
|
2660
|
+
return pulumi.get(self, "input_price")
|
2661
|
+
|
2662
|
+
@input_price.setter
|
2663
|
+
def input_price(self, value: pulumi.Input[builtins.float]):
|
2664
|
+
pulumi.set(self, "input_price", value)
|
2665
|
+
|
2666
|
+
@property
|
2667
|
+
@pulumi.getter(name="inputUnit")
|
2668
|
+
def input_unit(self) -> pulumi.Input[builtins.int]:
|
2669
|
+
"""
|
2670
|
+
No of input tokens for given price
|
2671
|
+
"""
|
2672
|
+
return pulumi.get(self, "input_unit")
|
2673
|
+
|
2674
|
+
@input_unit.setter
|
2675
|
+
def input_unit(self, value: pulumi.Input[builtins.int]):
|
2676
|
+
pulumi.set(self, "input_unit", value)
|
2677
|
+
|
2678
|
+
@property
|
2679
|
+
@pulumi.getter(name="outputPrice")
|
2680
|
+
def output_price(self) -> pulumi.Input[builtins.float]:
|
2681
|
+
"""
|
2682
|
+
LLM Price for output_unit tokens
|
2683
|
+
"""
|
2684
|
+
return pulumi.get(self, "output_price")
|
2685
|
+
|
2686
|
+
@output_price.setter
|
2687
|
+
def output_price(self, value: pulumi.Input[builtins.float]):
|
2688
|
+
pulumi.set(self, "output_price", value)
|
2689
|
+
|
2690
|
+
@property
|
2691
|
+
@pulumi.getter(name="outputUnit")
|
2692
|
+
def output_unit(self) -> pulumi.Input[builtins.int]:
|
2693
|
+
"""
|
2694
|
+
No of output tokens for given price
|
2695
|
+
"""
|
2696
|
+
return pulumi.get(self, "output_unit")
|
2697
|
+
|
2698
|
+
@output_unit.setter
|
2699
|
+
def output_unit(self, value: pulumi.Input[builtins.int]):
|
2700
|
+
pulumi.set(self, "output_unit", value)
|
2701
|
+
|
2702
|
+
|
2540
2703
|
if not MYPY:
|
2541
2704
|
class CustomModelGuardConfigurationInterventionArgsDict(TypedDict):
|
2542
2705
|
action: pulumi.Input[builtins.str]
|
@@ -43,6 +43,8 @@ __all__ = [
|
|
43
43
|
'CustomMetricTimestamp',
|
44
44
|
'CustomMetricValue',
|
45
45
|
'CustomModelGuardConfiguration',
|
46
|
+
'CustomModelGuardConfigurationAdditionalGuardConfig',
|
47
|
+
'CustomModelGuardConfigurationAdditionalGuardConfigCost',
|
46
48
|
'CustomModelGuardConfigurationIntervention',
|
47
49
|
'CustomModelGuardConfigurationNemoInfo',
|
48
50
|
'CustomModelOverallModerationConfiguration',
|
@@ -1736,6 +1738,8 @@ class CustomModelGuardConfiguration(dict):
|
|
1736
1738
|
suggest = None
|
1737
1739
|
if key == "templateName":
|
1738
1740
|
suggest = "template_name"
|
1741
|
+
elif key == "additionalGuardConfig":
|
1742
|
+
suggest = "additional_guard_config"
|
1739
1743
|
elif key == "deploymentId":
|
1740
1744
|
suggest = "deployment_id"
|
1741
1745
|
elif key == "inputColumnName":
|
@@ -1769,6 +1773,7 @@ class CustomModelGuardConfiguration(dict):
|
|
1769
1773
|
name: builtins.str,
|
1770
1774
|
stages: Sequence[builtins.str],
|
1771
1775
|
template_name: builtins.str,
|
1776
|
+
additional_guard_config: Optional['outputs.CustomModelGuardConfigurationAdditionalGuardConfig'] = None,
|
1772
1777
|
deployment_id: Optional[builtins.str] = None,
|
1773
1778
|
input_column_name: Optional[builtins.str] = None,
|
1774
1779
|
llm_type: Optional[builtins.str] = None,
|
@@ -1782,6 +1787,7 @@ class CustomModelGuardConfiguration(dict):
|
|
1782
1787
|
:param builtins.str name: The name of the guard configuration.
|
1783
1788
|
:param Sequence[builtins.str] stages: The list of stages for the guard configuration.
|
1784
1789
|
:param builtins.str template_name: The template name of the guard configuration.
|
1790
|
+
:param 'CustomModelGuardConfigurationAdditionalGuardConfigArgs' additional_guard_config: Additional guard configuration
|
1785
1791
|
:param builtins.str deployment_id: The deployment ID of this guard.
|
1786
1792
|
:param builtins.str input_column_name: The input column name of this guard.
|
1787
1793
|
:param builtins.str llm_type: The LLM type for this guard.
|
@@ -1795,6 +1801,8 @@ class CustomModelGuardConfiguration(dict):
|
|
1795
1801
|
pulumi.set(__self__, "name", name)
|
1796
1802
|
pulumi.set(__self__, "stages", stages)
|
1797
1803
|
pulumi.set(__self__, "template_name", template_name)
|
1804
|
+
if additional_guard_config is not None:
|
1805
|
+
pulumi.set(__self__, "additional_guard_config", additional_guard_config)
|
1798
1806
|
if deployment_id is not None:
|
1799
1807
|
pulumi.set(__self__, "deployment_id", deployment_id)
|
1800
1808
|
if input_column_name is not None:
|
@@ -1844,6 +1852,14 @@ class CustomModelGuardConfiguration(dict):
|
|
1844
1852
|
"""
|
1845
1853
|
return pulumi.get(self, "template_name")
|
1846
1854
|
|
1855
|
+
@property
|
1856
|
+
@pulumi.getter(name="additionalGuardConfig")
|
1857
|
+
def additional_guard_config(self) -> Optional['outputs.CustomModelGuardConfigurationAdditionalGuardConfig']:
|
1858
|
+
"""
|
1859
|
+
Additional guard configuration
|
1860
|
+
"""
|
1861
|
+
return pulumi.get(self, "additional_guard_config")
|
1862
|
+
|
1847
1863
|
@property
|
1848
1864
|
@pulumi.getter(name="deploymentId")
|
1849
1865
|
def deployment_id(self) -> Optional[builtins.str]:
|
@@ -1909,6 +1925,110 @@ class CustomModelGuardConfiguration(dict):
|
|
1909
1925
|
return pulumi.get(self, "output_column_name")
|
1910
1926
|
|
1911
1927
|
|
1928
|
+
@pulumi.output_type
|
1929
|
+
class CustomModelGuardConfigurationAdditionalGuardConfig(dict):
|
1930
|
+
def __init__(__self__, *,
|
1931
|
+
cost: Optional['outputs.CustomModelGuardConfigurationAdditionalGuardConfigCost'] = None):
|
1932
|
+
"""
|
1933
|
+
:param 'CustomModelGuardConfigurationAdditionalGuardConfigCostArgs' cost: Cost metric configuration
|
1934
|
+
"""
|
1935
|
+
if cost is not None:
|
1936
|
+
pulumi.set(__self__, "cost", cost)
|
1937
|
+
|
1938
|
+
@property
|
1939
|
+
@pulumi.getter
|
1940
|
+
def cost(self) -> Optional['outputs.CustomModelGuardConfigurationAdditionalGuardConfigCost']:
|
1941
|
+
"""
|
1942
|
+
Cost metric configuration
|
1943
|
+
"""
|
1944
|
+
return pulumi.get(self, "cost")
|
1945
|
+
|
1946
|
+
|
1947
|
+
@pulumi.output_type
|
1948
|
+
class CustomModelGuardConfigurationAdditionalGuardConfigCost(dict):
|
1949
|
+
@staticmethod
|
1950
|
+
def __key_warning(key: str):
|
1951
|
+
suggest = None
|
1952
|
+
if key == "inputPrice":
|
1953
|
+
suggest = "input_price"
|
1954
|
+
elif key == "inputUnit":
|
1955
|
+
suggest = "input_unit"
|
1956
|
+
elif key == "outputPrice":
|
1957
|
+
suggest = "output_price"
|
1958
|
+
elif key == "outputUnit":
|
1959
|
+
suggest = "output_unit"
|
1960
|
+
|
1961
|
+
if suggest:
|
1962
|
+
pulumi.log.warn(f"Key '{key}' not found in CustomModelGuardConfigurationAdditionalGuardConfigCost. Access the value via the '{suggest}' property getter instead.")
|
1963
|
+
|
1964
|
+
def __getitem__(self, key: str) -> Any:
|
1965
|
+
CustomModelGuardConfigurationAdditionalGuardConfigCost.__key_warning(key)
|
1966
|
+
return super().__getitem__(key)
|
1967
|
+
|
1968
|
+
def get(self, key: str, default = None) -> Any:
|
1969
|
+
CustomModelGuardConfigurationAdditionalGuardConfigCost.__key_warning(key)
|
1970
|
+
return super().get(key, default)
|
1971
|
+
|
1972
|
+
def __init__(__self__, *,
|
1973
|
+
currency: builtins.str,
|
1974
|
+
input_price: builtins.float,
|
1975
|
+
input_unit: builtins.int,
|
1976
|
+
output_price: builtins.float,
|
1977
|
+
output_unit: builtins.int):
|
1978
|
+
"""
|
1979
|
+
:param builtins.str currency: Currency for cost calculation (USD)
|
1980
|
+
:param builtins.float input_price: LLM Price for input_unit tokens
|
1981
|
+
:param builtins.int input_unit: No of input tokens for given price
|
1982
|
+
:param builtins.float output_price: LLM Price for output_unit tokens
|
1983
|
+
:param builtins.int output_unit: No of output tokens for given price
|
1984
|
+
"""
|
1985
|
+
pulumi.set(__self__, "currency", currency)
|
1986
|
+
pulumi.set(__self__, "input_price", input_price)
|
1987
|
+
pulumi.set(__self__, "input_unit", input_unit)
|
1988
|
+
pulumi.set(__self__, "output_price", output_price)
|
1989
|
+
pulumi.set(__self__, "output_unit", output_unit)
|
1990
|
+
|
1991
|
+
@property
|
1992
|
+
@pulumi.getter
|
1993
|
+
def currency(self) -> builtins.str:
|
1994
|
+
"""
|
1995
|
+
Currency for cost calculation (USD)
|
1996
|
+
"""
|
1997
|
+
return pulumi.get(self, "currency")
|
1998
|
+
|
1999
|
+
@property
|
2000
|
+
@pulumi.getter(name="inputPrice")
|
2001
|
+
def input_price(self) -> builtins.float:
|
2002
|
+
"""
|
2003
|
+
LLM Price for input_unit tokens
|
2004
|
+
"""
|
2005
|
+
return pulumi.get(self, "input_price")
|
2006
|
+
|
2007
|
+
@property
|
2008
|
+
@pulumi.getter(name="inputUnit")
|
2009
|
+
def input_unit(self) -> builtins.int:
|
2010
|
+
"""
|
2011
|
+
No of input tokens for given price
|
2012
|
+
"""
|
2013
|
+
return pulumi.get(self, "input_unit")
|
2014
|
+
|
2015
|
+
@property
|
2016
|
+
@pulumi.getter(name="outputPrice")
|
2017
|
+
def output_price(self) -> builtins.float:
|
2018
|
+
"""
|
2019
|
+
LLM Price for output_unit tokens
|
2020
|
+
"""
|
2021
|
+
return pulumi.get(self, "output_price")
|
2022
|
+
|
2023
|
+
@property
|
2024
|
+
@pulumi.getter(name="outputUnit")
|
2025
|
+
def output_unit(self) -> builtins.int:
|
2026
|
+
"""
|
2027
|
+
No of output tokens for given price
|
2028
|
+
"""
|
2029
|
+
return pulumi.get(self, "output_unit")
|
2030
|
+
|
2031
|
+
|
1912
2032
|
@pulumi.output_type
|
1913
2033
|
class CustomModelGuardConfigurationIntervention(dict):
|
1914
2034
|
def __init__(__self__, *,
|
File without changes
|
File without changes
|
File without changes
|
{pulumi_datarobot-0.10.12 → pulumi_datarobot-0.10.14}/pulumi_datarobot/api_token_credential.py
RENAMED
File without changes
|
File without changes
|
{pulumi_datarobot-0.10.12 → pulumi_datarobot-0.10.14}/pulumi_datarobot/application_source.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{pulumi_datarobot-0.10.12 → pulumi_datarobot-0.10.14}/pulumi_datarobot/custom_application.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{pulumi_datarobot-0.10.12 → pulumi_datarobot-0.10.14}/pulumi_datarobot/custom_metric_from_job.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{pulumi_datarobot-0.10.12 → pulumi_datarobot-0.10.14}/pulumi_datarobot/dataset_from_datasource.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{pulumi_datarobot-0.10.12 → pulumi_datarobot-0.10.14}/pulumi_datarobot/execution_environment.py
RENAMED
File without changes
|
{pulumi_datarobot-0.10.12 → pulumi_datarobot-0.10.14}/pulumi_datarobot/get_execution_environment.py
RENAMED
File without changes
|
File without changes
|
{pulumi_datarobot-0.10.12 → pulumi_datarobot-0.10.14}/pulumi_datarobot/google_cloud_credential.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
{pulumi_datarobot-0.10.12 → pulumi_datarobot-0.10.14}/pulumi_datarobot/notification_channel.py
RENAMED
File without changes
|
{pulumi_datarobot-0.10.12 → pulumi_datarobot-0.10.14}/pulumi_datarobot/notification_policy.py
RENAMED
File without changes
|
File without changes
|
{pulumi_datarobot-0.10.12 → pulumi_datarobot-0.10.14}/pulumi_datarobot/prediction_environment.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{pulumi_datarobot-0.10.12 → pulumi_datarobot-0.10.14}/pulumi_datarobot.egg-info/dependency_links.txt
RENAMED
File without changes
|
{pulumi_datarobot-0.10.12 → pulumi_datarobot-0.10.14}/pulumi_datarobot.egg-info/not-zip-safe
RENAMED
File without changes
|
{pulumi_datarobot-0.10.12 → pulumi_datarobot-0.10.14}/pulumi_datarobot.egg-info/requires.txt
RENAMED
File without changes
|
{pulumi_datarobot-0.10.12 → pulumi_datarobot-0.10.14}/pulumi_datarobot.egg-info/top_level.txt
RENAMED
File without changes
|
File without changes
|