pulumi-datarobot 0.8.13__tar.gz → 0.8.15__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.8.13 → pulumi_datarobot-0.8.15}/PKG-INFO +1 -1
- {pulumi_datarobot-0.8.13 → pulumi_datarobot-0.8.15}/pulumi_datarobot/custom_model_llm_validation.py +78 -31
- {pulumi_datarobot-0.8.13 → pulumi_datarobot-0.8.15}/pulumi_datarobot/registered_model.py +0 -6
- {pulumi_datarobot-0.8.13 → pulumi_datarobot-0.8.15}/pulumi_datarobot/registered_model_from_leaderboard.py +36 -0
- {pulumi_datarobot-0.8.13 → pulumi_datarobot-0.8.15}/pulumi_datarobot.egg-info/PKG-INFO +1 -1
- {pulumi_datarobot-0.8.13 → pulumi_datarobot-0.8.15}/setup.py +1 -1
- {pulumi_datarobot-0.8.13 → pulumi_datarobot-0.8.15}/README.md +0 -0
- {pulumi_datarobot-0.8.13 → pulumi_datarobot-0.8.15}/pulumi_datarobot/__init__.py +0 -0
- {pulumi_datarobot-0.8.13 → pulumi_datarobot-0.8.15}/pulumi_datarobot/_inputs.py +0 -0
- {pulumi_datarobot-0.8.13 → pulumi_datarobot-0.8.15}/pulumi_datarobot/_utilities.py +0 -0
- {pulumi_datarobot-0.8.13 → pulumi_datarobot-0.8.15}/pulumi_datarobot/api_token_credential.py +0 -0
- {pulumi_datarobot-0.8.13 → pulumi_datarobot-0.8.15}/pulumi_datarobot/application_source.py +0 -0
- {pulumi_datarobot-0.8.13 → pulumi_datarobot-0.8.15}/pulumi_datarobot/application_source_from_template.py +0 -0
- {pulumi_datarobot-0.8.13 → pulumi_datarobot-0.8.15}/pulumi_datarobot/aws_credential.py +0 -0
- {pulumi_datarobot-0.8.13 → pulumi_datarobot-0.8.15}/pulumi_datarobot/basic_credential.py +0 -0
- {pulumi_datarobot-0.8.13 → pulumi_datarobot-0.8.15}/pulumi_datarobot/batch_prediction_job_definition.py +0 -0
- {pulumi_datarobot-0.8.13 → pulumi_datarobot-0.8.15}/pulumi_datarobot/config/__init__.py +0 -0
- {pulumi_datarobot-0.8.13 → pulumi_datarobot-0.8.15}/pulumi_datarobot/config/vars.py +0 -0
- {pulumi_datarobot-0.8.13 → pulumi_datarobot-0.8.15}/pulumi_datarobot/custom_application.py +0 -0
- {pulumi_datarobot-0.8.13 → pulumi_datarobot-0.8.15}/pulumi_datarobot/custom_application_from_environment.py +0 -0
- {pulumi_datarobot-0.8.13 → pulumi_datarobot-0.8.15}/pulumi_datarobot/custom_job.py +0 -0
- {pulumi_datarobot-0.8.13 → pulumi_datarobot-0.8.15}/pulumi_datarobot/custom_metric.py +0 -0
- {pulumi_datarobot-0.8.13 → pulumi_datarobot-0.8.15}/pulumi_datarobot/custom_metric_from_job.py +0 -0
- {pulumi_datarobot-0.8.13 → pulumi_datarobot-0.8.15}/pulumi_datarobot/custom_metric_job.py +0 -0
- {pulumi_datarobot-0.8.13 → pulumi_datarobot-0.8.15}/pulumi_datarobot/custom_model.py +0 -0
- {pulumi_datarobot-0.8.13 → pulumi_datarobot-0.8.15}/pulumi_datarobot/dataset_from_datasource.py +0 -0
- {pulumi_datarobot-0.8.13 → pulumi_datarobot-0.8.15}/pulumi_datarobot/dataset_from_file.py +0 -0
- {pulumi_datarobot-0.8.13 → pulumi_datarobot-0.8.15}/pulumi_datarobot/dataset_from_url.py +0 -0
- {pulumi_datarobot-0.8.13 → pulumi_datarobot-0.8.15}/pulumi_datarobot/datasource.py +0 -0
- {pulumi_datarobot-0.8.13 → pulumi_datarobot-0.8.15}/pulumi_datarobot/datastore.py +0 -0
- {pulumi_datarobot-0.8.13 → pulumi_datarobot-0.8.15}/pulumi_datarobot/deployment.py +0 -0
- {pulumi_datarobot-0.8.13 → pulumi_datarobot-0.8.15}/pulumi_datarobot/deployment_retraining_policy.py +0 -0
- {pulumi_datarobot-0.8.13 → pulumi_datarobot-0.8.15}/pulumi_datarobot/execution_environment.py +0 -0
- {pulumi_datarobot-0.8.13 → pulumi_datarobot-0.8.15}/pulumi_datarobot/get_execution_environment.py +0 -0
- {pulumi_datarobot-0.8.13 → pulumi_datarobot-0.8.15}/pulumi_datarobot/get_global_model.py +0 -0
- {pulumi_datarobot-0.8.13 → pulumi_datarobot-0.8.15}/pulumi_datarobot/google_cloud_credential.py +0 -0
- {pulumi_datarobot-0.8.13 → pulumi_datarobot-0.8.15}/pulumi_datarobot/llm_blueprint.py +0 -0
- {pulumi_datarobot-0.8.13 → pulumi_datarobot-0.8.15}/pulumi_datarobot/notification_channel.py +0 -0
- {pulumi_datarobot-0.8.13 → pulumi_datarobot-0.8.15}/pulumi_datarobot/notification_policy.py +0 -0
- {pulumi_datarobot-0.8.13 → pulumi_datarobot-0.8.15}/pulumi_datarobot/outputs.py +0 -0
- {pulumi_datarobot-0.8.13 → pulumi_datarobot-0.8.15}/pulumi_datarobot/playground.py +0 -0
- {pulumi_datarobot-0.8.13 → pulumi_datarobot-0.8.15}/pulumi_datarobot/prediction_environment.py +0 -0
- {pulumi_datarobot-0.8.13 → pulumi_datarobot-0.8.15}/pulumi_datarobot/provider.py +0 -0
- {pulumi_datarobot-0.8.13 → pulumi_datarobot-0.8.15}/pulumi_datarobot/pulumi-plugin.json +0 -0
- {pulumi_datarobot-0.8.13 → pulumi_datarobot-0.8.15}/pulumi_datarobot/py.typed +0 -0
- {pulumi_datarobot-0.8.13 → pulumi_datarobot-0.8.15}/pulumi_datarobot/qa_application.py +0 -0
- {pulumi_datarobot-0.8.13 → pulumi_datarobot-0.8.15}/pulumi_datarobot/remote_repository.py +0 -0
- {pulumi_datarobot-0.8.13 → pulumi_datarobot-0.8.15}/pulumi_datarobot/use_case.py +0 -0
- {pulumi_datarobot-0.8.13 → pulumi_datarobot-0.8.15}/pulumi_datarobot/vector_database.py +0 -0
- {pulumi_datarobot-0.8.13 → pulumi_datarobot-0.8.15}/pulumi_datarobot.egg-info/SOURCES.txt +0 -0
- {pulumi_datarobot-0.8.13 → pulumi_datarobot-0.8.15}/pulumi_datarobot.egg-info/dependency_links.txt +0 -0
- {pulumi_datarobot-0.8.13 → pulumi_datarobot-0.8.15}/pulumi_datarobot.egg-info/not-zip-safe +0 -0
- {pulumi_datarobot-0.8.13 → pulumi_datarobot-0.8.15}/pulumi_datarobot.egg-info/requires.txt +0 -0
- {pulumi_datarobot-0.8.13 → pulumi_datarobot-0.8.15}/pulumi_datarobot.egg-info/top_level.txt +0 -0
- {pulumi_datarobot-0.8.13 → pulumi_datarobot-0.8.15}/setup.cfg +0 -0
{pulumi_datarobot-0.8.13 → pulumi_datarobot-0.8.15}/pulumi_datarobot/custom_model_llm_validation.py
RENAMED
@@ -20,31 +20,37 @@ __all__ = ['CustomModelLlmValidationArgs', 'CustomModelLlmValidation']
|
|
20
20
|
class CustomModelLlmValidationArgs:
|
21
21
|
def __init__(__self__, *,
|
22
22
|
deployment_id: pulumi.Input[str],
|
23
|
-
|
24
|
-
target_column_name: pulumi.Input[str],
|
23
|
+
chat_model_id: Optional[pulumi.Input[str]] = None,
|
25
24
|
model_id: Optional[pulumi.Input[str]] = None,
|
26
25
|
name: Optional[pulumi.Input[str]] = None,
|
27
26
|
prediction_timeout: Optional[pulumi.Input[int]] = None,
|
27
|
+
prompt_column_name: Optional[pulumi.Input[str]] = None,
|
28
|
+
target_column_name: Optional[pulumi.Input[str]] = None,
|
28
29
|
use_case_id: Optional[pulumi.Input[str]] = None):
|
29
30
|
"""
|
30
31
|
The set of arguments for constructing a CustomModelLlmValidation resource.
|
31
32
|
:param pulumi.Input[str] deployment_id: The ID of the custom model deployment.
|
32
|
-
:param pulumi.Input[str]
|
33
|
-
:param pulumi.Input[str] target_column_name: The name of the column the custom model uses for prediction output.
|
33
|
+
:param pulumi.Input[str] chat_model_id: The ID of the chat model to use for the custom model LLM validation.
|
34
34
|
:param pulumi.Input[str] model_id: The ID of the model used in the deployment.
|
35
35
|
:param pulumi.Input[str] name: The name to use for the validated custom model.
|
36
36
|
:param pulumi.Input[int] prediction_timeout: The timeout in seconds for the prediction when validating a custom model. Defaults to 300.
|
37
|
+
:param pulumi.Input[str] prompt_column_name: The name of the column the custom model uses for prompt text input.
|
38
|
+
:param pulumi.Input[str] target_column_name: The name of the column the custom model uses for prediction output.
|
37
39
|
:param pulumi.Input[str] use_case_id: The ID of the use case to associate with the validated custom model.
|
38
40
|
"""
|
39
41
|
pulumi.set(__self__, "deployment_id", deployment_id)
|
40
|
-
|
41
|
-
|
42
|
+
if chat_model_id is not None:
|
43
|
+
pulumi.set(__self__, "chat_model_id", chat_model_id)
|
42
44
|
if model_id is not None:
|
43
45
|
pulumi.set(__self__, "model_id", model_id)
|
44
46
|
if name is not None:
|
45
47
|
pulumi.set(__self__, "name", name)
|
46
48
|
if prediction_timeout is not None:
|
47
49
|
pulumi.set(__self__, "prediction_timeout", prediction_timeout)
|
50
|
+
if prompt_column_name is not None:
|
51
|
+
pulumi.set(__self__, "prompt_column_name", prompt_column_name)
|
52
|
+
if target_column_name is not None:
|
53
|
+
pulumi.set(__self__, "target_column_name", target_column_name)
|
48
54
|
if use_case_id is not None:
|
49
55
|
pulumi.set(__self__, "use_case_id", use_case_id)
|
50
56
|
|
@@ -61,28 +67,16 @@ class CustomModelLlmValidationArgs:
|
|
61
67
|
pulumi.set(self, "deployment_id", value)
|
62
68
|
|
63
69
|
@property
|
64
|
-
@pulumi.getter(name="
|
65
|
-
def
|
70
|
+
@pulumi.getter(name="chatModelId")
|
71
|
+
def chat_model_id(self) -> Optional[pulumi.Input[str]]:
|
66
72
|
"""
|
67
|
-
The
|
73
|
+
The ID of the chat model to use for the custom model LLM validation.
|
68
74
|
"""
|
69
|
-
return pulumi.get(self, "
|
75
|
+
return pulumi.get(self, "chat_model_id")
|
70
76
|
|
71
|
-
@
|
72
|
-
def
|
73
|
-
pulumi.set(self, "
|
74
|
-
|
75
|
-
@property
|
76
|
-
@pulumi.getter(name="targetColumnName")
|
77
|
-
def target_column_name(self) -> pulumi.Input[str]:
|
78
|
-
"""
|
79
|
-
The name of the column the custom model uses for prediction output.
|
80
|
-
"""
|
81
|
-
return pulumi.get(self, "target_column_name")
|
82
|
-
|
83
|
-
@target_column_name.setter
|
84
|
-
def target_column_name(self, value: pulumi.Input[str]):
|
85
|
-
pulumi.set(self, "target_column_name", value)
|
77
|
+
@chat_model_id.setter
|
78
|
+
def chat_model_id(self, value: Optional[pulumi.Input[str]]):
|
79
|
+
pulumi.set(self, "chat_model_id", value)
|
86
80
|
|
87
81
|
@property
|
88
82
|
@pulumi.getter(name="modelId")
|
@@ -120,6 +114,30 @@ class CustomModelLlmValidationArgs:
|
|
120
114
|
def prediction_timeout(self, value: Optional[pulumi.Input[int]]):
|
121
115
|
pulumi.set(self, "prediction_timeout", value)
|
122
116
|
|
117
|
+
@property
|
118
|
+
@pulumi.getter(name="promptColumnName")
|
119
|
+
def prompt_column_name(self) -> Optional[pulumi.Input[str]]:
|
120
|
+
"""
|
121
|
+
The name of the column the custom model uses for prompt text input.
|
122
|
+
"""
|
123
|
+
return pulumi.get(self, "prompt_column_name")
|
124
|
+
|
125
|
+
@prompt_column_name.setter
|
126
|
+
def prompt_column_name(self, value: Optional[pulumi.Input[str]]):
|
127
|
+
pulumi.set(self, "prompt_column_name", value)
|
128
|
+
|
129
|
+
@property
|
130
|
+
@pulumi.getter(name="targetColumnName")
|
131
|
+
def target_column_name(self) -> Optional[pulumi.Input[str]]:
|
132
|
+
"""
|
133
|
+
The name of the column the custom model uses for prediction output.
|
134
|
+
"""
|
135
|
+
return pulumi.get(self, "target_column_name")
|
136
|
+
|
137
|
+
@target_column_name.setter
|
138
|
+
def target_column_name(self, value: Optional[pulumi.Input[str]]):
|
139
|
+
pulumi.set(self, "target_column_name", value)
|
140
|
+
|
123
141
|
@property
|
124
142
|
@pulumi.getter(name="useCaseId")
|
125
143
|
def use_case_id(self) -> Optional[pulumi.Input[str]]:
|
@@ -136,6 +154,7 @@ class CustomModelLlmValidationArgs:
|
|
136
154
|
@pulumi.input_type
|
137
155
|
class _CustomModelLlmValidationState:
|
138
156
|
def __init__(__self__, *,
|
157
|
+
chat_model_id: Optional[pulumi.Input[str]] = None,
|
139
158
|
deployment_id: Optional[pulumi.Input[str]] = None,
|
140
159
|
model_id: Optional[pulumi.Input[str]] = None,
|
141
160
|
name: Optional[pulumi.Input[str]] = None,
|
@@ -145,6 +164,7 @@ class _CustomModelLlmValidationState:
|
|
145
164
|
use_case_id: Optional[pulumi.Input[str]] = None):
|
146
165
|
"""
|
147
166
|
Input properties used for looking up and filtering CustomModelLlmValidation resources.
|
167
|
+
:param pulumi.Input[str] chat_model_id: The ID of the chat model to use for the custom model LLM validation.
|
148
168
|
:param pulumi.Input[str] deployment_id: The ID of the custom model deployment.
|
149
169
|
:param pulumi.Input[str] model_id: The ID of the model used in the deployment.
|
150
170
|
:param pulumi.Input[str] name: The name to use for the validated custom model.
|
@@ -153,6 +173,8 @@ class _CustomModelLlmValidationState:
|
|
153
173
|
:param pulumi.Input[str] target_column_name: The name of the column the custom model uses for prediction output.
|
154
174
|
:param pulumi.Input[str] use_case_id: The ID of the use case to associate with the validated custom model.
|
155
175
|
"""
|
176
|
+
if chat_model_id is not None:
|
177
|
+
pulumi.set(__self__, "chat_model_id", chat_model_id)
|
156
178
|
if deployment_id is not None:
|
157
179
|
pulumi.set(__self__, "deployment_id", deployment_id)
|
158
180
|
if model_id is not None:
|
@@ -168,6 +190,18 @@ class _CustomModelLlmValidationState:
|
|
168
190
|
if use_case_id is not None:
|
169
191
|
pulumi.set(__self__, "use_case_id", use_case_id)
|
170
192
|
|
193
|
+
@property
|
194
|
+
@pulumi.getter(name="chatModelId")
|
195
|
+
def chat_model_id(self) -> Optional[pulumi.Input[str]]:
|
196
|
+
"""
|
197
|
+
The ID of the chat model to use for the custom model LLM validation.
|
198
|
+
"""
|
199
|
+
return pulumi.get(self, "chat_model_id")
|
200
|
+
|
201
|
+
@chat_model_id.setter
|
202
|
+
def chat_model_id(self, value: Optional[pulumi.Input[str]]):
|
203
|
+
pulumi.set(self, "chat_model_id", value)
|
204
|
+
|
171
205
|
@property
|
172
206
|
@pulumi.getter(name="deploymentId")
|
173
207
|
def deployment_id(self) -> Optional[pulumi.Input[str]]:
|
@@ -258,6 +292,7 @@ class CustomModelLlmValidation(pulumi.CustomResource):
|
|
258
292
|
def __init__(__self__,
|
259
293
|
resource_name: str,
|
260
294
|
opts: Optional[pulumi.ResourceOptions] = None,
|
295
|
+
chat_model_id: Optional[pulumi.Input[str]] = None,
|
261
296
|
deployment_id: Optional[pulumi.Input[str]] = None,
|
262
297
|
model_id: Optional[pulumi.Input[str]] = None,
|
263
298
|
name: Optional[pulumi.Input[str]] = None,
|
@@ -279,6 +314,7 @@ class CustomModelLlmValidation(pulumi.CustomResource):
|
|
279
314
|
deployment_id=datarobot_deployment["example"]["id"],
|
280
315
|
prompt_column_name="promptText",
|
281
316
|
target_column_name="resultText",
|
317
|
+
chat_model_id="111111111111",
|
282
318
|
prediction_timeout=100,
|
283
319
|
use_case_id=datarobot["use_case"]["example"]["id"])
|
284
320
|
pulumi.export("exampleId", example.id)
|
@@ -286,6 +322,7 @@ class CustomModelLlmValidation(pulumi.CustomResource):
|
|
286
322
|
|
287
323
|
:param str resource_name: The name of the resource.
|
288
324
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
325
|
+
:param pulumi.Input[str] chat_model_id: The ID of the chat model to use for the custom model LLM validation.
|
289
326
|
:param pulumi.Input[str] deployment_id: The ID of the custom model deployment.
|
290
327
|
:param pulumi.Input[str] model_id: The ID of the model used in the deployment.
|
291
328
|
:param pulumi.Input[str] name: The name to use for the validated custom model.
|
@@ -313,6 +350,7 @@ class CustomModelLlmValidation(pulumi.CustomResource):
|
|
313
350
|
deployment_id=datarobot_deployment["example"]["id"],
|
314
351
|
prompt_column_name="promptText",
|
315
352
|
target_column_name="resultText",
|
353
|
+
chat_model_id="111111111111",
|
316
354
|
prediction_timeout=100,
|
317
355
|
use_case_id=datarobot["use_case"]["example"]["id"])
|
318
356
|
pulumi.export("exampleId", example.id)
|
@@ -333,6 +371,7 @@ class CustomModelLlmValidation(pulumi.CustomResource):
|
|
333
371
|
def _internal_init(__self__,
|
334
372
|
resource_name: str,
|
335
373
|
opts: Optional[pulumi.ResourceOptions] = None,
|
374
|
+
chat_model_id: Optional[pulumi.Input[str]] = None,
|
336
375
|
deployment_id: Optional[pulumi.Input[str]] = None,
|
337
376
|
model_id: Optional[pulumi.Input[str]] = None,
|
338
377
|
name: Optional[pulumi.Input[str]] = None,
|
@@ -349,17 +388,14 @@ class CustomModelLlmValidation(pulumi.CustomResource):
|
|
349
388
|
raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
|
350
389
|
__props__ = CustomModelLlmValidationArgs.__new__(CustomModelLlmValidationArgs)
|
351
390
|
|
391
|
+
__props__.__dict__["chat_model_id"] = chat_model_id
|
352
392
|
if deployment_id is None and not opts.urn:
|
353
393
|
raise TypeError("Missing required property 'deployment_id'")
|
354
394
|
__props__.__dict__["deployment_id"] = deployment_id
|
355
395
|
__props__.__dict__["model_id"] = model_id
|
356
396
|
__props__.__dict__["name"] = name
|
357
397
|
__props__.__dict__["prediction_timeout"] = prediction_timeout
|
358
|
-
if prompt_column_name is None and not opts.urn:
|
359
|
-
raise TypeError("Missing required property 'prompt_column_name'")
|
360
398
|
__props__.__dict__["prompt_column_name"] = prompt_column_name
|
361
|
-
if target_column_name is None and not opts.urn:
|
362
|
-
raise TypeError("Missing required property 'target_column_name'")
|
363
399
|
__props__.__dict__["target_column_name"] = target_column_name
|
364
400
|
__props__.__dict__["use_case_id"] = use_case_id
|
365
401
|
super(CustomModelLlmValidation, __self__).__init__(
|
@@ -372,6 +408,7 @@ class CustomModelLlmValidation(pulumi.CustomResource):
|
|
372
408
|
def get(resource_name: str,
|
373
409
|
id: pulumi.Input[str],
|
374
410
|
opts: Optional[pulumi.ResourceOptions] = None,
|
411
|
+
chat_model_id: Optional[pulumi.Input[str]] = None,
|
375
412
|
deployment_id: Optional[pulumi.Input[str]] = None,
|
376
413
|
model_id: Optional[pulumi.Input[str]] = None,
|
377
414
|
name: Optional[pulumi.Input[str]] = None,
|
@@ -386,6 +423,7 @@ class CustomModelLlmValidation(pulumi.CustomResource):
|
|
386
423
|
:param str resource_name: The unique name of the resulting resource.
|
387
424
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
388
425
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
426
|
+
:param pulumi.Input[str] chat_model_id: The ID of the chat model to use for the custom model LLM validation.
|
389
427
|
:param pulumi.Input[str] deployment_id: The ID of the custom model deployment.
|
390
428
|
:param pulumi.Input[str] model_id: The ID of the model used in the deployment.
|
391
429
|
:param pulumi.Input[str] name: The name to use for the validated custom model.
|
@@ -398,6 +436,7 @@ class CustomModelLlmValidation(pulumi.CustomResource):
|
|
398
436
|
|
399
437
|
__props__ = _CustomModelLlmValidationState.__new__(_CustomModelLlmValidationState)
|
400
438
|
|
439
|
+
__props__.__dict__["chat_model_id"] = chat_model_id
|
401
440
|
__props__.__dict__["deployment_id"] = deployment_id
|
402
441
|
__props__.__dict__["model_id"] = model_id
|
403
442
|
__props__.__dict__["name"] = name
|
@@ -407,6 +446,14 @@ class CustomModelLlmValidation(pulumi.CustomResource):
|
|
407
446
|
__props__.__dict__["use_case_id"] = use_case_id
|
408
447
|
return CustomModelLlmValidation(resource_name, opts=opts, __props__=__props__)
|
409
448
|
|
449
|
+
@property
|
450
|
+
@pulumi.getter(name="chatModelId")
|
451
|
+
def chat_model_id(self) -> pulumi.Output[Optional[str]]:
|
452
|
+
"""
|
453
|
+
The ID of the chat model to use for the custom model LLM validation.
|
454
|
+
"""
|
455
|
+
return pulumi.get(self, "chat_model_id")
|
456
|
+
|
410
457
|
@property
|
411
458
|
@pulumi.getter(name="deploymentId")
|
412
459
|
def deployment_id(self) -> pulumi.Output[str]:
|
@@ -441,7 +488,7 @@ class CustomModelLlmValidation(pulumi.CustomResource):
|
|
441
488
|
|
442
489
|
@property
|
443
490
|
@pulumi.getter(name="promptColumnName")
|
444
|
-
def prompt_column_name(self) -> pulumi.Output[str]:
|
491
|
+
def prompt_column_name(self) -> pulumi.Output[Optional[str]]:
|
445
492
|
"""
|
446
493
|
The name of the column the custom model uses for prompt text input.
|
447
494
|
"""
|
@@ -449,7 +496,7 @@ class CustomModelLlmValidation(pulumi.CustomResource):
|
|
449
496
|
|
450
497
|
@property
|
451
498
|
@pulumi.getter(name="targetColumnName")
|
452
|
-
def target_column_name(self) -> pulumi.Output[str]:
|
499
|
+
def target_column_name(self) -> pulumi.Output[Optional[str]]:
|
453
500
|
"""
|
454
501
|
The name of the column the custom model uses for prediction output.
|
455
502
|
"""
|
@@ -236,9 +236,6 @@ class RegisteredModel(pulumi.CustomResource):
|
|
236
236
|
example_registered_model = datarobot.RegisteredModel("exampleRegisteredModel",
|
237
237
|
custom_model_version_id=example_custom_model.version_id,
|
238
238
|
description="Description for the example registered model")
|
239
|
-
example_prediction_environment = datarobot.PredictionEnvironment("examplePredictionEnvironment",
|
240
|
-
description="Description for the example prediction environment",
|
241
|
-
platform="datarobotServerless")
|
242
239
|
pulumi.export("datarobotRegisteredModelId", example_registered_model.id)
|
243
240
|
pulumi.export("datarobotRegisteredModelVersionId", example_registered_model.version_id)
|
244
241
|
```
|
@@ -275,9 +272,6 @@ class RegisteredModel(pulumi.CustomResource):
|
|
275
272
|
example_registered_model = datarobot.RegisteredModel("exampleRegisteredModel",
|
276
273
|
custom_model_version_id=example_custom_model.version_id,
|
277
274
|
description="Description for the example registered model")
|
278
|
-
example_prediction_environment = datarobot.PredictionEnvironment("examplePredictionEnvironment",
|
279
|
-
description="Description for the example prediction environment",
|
280
|
-
platform="datarobotServerless")
|
281
275
|
pulumi.export("datarobotRegisteredModelId", example_registered_model.id)
|
282
276
|
pulumi.export("datarobotRegisteredModelVersionId", example_registered_model.version_id)
|
283
277
|
```
|
@@ -320,6 +320,24 @@ class RegisteredModelFromLeaderboard(pulumi.CustomResource):
|
|
320
320
|
"""
|
321
321
|
registered model from leaderboard
|
322
322
|
|
323
|
+
## Example Usage
|
324
|
+
|
325
|
+
```python
|
326
|
+
import pulumi
|
327
|
+
import pulumi_datarobot as datarobot
|
328
|
+
|
329
|
+
example = datarobot.RegisteredModelFromLeaderboard("example",
|
330
|
+
model_id="111111111111",
|
331
|
+
description="example description",
|
332
|
+
version_name="example version name",
|
333
|
+
prediction_threshold=0.5,
|
334
|
+
compute_all_ts_intervals=True,
|
335
|
+
distribution_prediction_model_id="222222222222",
|
336
|
+
use_case_ids=[datarobot_use_case["example"]["id"]])
|
337
|
+
pulumi.export("datarobotRegisteredModelFromLeaderboardId", example.id)
|
338
|
+
pulumi.export("datarobotRegisteredModelFromLeaderboardVersionId", example.version_id)
|
339
|
+
```
|
340
|
+
|
323
341
|
:param str resource_name: The name of the resource.
|
324
342
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
325
343
|
:param pulumi.Input[bool] compute_all_ts_intervals: Whether to compute all time series intervals (1-100 percentiles).
|
@@ -340,6 +358,24 @@ class RegisteredModelFromLeaderboard(pulumi.CustomResource):
|
|
340
358
|
"""
|
341
359
|
registered model from leaderboard
|
342
360
|
|
361
|
+
## Example Usage
|
362
|
+
|
363
|
+
```python
|
364
|
+
import pulumi
|
365
|
+
import pulumi_datarobot as datarobot
|
366
|
+
|
367
|
+
example = datarobot.RegisteredModelFromLeaderboard("example",
|
368
|
+
model_id="111111111111",
|
369
|
+
description="example description",
|
370
|
+
version_name="example version name",
|
371
|
+
prediction_threshold=0.5,
|
372
|
+
compute_all_ts_intervals=True,
|
373
|
+
distribution_prediction_model_id="222222222222",
|
374
|
+
use_case_ids=[datarobot_use_case["example"]["id"]])
|
375
|
+
pulumi.export("datarobotRegisteredModelFromLeaderboardId", example.id)
|
376
|
+
pulumi.export("datarobotRegisteredModelFromLeaderboardVersionId", example.version_id)
|
377
|
+
```
|
378
|
+
|
343
379
|
:param str resource_name: The name of the resource.
|
344
380
|
:param RegisteredModelFromLeaderboardArgs args: The arguments to use to populate this resource's properties.
|
345
381
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{pulumi_datarobot-0.8.13 → pulumi_datarobot-0.8.15}/pulumi_datarobot/api_token_credential.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
|
File without changes
|
{pulumi_datarobot-0.8.13 → pulumi_datarobot-0.8.15}/pulumi_datarobot/custom_metric_from_job.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
{pulumi_datarobot-0.8.13 → pulumi_datarobot-0.8.15}/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
|
{pulumi_datarobot-0.8.13 → pulumi_datarobot-0.8.15}/pulumi_datarobot/deployment_retraining_policy.py
RENAMED
File without changes
|
{pulumi_datarobot-0.8.13 → pulumi_datarobot-0.8.15}/pulumi_datarobot/execution_environment.py
RENAMED
File without changes
|
{pulumi_datarobot-0.8.13 → pulumi_datarobot-0.8.15}/pulumi_datarobot/get_execution_environment.py
RENAMED
File without changes
|
File without changes
|
{pulumi_datarobot-0.8.13 → pulumi_datarobot-0.8.15}/pulumi_datarobot/google_cloud_credential.py
RENAMED
File without changes
|
File without changes
|
{pulumi_datarobot-0.8.13 → pulumi_datarobot-0.8.15}/pulumi_datarobot/notification_channel.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{pulumi_datarobot-0.8.13 → pulumi_datarobot-0.8.15}/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
|
{pulumi_datarobot-0.8.13 → pulumi_datarobot-0.8.15}/pulumi_datarobot.egg-info/dependency_links.txt
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|