@datarobot/pulumi-datarobot 0.10.41 → 0.10.42
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/memorySpace.d.ts +39 -3
- package/memorySpace.js +6 -0
- package/memorySpace.js.map +1 -1
- package/package.json +1 -1
package/memorySpace.d.ts
CHANGED
|
@@ -29,9 +29,21 @@ export declare class MemorySpace extends pulumi.CustomResource {
|
|
|
29
29
|
*/
|
|
30
30
|
static isInstance(obj: any): obj is MemorySpace;
|
|
31
31
|
/**
|
|
32
|
-
*
|
|
32
|
+
* Custom prompt instructions for fact extraction (maximum 10,000 characters). `None` means the default memory extraction prompt is used.
|
|
33
|
+
*/
|
|
34
|
+
readonly customInstructions: pulumi.Output<string | undefined>;
|
|
35
|
+
/**
|
|
36
|
+
* A human-readable description.
|
|
33
37
|
*/
|
|
34
38
|
readonly description: pulumi.Output<string | undefined>;
|
|
39
|
+
/**
|
|
40
|
+
* The chat API URL used for memory extraction. The memory service uses the DataRobot LLM gateway by default; set this only when the default does not work — for example, in air-gapped environments or when the required LLM model is not provided by the gateway and cannot be added.
|
|
41
|
+
*/
|
|
42
|
+
readonly llmBaseUrl: pulumi.Output<string | undefined>;
|
|
43
|
+
/**
|
|
44
|
+
* An LLM model name associated with the memory space (maximum 200 characters). Non-reasoning models are recommended. Reasoning-capable models are significantly slower for fact extraction without producing meaningfully better results.
|
|
45
|
+
*/
|
|
46
|
+
readonly llmModelName: pulumi.Output<string | undefined>;
|
|
35
47
|
/**
|
|
36
48
|
* Create a MemorySpace resource with the given unique name, arguments, and options.
|
|
37
49
|
*
|
|
@@ -46,16 +58,40 @@ export declare class MemorySpace extends pulumi.CustomResource {
|
|
|
46
58
|
*/
|
|
47
59
|
export interface MemorySpaceState {
|
|
48
60
|
/**
|
|
49
|
-
*
|
|
61
|
+
* Custom prompt instructions for fact extraction (maximum 10,000 characters). `None` means the default memory extraction prompt is used.
|
|
62
|
+
*/
|
|
63
|
+
customInstructions?: pulumi.Input<string>;
|
|
64
|
+
/**
|
|
65
|
+
* A human-readable description.
|
|
50
66
|
*/
|
|
51
67
|
description?: pulumi.Input<string>;
|
|
68
|
+
/**
|
|
69
|
+
* The chat API URL used for memory extraction. The memory service uses the DataRobot LLM gateway by default; set this only when the default does not work — for example, in air-gapped environments or when the required LLM model is not provided by the gateway and cannot be added.
|
|
70
|
+
*/
|
|
71
|
+
llmBaseUrl?: pulumi.Input<string>;
|
|
72
|
+
/**
|
|
73
|
+
* An LLM model name associated with the memory space (maximum 200 characters). Non-reasoning models are recommended. Reasoning-capable models are significantly slower for fact extraction without producing meaningfully better results.
|
|
74
|
+
*/
|
|
75
|
+
llmModelName?: pulumi.Input<string>;
|
|
52
76
|
}
|
|
53
77
|
/**
|
|
54
78
|
* The set of arguments for constructing a MemorySpace resource.
|
|
55
79
|
*/
|
|
56
80
|
export interface MemorySpaceArgs {
|
|
57
81
|
/**
|
|
58
|
-
*
|
|
82
|
+
* Custom prompt instructions for fact extraction (maximum 10,000 characters). `None` means the default memory extraction prompt is used.
|
|
83
|
+
*/
|
|
84
|
+
customInstructions?: pulumi.Input<string>;
|
|
85
|
+
/**
|
|
86
|
+
* A human-readable description.
|
|
59
87
|
*/
|
|
60
88
|
description?: pulumi.Input<string>;
|
|
89
|
+
/**
|
|
90
|
+
* The chat API URL used for memory extraction. The memory service uses the DataRobot LLM gateway by default; set this only when the default does not work — for example, in air-gapped environments or when the required LLM model is not provided by the gateway and cannot be added.
|
|
91
|
+
*/
|
|
92
|
+
llmBaseUrl?: pulumi.Input<string>;
|
|
93
|
+
/**
|
|
94
|
+
* An LLM model name associated with the memory space (maximum 200 characters). Non-reasoning models are recommended. Reasoning-capable models are significantly slower for fact extraction without producing meaningfully better results.
|
|
95
|
+
*/
|
|
96
|
+
llmModelName?: pulumi.Input<string>;
|
|
61
97
|
}
|
package/memorySpace.js
CHANGED
|
@@ -46,11 +46,17 @@ class MemorySpace extends pulumi.CustomResource {
|
|
|
46
46
|
opts = opts || {};
|
|
47
47
|
if (opts.id) {
|
|
48
48
|
const state = argsOrState;
|
|
49
|
+
resourceInputs["customInstructions"] = state ? state.customInstructions : undefined;
|
|
49
50
|
resourceInputs["description"] = state ? state.description : undefined;
|
|
51
|
+
resourceInputs["llmBaseUrl"] = state ? state.llmBaseUrl : undefined;
|
|
52
|
+
resourceInputs["llmModelName"] = state ? state.llmModelName : undefined;
|
|
50
53
|
}
|
|
51
54
|
else {
|
|
52
55
|
const args = argsOrState;
|
|
56
|
+
resourceInputs["customInstructions"] = args ? args.customInstructions : undefined;
|
|
53
57
|
resourceInputs["description"] = args ? args.description : undefined;
|
|
58
|
+
resourceInputs["llmBaseUrl"] = args ? args.llmBaseUrl : undefined;
|
|
59
|
+
resourceInputs["llmModelName"] = args ? args.llmModelName : undefined;
|
|
54
60
|
}
|
|
55
61
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
56
62
|
super(MemorySpace.__pulumiType, name, resourceInputs, opts);
|
package/memorySpace.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"memorySpace.js","sourceRoot":"","sources":["../memorySpace.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;GAYG;AACH,MAAa,WAAY,SAAQ,MAAM,CAAC,cAAc;IAClD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAwB,EAAE,IAAmC;QACtH,OAAO,IAAI,WAAW,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAClE,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,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