@datarobot/pulumi-datarobot 0.1.32
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/LICENSE +202 -0
- package/README.md +44 -0
- package/apiTokenCredential.d.ts +84 -0
- package/apiTokenCredential.js +70 -0
- package/apiTokenCredential.js.map +1 -0
- package/applicationSource.d.ts +111 -0
- package/applicationSource.js +77 -0
- package/applicationSource.js.map +1 -0
- package/basicCredential.d.ts +100 -0
- package/basicCredential.js +79 -0
- package/basicCredential.js.map +1 -0
- package/config/index.d.ts +1 -0
- package/config/index.js +21 -0
- package/config/index.js.map +1 -0
- package/config/vars.d.ts +8 -0
- package/config/vars.js +19 -0
- package/config/vars.js.map +1 -0
- package/customApplication.d.ts +124 -0
- package/customApplication.js +86 -0
- package/customApplication.js.map +1 -0
- package/customModel.d.ts +361 -0
- package/customModel.js +106 -0
- package/customModel.js.map +1 -0
- package/datasetFromFile.d.ts +76 -0
- package/datasetFromFile.js +73 -0
- package/datasetFromFile.js.map +1 -0
- package/deployment.d.ts +122 -0
- package/deployment.js +100 -0
- package/deployment.js.map +1 -0
- package/getGlobalModel.d.ts +66 -0
- package/getGlobalModel.js +47 -0
- package/getGlobalModel.js.map +1 -0
- package/googleCloudCredential.d.ts +63 -0
- package/googleCloudCredential.js +57 -0
- package/googleCloudCredential.js.map +1 -0
- package/index.d.ts +57 -0
- package/index.js +116 -0
- package/index.js.map +1 -0
- package/llmBlueprint.d.ts +118 -0
- package/llmBlueprint.js +85 -0
- package/llmBlueprint.js.map +1 -0
- package/package.json +29 -0
- package/package.json.bak +29 -0
- package/playground.d.ts +86 -0
- package/playground.js +70 -0
- package/playground.js.map +1 -0
- package/predictionEnvironment.d.ts +87 -0
- package/predictionEnvironment.js +71 -0
- package/predictionEnvironment.js.map +1 -0
- package/provider.d.ts +43 -0
- package/provider.js +48 -0
- package/provider.js.map +1 -0
- package/qaApplication.d.ts +148 -0
- package/qaApplication.js +104 -0
- package/qaApplication.js.map +1 -0
- package/registeredModel.d.ts +108 -0
- package/registeredModel.js +86 -0
- package/registeredModel.js.map +1 -0
- package/remoteRepository.d.ts +161 -0
- package/remoteRepository.js +98 -0
- package/remoteRepository.js.map +1 -0
- package/types/index.d.ts +3 -0
- package/types/index.js +11 -0
- package/types/index.js.map +1 -0
- package/types/input.d.ts +196 -0
- package/types/input.js +5 -0
- package/types/input.js.map +1 -0
- package/types/output.d.ts +195 -0
- package/types/output.js +5 -0
- package/types/output.js.map +1 -0
- package/useCase.d.ts +73 -0
- package/useCase.js +64 -0
- package/useCase.js.map +1 -0
- package/utilities.d.ts +8 -0
- package/utilities.js +101 -0
- package/utilities.js.map +1 -0
- package/vectorDatabase.d.ts +115 -0
- package/vectorDatabase.js +90 -0
- package/vectorDatabase.js.map +1 -0
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.RemoteRepository = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* remote repository
|
|
10
|
+
*
|
|
11
|
+
* ## Example Usage
|
|
12
|
+
*
|
|
13
|
+
* ```typescript
|
|
14
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
15
|
+
* import * as datarobot from "@datarobot/pulumi-datarobot";
|
|
16
|
+
*
|
|
17
|
+
* const githubExample = new datarobot.RemoteRepository("githubExample", {
|
|
18
|
+
* description: "Description for the example remote repository",
|
|
19
|
+
* location: "https://github.com/datarobot/datarobot-user-models",
|
|
20
|
+
* sourceType: "github",
|
|
21
|
+
* });
|
|
22
|
+
* const gitlabExample = new datarobot.RemoteRepository("gitlabExample", {
|
|
23
|
+
* location: "https://gitlab.yourcompany.com/username/repository",
|
|
24
|
+
* personalAccessToken: "your_personal_access_token",
|
|
25
|
+
* sourceType: "gitlab-cloud",
|
|
26
|
+
* });
|
|
27
|
+
* const bitbucketExample = new datarobot.RemoteRepository("bitbucketExample", {
|
|
28
|
+
* location: "https://bitbucket.yourcompany.com/projects/PROJECTKEY/repos/REPONAME/browse",
|
|
29
|
+
* sourceType: "bitbucket-server",
|
|
30
|
+
* });
|
|
31
|
+
* const s3Example = new datarobot.RemoteRepository("s3Example", {
|
|
32
|
+
* location: "my-s3-bucket",
|
|
33
|
+
* sourceType: "s3",
|
|
34
|
+
* });
|
|
35
|
+
* ```
|
|
36
|
+
*/
|
|
37
|
+
class RemoteRepository extends pulumi.CustomResource {
|
|
38
|
+
/**
|
|
39
|
+
* Get an existing RemoteRepository resource's state with the given name, ID, and optional extra
|
|
40
|
+
* properties used to qualify the lookup.
|
|
41
|
+
*
|
|
42
|
+
* @param name The _unique_ name of the resulting resource.
|
|
43
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
44
|
+
* @param state Any extra arguments used during the lookup.
|
|
45
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
46
|
+
*/
|
|
47
|
+
static get(name, id, state, opts) {
|
|
48
|
+
return new RemoteRepository(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
49
|
+
}
|
|
50
|
+
/**
|
|
51
|
+
* Returns true if the given object is an instance of RemoteRepository. This is designed to work even
|
|
52
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
53
|
+
*/
|
|
54
|
+
static isInstance(obj) {
|
|
55
|
+
if (obj === undefined || obj === null) {
|
|
56
|
+
return false;
|
|
57
|
+
}
|
|
58
|
+
return obj['__pulumiType'] === RemoteRepository.__pulumiType;
|
|
59
|
+
}
|
|
60
|
+
constructor(name, argsOrState, opts) {
|
|
61
|
+
let resourceInputs = {};
|
|
62
|
+
opts = opts || {};
|
|
63
|
+
if (opts.id) {
|
|
64
|
+
const state = argsOrState;
|
|
65
|
+
resourceInputs["awsAccessKeyId"] = state ? state.awsAccessKeyId : undefined;
|
|
66
|
+
resourceInputs["awsSecretAccessKey"] = state ? state.awsSecretAccessKey : undefined;
|
|
67
|
+
resourceInputs["awsSessionToken"] = state ? state.awsSessionToken : undefined;
|
|
68
|
+
resourceInputs["description"] = state ? state.description : undefined;
|
|
69
|
+
resourceInputs["location"] = state ? state.location : undefined;
|
|
70
|
+
resourceInputs["name"] = state ? state.name : undefined;
|
|
71
|
+
resourceInputs["personalAccessToken"] = state ? state.personalAccessToken : undefined;
|
|
72
|
+
resourceInputs["sourceType"] = state ? state.sourceType : undefined;
|
|
73
|
+
}
|
|
74
|
+
else {
|
|
75
|
+
const args = argsOrState;
|
|
76
|
+
if ((!args || args.location === undefined) && !opts.urn) {
|
|
77
|
+
throw new Error("Missing required property 'location'");
|
|
78
|
+
}
|
|
79
|
+
if ((!args || args.sourceType === undefined) && !opts.urn) {
|
|
80
|
+
throw new Error("Missing required property 'sourceType'");
|
|
81
|
+
}
|
|
82
|
+
resourceInputs["awsAccessKeyId"] = args ? args.awsAccessKeyId : undefined;
|
|
83
|
+
resourceInputs["awsSecretAccessKey"] = args ? args.awsSecretAccessKey : undefined;
|
|
84
|
+
resourceInputs["awsSessionToken"] = args ? args.awsSessionToken : undefined;
|
|
85
|
+
resourceInputs["description"] = args ? args.description : undefined;
|
|
86
|
+
resourceInputs["location"] = args ? args.location : undefined;
|
|
87
|
+
resourceInputs["name"] = args ? args.name : undefined;
|
|
88
|
+
resourceInputs["personalAccessToken"] = args ? args.personalAccessToken : undefined;
|
|
89
|
+
resourceInputs["sourceType"] = args ? args.sourceType : undefined;
|
|
90
|
+
}
|
|
91
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
92
|
+
super(RemoteRepository.__pulumiType, name, resourceInputs, opts);
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
exports.RemoteRepository = RemoteRepository;
|
|
96
|
+
/** @internal */
|
|
97
|
+
RemoteRepository.__pulumiType = 'datarobot:index/remoteRepository:RemoteRepository';
|
|
98
|
+
//# sourceMappingURL=remoteRepository.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"remoteRepository.js","sourceRoot":"","sources":["../remoteRepository.ts"],"names":[],"mappings":"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"}
|
package/types/index.d.ts
ADDED
package/types/index.js
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.output = exports.input = void 0;
|
|
6
|
+
// Export sub-modules:
|
|
7
|
+
const input = require("./input");
|
|
8
|
+
exports.input = input;
|
|
9
|
+
const output = require("./output");
|
|
10
|
+
exports.output = output;
|
|
11
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../types/index.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAIjF,sBAAsB;AACtB,iCAAiC;AAI7B,sBAAK;AAHT,mCAAmC;AAI/B,wBAAM"}
|
package/types/input.d.ts
ADDED
|
@@ -0,0 +1,196 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as inputs from "../types/input";
|
|
3
|
+
export interface ApplicationSourceResourceSettings {
|
|
4
|
+
/**
|
|
5
|
+
* The replicas for the Application Source.
|
|
6
|
+
*/
|
|
7
|
+
replicas?: pulumi.Input<number>;
|
|
8
|
+
}
|
|
9
|
+
export interface ApplicationSourceRuntimeParameterValue {
|
|
10
|
+
/**
|
|
11
|
+
* The name of the runtime parameter.
|
|
12
|
+
*/
|
|
13
|
+
key: pulumi.Input<string>;
|
|
14
|
+
/**
|
|
15
|
+
* The type of the runtime parameter.
|
|
16
|
+
*/
|
|
17
|
+
type: pulumi.Input<string>;
|
|
18
|
+
/**
|
|
19
|
+
* The value of the runtime parameter (type conversion is handled internally).
|
|
20
|
+
*/
|
|
21
|
+
value: pulumi.Input<string>;
|
|
22
|
+
}
|
|
23
|
+
export interface CustomModelGuardConfiguration {
|
|
24
|
+
/**
|
|
25
|
+
* The deployment ID of this guard.
|
|
26
|
+
*/
|
|
27
|
+
deploymentId?: pulumi.Input<string>;
|
|
28
|
+
/**
|
|
29
|
+
* The input column name of this guard.
|
|
30
|
+
*/
|
|
31
|
+
inputColumnName?: pulumi.Input<string>;
|
|
32
|
+
/**
|
|
33
|
+
* The intervention for the guard configuration.
|
|
34
|
+
*/
|
|
35
|
+
intervention: pulumi.Input<inputs.CustomModelGuardConfigurationIntervention>;
|
|
36
|
+
/**
|
|
37
|
+
* The name of the guard configuration.
|
|
38
|
+
*/
|
|
39
|
+
name: pulumi.Input<string>;
|
|
40
|
+
/**
|
|
41
|
+
* The output column name of this guard.
|
|
42
|
+
*/
|
|
43
|
+
outputColumnName?: pulumi.Input<string>;
|
|
44
|
+
/**
|
|
45
|
+
* The list of stages for the guard configuration.
|
|
46
|
+
*/
|
|
47
|
+
stages: pulumi.Input<pulumi.Input<string>[]>;
|
|
48
|
+
/**
|
|
49
|
+
* The template name of the guard configuration.
|
|
50
|
+
*/
|
|
51
|
+
templateName: pulumi.Input<string>;
|
|
52
|
+
}
|
|
53
|
+
export interface CustomModelGuardConfigurationIntervention {
|
|
54
|
+
/**
|
|
55
|
+
* The action of the guard intervention.
|
|
56
|
+
*/
|
|
57
|
+
action: pulumi.Input<string>;
|
|
58
|
+
/**
|
|
59
|
+
* The list of conditions for the guard intervention.
|
|
60
|
+
*/
|
|
61
|
+
condition: pulumi.Input<inputs.CustomModelGuardConfigurationInterventionCondition>;
|
|
62
|
+
/**
|
|
63
|
+
* The message of the guard intervention.
|
|
64
|
+
*/
|
|
65
|
+
message?: pulumi.Input<string>;
|
|
66
|
+
}
|
|
67
|
+
export interface CustomModelGuardConfigurationInterventionCondition {
|
|
68
|
+
/**
|
|
69
|
+
* The comparand of the guard condition.
|
|
70
|
+
*/
|
|
71
|
+
comparand: pulumi.Input<number>;
|
|
72
|
+
/**
|
|
73
|
+
* The comparator of the guard condition.
|
|
74
|
+
*/
|
|
75
|
+
comparator: pulumi.Input<string>;
|
|
76
|
+
}
|
|
77
|
+
export interface CustomModelOverallModerationConfiguration {
|
|
78
|
+
/**
|
|
79
|
+
* The timeout action of the overall moderation configuration.
|
|
80
|
+
*/
|
|
81
|
+
timeoutAction?: pulumi.Input<string>;
|
|
82
|
+
/**
|
|
83
|
+
* The timeout in seconds of the overall moderation configuration.
|
|
84
|
+
*/
|
|
85
|
+
timeoutSec?: pulumi.Input<number>;
|
|
86
|
+
}
|
|
87
|
+
export interface CustomModelResourceSettings {
|
|
88
|
+
/**
|
|
89
|
+
* The memory in MB for the Custom Model.
|
|
90
|
+
*/
|
|
91
|
+
memoryMb?: pulumi.Input<number>;
|
|
92
|
+
/**
|
|
93
|
+
* The network access for the Custom Model.
|
|
94
|
+
*/
|
|
95
|
+
networkAccess?: pulumi.Input<string>;
|
|
96
|
+
/**
|
|
97
|
+
* The replicas for the Custom Model.
|
|
98
|
+
*/
|
|
99
|
+
replicas?: pulumi.Input<number>;
|
|
100
|
+
}
|
|
101
|
+
export interface CustomModelRuntimeParameterValue {
|
|
102
|
+
/**
|
|
103
|
+
* The name of the runtime parameter.
|
|
104
|
+
*/
|
|
105
|
+
key: pulumi.Input<string>;
|
|
106
|
+
/**
|
|
107
|
+
* The type of the runtime parameter.
|
|
108
|
+
*/
|
|
109
|
+
type: pulumi.Input<string>;
|
|
110
|
+
/**
|
|
111
|
+
* The value of the runtime parameter (type conversion is handled internally).
|
|
112
|
+
*/
|
|
113
|
+
value: pulumi.Input<string>;
|
|
114
|
+
}
|
|
115
|
+
export interface CustomModelSourceRemoteRepository {
|
|
116
|
+
/**
|
|
117
|
+
* The ID of the source remote repository.
|
|
118
|
+
*/
|
|
119
|
+
id: pulumi.Input<string>;
|
|
120
|
+
/**
|
|
121
|
+
* The reference of the source remote repository.
|
|
122
|
+
*/
|
|
123
|
+
ref: pulumi.Input<string>;
|
|
124
|
+
/**
|
|
125
|
+
* The list of source paths in the source remote repository.
|
|
126
|
+
*/
|
|
127
|
+
sourcePaths: pulumi.Input<pulumi.Input<string>[]>;
|
|
128
|
+
}
|
|
129
|
+
export interface DeploymentSettings {
|
|
130
|
+
/**
|
|
131
|
+
* Used to associate predictions back to your actual data.
|
|
132
|
+
*/
|
|
133
|
+
associationId?: pulumi.Input<inputs.DeploymentSettingsAssociationId>;
|
|
134
|
+
/**
|
|
135
|
+
* Used to compare the performance of the deployed model with the challenger models.
|
|
136
|
+
*/
|
|
137
|
+
challengerAnalysis?: pulumi.Input<boolean>;
|
|
138
|
+
/**
|
|
139
|
+
* Used to score predictions made by the challenger models and compare performance with the deployed model.
|
|
140
|
+
*/
|
|
141
|
+
predictionRowStorage?: pulumi.Input<boolean>;
|
|
142
|
+
/**
|
|
143
|
+
* Settings for the predictions.
|
|
144
|
+
*/
|
|
145
|
+
predictionsSettings?: pulumi.Input<inputs.DeploymentSettingsPredictionsSettings>;
|
|
146
|
+
}
|
|
147
|
+
export interface DeploymentSettingsAssociationId {
|
|
148
|
+
/**
|
|
149
|
+
* Whether to automatically generate an association ID.
|
|
150
|
+
*/
|
|
151
|
+
autoGenerateId: pulumi.Input<boolean>;
|
|
152
|
+
/**
|
|
153
|
+
* The name of the feature to use as the association ID.
|
|
154
|
+
*/
|
|
155
|
+
featureName: pulumi.Input<string>;
|
|
156
|
+
}
|
|
157
|
+
export interface DeploymentSettingsPredictionsSettings {
|
|
158
|
+
/**
|
|
159
|
+
* The maximum number of computes to use for predictions.
|
|
160
|
+
*/
|
|
161
|
+
maxComputes: pulumi.Input<number>;
|
|
162
|
+
/**
|
|
163
|
+
* The minimum number of computes to use for predictions.
|
|
164
|
+
*/
|
|
165
|
+
minComputes: pulumi.Input<number>;
|
|
166
|
+
/**
|
|
167
|
+
* Whether to use real-time predictions.
|
|
168
|
+
*/
|
|
169
|
+
realTime: pulumi.Input<boolean>;
|
|
170
|
+
}
|
|
171
|
+
export interface VectorDatabaseChunkingParameters {
|
|
172
|
+
/**
|
|
173
|
+
* The percentage of overlap between chunks.
|
|
174
|
+
*/
|
|
175
|
+
chunkOverlapPercentage?: pulumi.Input<number>;
|
|
176
|
+
/**
|
|
177
|
+
* The size of the chunks.
|
|
178
|
+
*/
|
|
179
|
+
chunkSize?: pulumi.Input<number>;
|
|
180
|
+
/**
|
|
181
|
+
* The method used to chunk the data.
|
|
182
|
+
*/
|
|
183
|
+
chunkingMethod?: pulumi.Input<string>;
|
|
184
|
+
/**
|
|
185
|
+
* The id of the Embedding Model.
|
|
186
|
+
*/
|
|
187
|
+
embeddingModel?: pulumi.Input<string>;
|
|
188
|
+
/**
|
|
189
|
+
* Whether the separator is a regex.
|
|
190
|
+
*/
|
|
191
|
+
isSeparatorRegex?: pulumi.Input<boolean>;
|
|
192
|
+
/**
|
|
193
|
+
* The separators used to split the data.
|
|
194
|
+
*/
|
|
195
|
+
separators?: pulumi.Input<pulumi.Input<string>[]>;
|
|
196
|
+
}
|
package/types/input.js
ADDED
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
//# sourceMappingURL=input.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"input.js","sourceRoot":"","sources":["../../types/input.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF"}
|
|
@@ -0,0 +1,195 @@
|
|
|
1
|
+
import * as outputs from "../types/output";
|
|
2
|
+
export interface ApplicationSourceResourceSettings {
|
|
3
|
+
/**
|
|
4
|
+
* The replicas for the Application Source.
|
|
5
|
+
*/
|
|
6
|
+
replicas: number;
|
|
7
|
+
}
|
|
8
|
+
export interface ApplicationSourceRuntimeParameterValue {
|
|
9
|
+
/**
|
|
10
|
+
* The name of the runtime parameter.
|
|
11
|
+
*/
|
|
12
|
+
key: string;
|
|
13
|
+
/**
|
|
14
|
+
* The type of the runtime parameter.
|
|
15
|
+
*/
|
|
16
|
+
type: string;
|
|
17
|
+
/**
|
|
18
|
+
* The value of the runtime parameter (type conversion is handled internally).
|
|
19
|
+
*/
|
|
20
|
+
value: string;
|
|
21
|
+
}
|
|
22
|
+
export interface CustomModelGuardConfiguration {
|
|
23
|
+
/**
|
|
24
|
+
* The deployment ID of this guard.
|
|
25
|
+
*/
|
|
26
|
+
deploymentId?: string;
|
|
27
|
+
/**
|
|
28
|
+
* The input column name of this guard.
|
|
29
|
+
*/
|
|
30
|
+
inputColumnName?: string;
|
|
31
|
+
/**
|
|
32
|
+
* The intervention for the guard configuration.
|
|
33
|
+
*/
|
|
34
|
+
intervention: outputs.CustomModelGuardConfigurationIntervention;
|
|
35
|
+
/**
|
|
36
|
+
* The name of the guard configuration.
|
|
37
|
+
*/
|
|
38
|
+
name: string;
|
|
39
|
+
/**
|
|
40
|
+
* The output column name of this guard.
|
|
41
|
+
*/
|
|
42
|
+
outputColumnName?: string;
|
|
43
|
+
/**
|
|
44
|
+
* The list of stages for the guard configuration.
|
|
45
|
+
*/
|
|
46
|
+
stages: string[];
|
|
47
|
+
/**
|
|
48
|
+
* The template name of the guard configuration.
|
|
49
|
+
*/
|
|
50
|
+
templateName: string;
|
|
51
|
+
}
|
|
52
|
+
export interface CustomModelGuardConfigurationIntervention {
|
|
53
|
+
/**
|
|
54
|
+
* The action of the guard intervention.
|
|
55
|
+
*/
|
|
56
|
+
action: string;
|
|
57
|
+
/**
|
|
58
|
+
* The list of conditions for the guard intervention.
|
|
59
|
+
*/
|
|
60
|
+
condition: outputs.CustomModelGuardConfigurationInterventionCondition;
|
|
61
|
+
/**
|
|
62
|
+
* The message of the guard intervention.
|
|
63
|
+
*/
|
|
64
|
+
message: string;
|
|
65
|
+
}
|
|
66
|
+
export interface CustomModelGuardConfigurationInterventionCondition {
|
|
67
|
+
/**
|
|
68
|
+
* The comparand of the guard condition.
|
|
69
|
+
*/
|
|
70
|
+
comparand: number;
|
|
71
|
+
/**
|
|
72
|
+
* The comparator of the guard condition.
|
|
73
|
+
*/
|
|
74
|
+
comparator: string;
|
|
75
|
+
}
|
|
76
|
+
export interface CustomModelOverallModerationConfiguration {
|
|
77
|
+
/**
|
|
78
|
+
* The timeout action of the overall moderation configuration.
|
|
79
|
+
*/
|
|
80
|
+
timeoutAction: string;
|
|
81
|
+
/**
|
|
82
|
+
* The timeout in seconds of the overall moderation configuration.
|
|
83
|
+
*/
|
|
84
|
+
timeoutSec: number;
|
|
85
|
+
}
|
|
86
|
+
export interface CustomModelResourceSettings {
|
|
87
|
+
/**
|
|
88
|
+
* The memory in MB for the Custom Model.
|
|
89
|
+
*/
|
|
90
|
+
memoryMb: number;
|
|
91
|
+
/**
|
|
92
|
+
* The network access for the Custom Model.
|
|
93
|
+
*/
|
|
94
|
+
networkAccess: string;
|
|
95
|
+
/**
|
|
96
|
+
* The replicas for the Custom Model.
|
|
97
|
+
*/
|
|
98
|
+
replicas: number;
|
|
99
|
+
}
|
|
100
|
+
export interface CustomModelRuntimeParameterValue {
|
|
101
|
+
/**
|
|
102
|
+
* The name of the runtime parameter.
|
|
103
|
+
*/
|
|
104
|
+
key: string;
|
|
105
|
+
/**
|
|
106
|
+
* The type of the runtime parameter.
|
|
107
|
+
*/
|
|
108
|
+
type: string;
|
|
109
|
+
/**
|
|
110
|
+
* The value of the runtime parameter (type conversion is handled internally).
|
|
111
|
+
*/
|
|
112
|
+
value: string;
|
|
113
|
+
}
|
|
114
|
+
export interface CustomModelSourceRemoteRepository {
|
|
115
|
+
/**
|
|
116
|
+
* The ID of the source remote repository.
|
|
117
|
+
*/
|
|
118
|
+
id: string;
|
|
119
|
+
/**
|
|
120
|
+
* The reference of the source remote repository.
|
|
121
|
+
*/
|
|
122
|
+
ref: string;
|
|
123
|
+
/**
|
|
124
|
+
* The list of source paths in the source remote repository.
|
|
125
|
+
*/
|
|
126
|
+
sourcePaths: string[];
|
|
127
|
+
}
|
|
128
|
+
export interface DeploymentSettings {
|
|
129
|
+
/**
|
|
130
|
+
* Used to associate predictions back to your actual data.
|
|
131
|
+
*/
|
|
132
|
+
associationId?: outputs.DeploymentSettingsAssociationId;
|
|
133
|
+
/**
|
|
134
|
+
* Used to compare the performance of the deployed model with the challenger models.
|
|
135
|
+
*/
|
|
136
|
+
challengerAnalysis?: boolean;
|
|
137
|
+
/**
|
|
138
|
+
* Used to score predictions made by the challenger models and compare performance with the deployed model.
|
|
139
|
+
*/
|
|
140
|
+
predictionRowStorage?: boolean;
|
|
141
|
+
/**
|
|
142
|
+
* Settings for the predictions.
|
|
143
|
+
*/
|
|
144
|
+
predictionsSettings?: outputs.DeploymentSettingsPredictionsSettings;
|
|
145
|
+
}
|
|
146
|
+
export interface DeploymentSettingsAssociationId {
|
|
147
|
+
/**
|
|
148
|
+
* Whether to automatically generate an association ID.
|
|
149
|
+
*/
|
|
150
|
+
autoGenerateId: boolean;
|
|
151
|
+
/**
|
|
152
|
+
* The name of the feature to use as the association ID.
|
|
153
|
+
*/
|
|
154
|
+
featureName: string;
|
|
155
|
+
}
|
|
156
|
+
export interface DeploymentSettingsPredictionsSettings {
|
|
157
|
+
/**
|
|
158
|
+
* The maximum number of computes to use for predictions.
|
|
159
|
+
*/
|
|
160
|
+
maxComputes: number;
|
|
161
|
+
/**
|
|
162
|
+
* The minimum number of computes to use for predictions.
|
|
163
|
+
*/
|
|
164
|
+
minComputes: number;
|
|
165
|
+
/**
|
|
166
|
+
* Whether to use real-time predictions.
|
|
167
|
+
*/
|
|
168
|
+
realTime: boolean;
|
|
169
|
+
}
|
|
170
|
+
export interface VectorDatabaseChunkingParameters {
|
|
171
|
+
/**
|
|
172
|
+
* The percentage of overlap between chunks.
|
|
173
|
+
*/
|
|
174
|
+
chunkOverlapPercentage: number;
|
|
175
|
+
/**
|
|
176
|
+
* The size of the chunks.
|
|
177
|
+
*/
|
|
178
|
+
chunkSize: number;
|
|
179
|
+
/**
|
|
180
|
+
* The method used to chunk the data.
|
|
181
|
+
*/
|
|
182
|
+
chunkingMethod: string;
|
|
183
|
+
/**
|
|
184
|
+
* The id of the Embedding Model.
|
|
185
|
+
*/
|
|
186
|
+
embeddingModel: string;
|
|
187
|
+
/**
|
|
188
|
+
* Whether the separator is a regex.
|
|
189
|
+
*/
|
|
190
|
+
isSeparatorRegex: boolean;
|
|
191
|
+
/**
|
|
192
|
+
* The separators used to split the data.
|
|
193
|
+
*/
|
|
194
|
+
separators: string[];
|
|
195
|
+
}
|
package/types/output.js
ADDED
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
//# sourceMappingURL=output.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"output.js","sourceRoot":"","sources":["../../types/output.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF"}
|
package/useCase.d.ts
ADDED
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* Use case
|
|
4
|
+
*
|
|
5
|
+
* ## Example Usage
|
|
6
|
+
*
|
|
7
|
+
* ```typescript
|
|
8
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
9
|
+
* import * as datarobot from "@datarobot/pulumi-datarobot";
|
|
10
|
+
*
|
|
11
|
+
* const example = new datarobot.UseCase("example", {});
|
|
12
|
+
* export const exampleId = example.id;
|
|
13
|
+
* ```
|
|
14
|
+
*/
|
|
15
|
+
export declare class UseCase extends pulumi.CustomResource {
|
|
16
|
+
/**
|
|
17
|
+
* Get an existing UseCase resource's state with the given name, ID, and optional extra
|
|
18
|
+
* properties used to qualify the lookup.
|
|
19
|
+
*
|
|
20
|
+
* @param name The _unique_ name of the resulting resource.
|
|
21
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
22
|
+
* @param state Any extra arguments used during the lookup.
|
|
23
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
24
|
+
*/
|
|
25
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: UseCaseState, opts?: pulumi.CustomResourceOptions): UseCase;
|
|
26
|
+
/**
|
|
27
|
+
* Returns true if the given object is an instance of UseCase. This is designed to work even
|
|
28
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
29
|
+
*/
|
|
30
|
+
static isInstance(obj: any): obj is UseCase;
|
|
31
|
+
/**
|
|
32
|
+
* The description of the Use Case.
|
|
33
|
+
*/
|
|
34
|
+
readonly description: pulumi.Output<string | undefined>;
|
|
35
|
+
/**
|
|
36
|
+
* The name of the Use Case.
|
|
37
|
+
*/
|
|
38
|
+
readonly name: pulumi.Output<string>;
|
|
39
|
+
/**
|
|
40
|
+
* Create a UseCase resource with the given unique name, arguments, and options.
|
|
41
|
+
*
|
|
42
|
+
* @param name The _unique_ name of the resource.
|
|
43
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
44
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
45
|
+
*/
|
|
46
|
+
constructor(name: string, args?: UseCaseArgs, opts?: pulumi.CustomResourceOptions);
|
|
47
|
+
}
|
|
48
|
+
/**
|
|
49
|
+
* Input properties used for looking up and filtering UseCase resources.
|
|
50
|
+
*/
|
|
51
|
+
export interface UseCaseState {
|
|
52
|
+
/**
|
|
53
|
+
* The description of the Use Case.
|
|
54
|
+
*/
|
|
55
|
+
description?: pulumi.Input<string>;
|
|
56
|
+
/**
|
|
57
|
+
* The name of the Use Case.
|
|
58
|
+
*/
|
|
59
|
+
name?: pulumi.Input<string>;
|
|
60
|
+
}
|
|
61
|
+
/**
|
|
62
|
+
* The set of arguments for constructing a UseCase resource.
|
|
63
|
+
*/
|
|
64
|
+
export interface UseCaseArgs {
|
|
65
|
+
/**
|
|
66
|
+
* The description of the Use Case.
|
|
67
|
+
*/
|
|
68
|
+
description?: pulumi.Input<string>;
|
|
69
|
+
/**
|
|
70
|
+
* The name of the Use Case.
|
|
71
|
+
*/
|
|
72
|
+
name?: pulumi.Input<string>;
|
|
73
|
+
}
|
package/useCase.js
ADDED
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.UseCase = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Use case
|
|
10
|
+
*
|
|
11
|
+
* ## Example Usage
|
|
12
|
+
*
|
|
13
|
+
* ```typescript
|
|
14
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
15
|
+
* import * as datarobot from "@datarobot/pulumi-datarobot";
|
|
16
|
+
*
|
|
17
|
+
* const example = new datarobot.UseCase("example", {});
|
|
18
|
+
* export const exampleId = example.id;
|
|
19
|
+
* ```
|
|
20
|
+
*/
|
|
21
|
+
class UseCase extends pulumi.CustomResource {
|
|
22
|
+
/**
|
|
23
|
+
* Get an existing UseCase resource's state with the given name, ID, and optional extra
|
|
24
|
+
* properties used to qualify the lookup.
|
|
25
|
+
*
|
|
26
|
+
* @param name The _unique_ name of the resulting resource.
|
|
27
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
28
|
+
* @param state Any extra arguments used during the lookup.
|
|
29
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
30
|
+
*/
|
|
31
|
+
static get(name, id, state, opts) {
|
|
32
|
+
return new UseCase(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
33
|
+
}
|
|
34
|
+
/**
|
|
35
|
+
* Returns true if the given object is an instance of UseCase. This is designed to work even
|
|
36
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
37
|
+
*/
|
|
38
|
+
static isInstance(obj) {
|
|
39
|
+
if (obj === undefined || obj === null) {
|
|
40
|
+
return false;
|
|
41
|
+
}
|
|
42
|
+
return obj['__pulumiType'] === UseCase.__pulumiType;
|
|
43
|
+
}
|
|
44
|
+
constructor(name, argsOrState, opts) {
|
|
45
|
+
let resourceInputs = {};
|
|
46
|
+
opts = opts || {};
|
|
47
|
+
if (opts.id) {
|
|
48
|
+
const state = argsOrState;
|
|
49
|
+
resourceInputs["description"] = state ? state.description : undefined;
|
|
50
|
+
resourceInputs["name"] = state ? state.name : undefined;
|
|
51
|
+
}
|
|
52
|
+
else {
|
|
53
|
+
const args = argsOrState;
|
|
54
|
+
resourceInputs["description"] = args ? args.description : undefined;
|
|
55
|
+
resourceInputs["name"] = args ? args.name : undefined;
|
|
56
|
+
}
|
|
57
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
58
|
+
super(UseCase.__pulumiType, name, resourceInputs, opts);
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
exports.UseCase = UseCase;
|
|
62
|
+
/** @internal */
|
|
63
|
+
UseCase.__pulumiType = 'datarobot:index/useCase:UseCase';
|
|
64
|
+
//# sourceMappingURL=useCase.js.map
|
package/useCase.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useCase.js","sourceRoot":"","sources":["../useCase.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;GAYG;AACH,MAAa,OAAQ,SAAQ,MAAM,CAAC,cAAc;IAC9C;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAoB,EAAE,IAAmC;QAClH,OAAO,IAAI,OAAO,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC9D,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,OAAO,CAAC,YAAY,CAAC;IACxD,CAAC;IAmBD,YAAY,IAAY,EAAE,WAAwC,EAAE,IAAmC;QACnG,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAuC,CAAC;YACtD,cAAc,CAAC,aAAa,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,WAAW,CAAC,CAAC,CAAC,SAAS,CAAC;YACtE,cAAc,CAAC,MAAM,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;SAC3D;aAAM;YACH,MAAM,IAAI,GAAG,WAAsC,CAAC;YACpD,cAAc,CAAC,aAAa,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC,SAAS,CAAC;YACpE,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;SACzD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,OAAO,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC5D,CAAC;;AA3DL,0BA4DC;AA9CG,gBAAgB;AACO,oBAAY,GAAG,iCAAiC,CAAC"}
|