pulumi-datarobot 0.8.3__tar.gz → 0.8.5__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.
Files changed (55) hide show
  1. {pulumi_datarobot-0.8.3 → pulumi_datarobot-0.8.5}/PKG-INFO +1 -1
  2. {pulumi_datarobot-0.8.3 → pulumi_datarobot-0.8.5}/pulumi_datarobot/__init__.py +18 -0
  3. {pulumi_datarobot-0.8.3 → pulumi_datarobot-0.8.5}/pulumi_datarobot/_inputs.py +219 -0
  4. pulumi_datarobot-0.8.5/pulumi_datarobot/application_source_from_template.py +566 -0
  5. pulumi_datarobot-0.8.5/pulumi_datarobot/custom_model_llm_validation.py +465 -0
  6. {pulumi_datarobot-0.8.3 → pulumi_datarobot-0.8.5}/pulumi_datarobot/llm_blueprint.py +64 -18
  7. {pulumi_datarobot-0.8.3 → pulumi_datarobot-0.8.5}/pulumi_datarobot/outputs.py +169 -0
  8. {pulumi_datarobot-0.8.3 → pulumi_datarobot-0.8.5}/pulumi_datarobot.egg-info/PKG-INFO +1 -1
  9. {pulumi_datarobot-0.8.3 → pulumi_datarobot-0.8.5}/pulumi_datarobot.egg-info/SOURCES.txt +2 -0
  10. {pulumi_datarobot-0.8.3 → pulumi_datarobot-0.8.5}/setup.py +1 -1
  11. {pulumi_datarobot-0.8.3 → pulumi_datarobot-0.8.5}/README.md +0 -0
  12. {pulumi_datarobot-0.8.3 → pulumi_datarobot-0.8.5}/pulumi_datarobot/_utilities.py +0 -0
  13. {pulumi_datarobot-0.8.3 → pulumi_datarobot-0.8.5}/pulumi_datarobot/api_token_credential.py +0 -0
  14. {pulumi_datarobot-0.8.3 → pulumi_datarobot-0.8.5}/pulumi_datarobot/application_source.py +0 -0
  15. {pulumi_datarobot-0.8.3 → pulumi_datarobot-0.8.5}/pulumi_datarobot/aws_credential.py +0 -0
  16. {pulumi_datarobot-0.8.3 → pulumi_datarobot-0.8.5}/pulumi_datarobot/basic_credential.py +0 -0
  17. {pulumi_datarobot-0.8.3 → pulumi_datarobot-0.8.5}/pulumi_datarobot/batch_prediction_job_definition.py +0 -0
  18. {pulumi_datarobot-0.8.3 → pulumi_datarobot-0.8.5}/pulumi_datarobot/config/__init__.py +0 -0
  19. {pulumi_datarobot-0.8.3 → pulumi_datarobot-0.8.5}/pulumi_datarobot/config/vars.py +0 -0
  20. {pulumi_datarobot-0.8.3 → pulumi_datarobot-0.8.5}/pulumi_datarobot/custom_application.py +0 -0
  21. {pulumi_datarobot-0.8.3 → pulumi_datarobot-0.8.5}/pulumi_datarobot/custom_application_from_environment.py +0 -0
  22. {pulumi_datarobot-0.8.3 → pulumi_datarobot-0.8.5}/pulumi_datarobot/custom_job.py +0 -0
  23. {pulumi_datarobot-0.8.3 → pulumi_datarobot-0.8.5}/pulumi_datarobot/custom_metric.py +0 -0
  24. {pulumi_datarobot-0.8.3 → pulumi_datarobot-0.8.5}/pulumi_datarobot/custom_metric_from_job.py +0 -0
  25. {pulumi_datarobot-0.8.3 → pulumi_datarobot-0.8.5}/pulumi_datarobot/custom_metric_job.py +0 -0
  26. {pulumi_datarobot-0.8.3 → pulumi_datarobot-0.8.5}/pulumi_datarobot/custom_model.py +0 -0
  27. {pulumi_datarobot-0.8.3 → pulumi_datarobot-0.8.5}/pulumi_datarobot/dataset_from_datasource.py +0 -0
  28. {pulumi_datarobot-0.8.3 → pulumi_datarobot-0.8.5}/pulumi_datarobot/dataset_from_file.py +0 -0
  29. {pulumi_datarobot-0.8.3 → pulumi_datarobot-0.8.5}/pulumi_datarobot/dataset_from_url.py +0 -0
  30. {pulumi_datarobot-0.8.3 → pulumi_datarobot-0.8.5}/pulumi_datarobot/datasource.py +0 -0
  31. {pulumi_datarobot-0.8.3 → pulumi_datarobot-0.8.5}/pulumi_datarobot/datastore.py +0 -0
  32. {pulumi_datarobot-0.8.3 → pulumi_datarobot-0.8.5}/pulumi_datarobot/deployment.py +0 -0
  33. {pulumi_datarobot-0.8.3 → pulumi_datarobot-0.8.5}/pulumi_datarobot/deployment_retraining_policy.py +0 -0
  34. {pulumi_datarobot-0.8.3 → pulumi_datarobot-0.8.5}/pulumi_datarobot/execution_environment.py +0 -0
  35. {pulumi_datarobot-0.8.3 → pulumi_datarobot-0.8.5}/pulumi_datarobot/get_execution_environment.py +0 -0
  36. {pulumi_datarobot-0.8.3 → pulumi_datarobot-0.8.5}/pulumi_datarobot/get_global_model.py +0 -0
  37. {pulumi_datarobot-0.8.3 → pulumi_datarobot-0.8.5}/pulumi_datarobot/google_cloud_credential.py +0 -0
  38. {pulumi_datarobot-0.8.3 → pulumi_datarobot-0.8.5}/pulumi_datarobot/notification_channel.py +0 -0
  39. {pulumi_datarobot-0.8.3 → pulumi_datarobot-0.8.5}/pulumi_datarobot/notification_policy.py +0 -0
  40. {pulumi_datarobot-0.8.3 → pulumi_datarobot-0.8.5}/pulumi_datarobot/playground.py +0 -0
  41. {pulumi_datarobot-0.8.3 → pulumi_datarobot-0.8.5}/pulumi_datarobot/prediction_environment.py +0 -0
  42. {pulumi_datarobot-0.8.3 → pulumi_datarobot-0.8.5}/pulumi_datarobot/provider.py +0 -0
  43. {pulumi_datarobot-0.8.3 → pulumi_datarobot-0.8.5}/pulumi_datarobot/pulumi-plugin.json +0 -0
  44. {pulumi_datarobot-0.8.3 → pulumi_datarobot-0.8.5}/pulumi_datarobot/py.typed +0 -0
  45. {pulumi_datarobot-0.8.3 → pulumi_datarobot-0.8.5}/pulumi_datarobot/qa_application.py +0 -0
  46. {pulumi_datarobot-0.8.3 → pulumi_datarobot-0.8.5}/pulumi_datarobot/registered_model.py +0 -0
  47. {pulumi_datarobot-0.8.3 → pulumi_datarobot-0.8.5}/pulumi_datarobot/registered_model_from_leaderboard.py +0 -0
  48. {pulumi_datarobot-0.8.3 → pulumi_datarobot-0.8.5}/pulumi_datarobot/remote_repository.py +0 -0
  49. {pulumi_datarobot-0.8.3 → pulumi_datarobot-0.8.5}/pulumi_datarobot/use_case.py +0 -0
  50. {pulumi_datarobot-0.8.3 → pulumi_datarobot-0.8.5}/pulumi_datarobot/vector_database.py +0 -0
  51. {pulumi_datarobot-0.8.3 → pulumi_datarobot-0.8.5}/pulumi_datarobot.egg-info/dependency_links.txt +0 -0
  52. {pulumi_datarobot-0.8.3 → pulumi_datarobot-0.8.5}/pulumi_datarobot.egg-info/not-zip-safe +0 -0
  53. {pulumi_datarobot-0.8.3 → pulumi_datarobot-0.8.5}/pulumi_datarobot.egg-info/requires.txt +0 -0
  54. {pulumi_datarobot-0.8.3 → pulumi_datarobot-0.8.5}/pulumi_datarobot.egg-info/top_level.txt +0 -0
  55. {pulumi_datarobot-0.8.3 → pulumi_datarobot-0.8.5}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pulumi_datarobot
3
- Version: 0.8.3
3
+ Version: 0.8.5
4
4
  Summary: A Pulumi package for creating and managing DataRobot resources.
5
5
  Home-page: https://www.datarobot.com
6
6
  License: Apache-2.0
@@ -7,6 +7,7 @@ import typing
7
7
  # Export this package's modules as members:
8
8
  from .api_token_credential import *
9
9
  from .application_source import *
10
+ from .application_source_from_template import *
10
11
  from .aws_credential import *
11
12
  from .basic_credential import *
12
13
  from .batch_prediction_job_definition import *
@@ -17,6 +18,7 @@ from .custom_metric import *
17
18
  from .custom_metric_from_job import *
18
19
  from .custom_metric_job import *
19
20
  from .custom_model import *
21
+ from .custom_model_llm_validation import *
20
22
  from .dataset_from_datasource import *
21
23
  from .dataset_from_file import *
22
24
  from .dataset_from_url import *
@@ -69,6 +71,14 @@ _utilities.register(
69
71
  "datarobot:index/applicationSource:ApplicationSource": "ApplicationSource"
70
72
  }
71
73
  },
74
+ {
75
+ "pkg": "datarobot",
76
+ "mod": "index/applicationSourceFromTemplate",
77
+ "fqn": "pulumi_datarobot",
78
+ "classes": {
79
+ "datarobot:index/applicationSourceFromTemplate:ApplicationSourceFromTemplate": "ApplicationSourceFromTemplate"
80
+ }
81
+ },
72
82
  {
73
83
  "pkg": "datarobot",
74
84
  "mod": "index/awsCredential",
@@ -149,6 +159,14 @@ _utilities.register(
149
159
  "datarobot:index/customModel:CustomModel": "CustomModel"
150
160
  }
151
161
  },
162
+ {
163
+ "pkg": "datarobot",
164
+ "mod": "index/customModelLlmValidation",
165
+ "fqn": "pulumi_datarobot",
166
+ "classes": {
167
+ "datarobot:index/customModelLlmValidation:CustomModelLlmValidation": "CustomModelLlmValidation"
168
+ }
169
+ },
152
170
  {
153
171
  "pkg": "datarobot",
154
172
  "mod": "index/datasetFromDatasource",
@@ -15,6 +15,10 @@ else:
15
15
  from . import _utilities
16
16
 
17
17
  __all__ = [
18
+ 'ApplicationSourceFromTemplateResourcesArgs',
19
+ 'ApplicationSourceFromTemplateResourcesArgsDict',
20
+ 'ApplicationSourceFromTemplateRuntimeParameterValueArgs',
21
+ 'ApplicationSourceFromTemplateRuntimeParameterValueArgsDict',
18
22
  'ApplicationSourceResourcesArgs',
19
23
  'ApplicationSourceResourcesArgsDict',
20
24
  'ApplicationSourceRuntimeParameterValueArgs',
@@ -133,6 +137,8 @@ __all__ = [
133
137
  'DeploymentRuntimeParameterValueArgsDict',
134
138
  'DeploymentSegmentAnalysisSettingsArgs',
135
139
  'DeploymentSegmentAnalysisSettingsArgsDict',
140
+ 'LlmBlueprintCustomModelLlmSettingsArgs',
141
+ 'LlmBlueprintCustomModelLlmSettingsArgsDict',
136
142
  'LlmBlueprintLlmSettingsArgs',
137
143
  'LlmBlueprintLlmSettingsArgsDict',
138
144
  'LlmBlueprintVectorDatabaseSettingsArgs',
@@ -147,6 +153,147 @@ __all__ = [
147
153
 
148
154
  MYPY = False
149
155
 
156
+ if not MYPY:
157
+ class ApplicationSourceFromTemplateResourcesArgsDict(TypedDict):
158
+ replicas: NotRequired[pulumi.Input[int]]
159
+ """
160
+ The replicas for the Application Source.
161
+ """
162
+ resource_label: NotRequired[pulumi.Input[str]]
163
+ """
164
+ The resource label for the Application Source.
165
+ """
166
+ session_affinity: NotRequired[pulumi.Input[bool]]
167
+ """
168
+ The session affinity for the Application Source.
169
+ """
170
+ elif False:
171
+ ApplicationSourceFromTemplateResourcesArgsDict: TypeAlias = Mapping[str, Any]
172
+
173
+ @pulumi.input_type
174
+ class ApplicationSourceFromTemplateResourcesArgs:
175
+ def __init__(__self__, *,
176
+ replicas: Optional[pulumi.Input[int]] = None,
177
+ resource_label: Optional[pulumi.Input[str]] = None,
178
+ session_affinity: Optional[pulumi.Input[bool]] = None):
179
+ """
180
+ :param pulumi.Input[int] replicas: The replicas for the Application Source.
181
+ :param pulumi.Input[str] resource_label: The resource label for the Application Source.
182
+ :param pulumi.Input[bool] session_affinity: The session affinity for the Application Source.
183
+ """
184
+ if replicas is not None:
185
+ pulumi.set(__self__, "replicas", replicas)
186
+ if resource_label is not None:
187
+ pulumi.set(__self__, "resource_label", resource_label)
188
+ if session_affinity is not None:
189
+ pulumi.set(__self__, "session_affinity", session_affinity)
190
+
191
+ @property
192
+ @pulumi.getter
193
+ def replicas(self) -> Optional[pulumi.Input[int]]:
194
+ """
195
+ The replicas for the Application Source.
196
+ """
197
+ return pulumi.get(self, "replicas")
198
+
199
+ @replicas.setter
200
+ def replicas(self, value: Optional[pulumi.Input[int]]):
201
+ pulumi.set(self, "replicas", value)
202
+
203
+ @property
204
+ @pulumi.getter(name="resourceLabel")
205
+ def resource_label(self) -> Optional[pulumi.Input[str]]:
206
+ """
207
+ The resource label for the Application Source.
208
+ """
209
+ return pulumi.get(self, "resource_label")
210
+
211
+ @resource_label.setter
212
+ def resource_label(self, value: Optional[pulumi.Input[str]]):
213
+ pulumi.set(self, "resource_label", value)
214
+
215
+ @property
216
+ @pulumi.getter(name="sessionAffinity")
217
+ def session_affinity(self) -> Optional[pulumi.Input[bool]]:
218
+ """
219
+ The session affinity for the Application Source.
220
+ """
221
+ return pulumi.get(self, "session_affinity")
222
+
223
+ @session_affinity.setter
224
+ def session_affinity(self, value: Optional[pulumi.Input[bool]]):
225
+ pulumi.set(self, "session_affinity", value)
226
+
227
+
228
+ if not MYPY:
229
+ class ApplicationSourceFromTemplateRuntimeParameterValueArgsDict(TypedDict):
230
+ key: pulumi.Input[str]
231
+ """
232
+ The name of the runtime parameter.
233
+ """
234
+ type: pulumi.Input[str]
235
+ """
236
+ The type of the runtime parameter.
237
+ """
238
+ value: pulumi.Input[str]
239
+ """
240
+ The value of the runtime parameter (type conversion is handled internally).
241
+ """
242
+ elif False:
243
+ ApplicationSourceFromTemplateRuntimeParameterValueArgsDict: TypeAlias = Mapping[str, Any]
244
+
245
+ @pulumi.input_type
246
+ class ApplicationSourceFromTemplateRuntimeParameterValueArgs:
247
+ def __init__(__self__, *,
248
+ key: pulumi.Input[str],
249
+ type: pulumi.Input[str],
250
+ value: pulumi.Input[str]):
251
+ """
252
+ :param pulumi.Input[str] key: The name of the runtime parameter.
253
+ :param pulumi.Input[str] type: The type of the runtime parameter.
254
+ :param pulumi.Input[str] value: The value of the runtime parameter (type conversion is handled internally).
255
+ """
256
+ pulumi.set(__self__, "key", key)
257
+ pulumi.set(__self__, "type", type)
258
+ pulumi.set(__self__, "value", value)
259
+
260
+ @property
261
+ @pulumi.getter
262
+ def key(self) -> pulumi.Input[str]:
263
+ """
264
+ The name of the runtime parameter.
265
+ """
266
+ return pulumi.get(self, "key")
267
+
268
+ @key.setter
269
+ def key(self, value: pulumi.Input[str]):
270
+ pulumi.set(self, "key", value)
271
+
272
+ @property
273
+ @pulumi.getter
274
+ def type(self) -> pulumi.Input[str]:
275
+ """
276
+ The type of the runtime parameter.
277
+ """
278
+ return pulumi.get(self, "type")
279
+
280
+ @type.setter
281
+ def type(self, value: pulumi.Input[str]):
282
+ pulumi.set(self, "type", value)
283
+
284
+ @property
285
+ @pulumi.getter
286
+ def value(self) -> pulumi.Input[str]:
287
+ """
288
+ The value of the runtime parameter (type conversion is handled internally).
289
+ """
290
+ return pulumi.get(self, "value")
291
+
292
+ @value.setter
293
+ def value(self, value: pulumi.Input[str]):
294
+ pulumi.set(self, "value", value)
295
+
296
+
150
297
  if not MYPY:
151
298
  class ApplicationSourceResourcesArgsDict(TypedDict):
152
299
  replicas: NotRequired[pulumi.Input[int]]
@@ -5080,6 +5227,78 @@ class DeploymentSegmentAnalysisSettingsArgs:
5080
5227
  pulumi.set(self, "attributes", value)
5081
5228
 
5082
5229
 
5230
+ if not MYPY:
5231
+ class LlmBlueprintCustomModelLlmSettingsArgsDict(TypedDict):
5232
+ external_llm_context_size: NotRequired[pulumi.Input[int]]
5233
+ """
5234
+ The external LLM's context size, in tokens. This value is only used for pruning documents supplied to the LLM when a vector database is associated with the LLM blueprint. It does not affect the external LLM's actual context size in any way and is not supplied to the LLM.
5235
+ """
5236
+ system_prompt: NotRequired[pulumi.Input[str]]
5237
+ """
5238
+ System prompt guides the style of the LLM response. It is a 'universal' prompt, prepended to all individual prompts.
5239
+ """
5240
+ validation_id: NotRequired[pulumi.Input[str]]
5241
+ """
5242
+ The validation ID of the custom model LLM.
5243
+ """
5244
+ elif False:
5245
+ LlmBlueprintCustomModelLlmSettingsArgsDict: TypeAlias = Mapping[str, Any]
5246
+
5247
+ @pulumi.input_type
5248
+ class LlmBlueprintCustomModelLlmSettingsArgs:
5249
+ def __init__(__self__, *,
5250
+ external_llm_context_size: Optional[pulumi.Input[int]] = None,
5251
+ system_prompt: Optional[pulumi.Input[str]] = None,
5252
+ validation_id: Optional[pulumi.Input[str]] = None):
5253
+ """
5254
+ :param pulumi.Input[int] external_llm_context_size: The external LLM's context size, in tokens. This value is only used for pruning documents supplied to the LLM when a vector database is associated with the LLM blueprint. It does not affect the external LLM's actual context size in any way and is not supplied to the LLM.
5255
+ :param pulumi.Input[str] system_prompt: System prompt guides the style of the LLM response. It is a 'universal' prompt, prepended to all individual prompts.
5256
+ :param pulumi.Input[str] validation_id: The validation ID of the custom model LLM.
5257
+ """
5258
+ if external_llm_context_size is not None:
5259
+ pulumi.set(__self__, "external_llm_context_size", external_llm_context_size)
5260
+ if system_prompt is not None:
5261
+ pulumi.set(__self__, "system_prompt", system_prompt)
5262
+ if validation_id is not None:
5263
+ pulumi.set(__self__, "validation_id", validation_id)
5264
+
5265
+ @property
5266
+ @pulumi.getter(name="externalLlmContextSize")
5267
+ def external_llm_context_size(self) -> Optional[pulumi.Input[int]]:
5268
+ """
5269
+ The external LLM's context size, in tokens. This value is only used for pruning documents supplied to the LLM when a vector database is associated with the LLM blueprint. It does not affect the external LLM's actual context size in any way and is not supplied to the LLM.
5270
+ """
5271
+ return pulumi.get(self, "external_llm_context_size")
5272
+
5273
+ @external_llm_context_size.setter
5274
+ def external_llm_context_size(self, value: Optional[pulumi.Input[int]]):
5275
+ pulumi.set(self, "external_llm_context_size", value)
5276
+
5277
+ @property
5278
+ @pulumi.getter(name="systemPrompt")
5279
+ def system_prompt(self) -> Optional[pulumi.Input[str]]:
5280
+ """
5281
+ System prompt guides the style of the LLM response. It is a 'universal' prompt, prepended to all individual prompts.
5282
+ """
5283
+ return pulumi.get(self, "system_prompt")
5284
+
5285
+ @system_prompt.setter
5286
+ def system_prompt(self, value: Optional[pulumi.Input[str]]):
5287
+ pulumi.set(self, "system_prompt", value)
5288
+
5289
+ @property
5290
+ @pulumi.getter(name="validationId")
5291
+ def validation_id(self) -> Optional[pulumi.Input[str]]:
5292
+ """
5293
+ The validation ID of the custom model LLM.
5294
+ """
5295
+ return pulumi.get(self, "validation_id")
5296
+
5297
+ @validation_id.setter
5298
+ def validation_id(self, value: Optional[pulumi.Input[str]]):
5299
+ pulumi.set(self, "validation_id", value)
5300
+
5301
+
5083
5302
  if not MYPY:
5084
5303
  class LlmBlueprintLlmSettingsArgsDict(TypedDict):
5085
5304
  max_completion_length: NotRequired[pulumi.Input[int]]