@quantcdn/pulumi-quant 5.4.0 → 5.5.1
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/aiAgent.d.ts +155 -0
- package/aiAgent.js +94 -0
- package/aiAgent.js.map +1 -0
- package/aiGovernance.d.ts +77 -0
- package/aiGovernance.js +75 -0
- package/aiGovernance.js.map +1 -0
- package/aiSkill.d.ts +101 -0
- package/aiSkill.js +85 -0
- package/aiSkill.js.map +1 -0
- package/aiVectorCollection.d.ts +107 -0
- package/aiVectorCollection.js +68 -0
- package/aiVectorCollection.js.map +1 -0
- package/aiVectorDocument.d.ts +73 -0
- package/aiVectorDocument.js +70 -0
- package/aiVectorDocument.js.map +1 -0
- package/application.d.ts +189 -0
- package/application.js +85 -0
- package/application.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 +36 -0
- package/config/vars.js +61 -0
- package/config/vars.js.map +1 -0
- package/{crawler.ts → crawler.d.ts} +45 -139
- package/crawler.js +116 -0
- package/crawler.js.map +1 -0
- package/crawlerSchedule.d.ts +156 -0
- package/crawlerSchedule.js +74 -0
- package/crawlerSchedule.js.map +1 -0
- package/cronJob.d.ts +102 -0
- package/cronJob.js +73 -0
- package/cronJob.js.map +1 -0
- package/{domain.ts → domain.d.ts} +10 -56
- package/domain.js +62 -0
- package/domain.js.map +1 -0
- package/environment.d.ts +313 -0
- package/environment.js +110 -0
- package/environment.js.map +1 -0
- package/getProject.d.ts +34 -0
- package/getProject.js +24 -0
- package/getProject.js.map +1 -0
- package/getProjects.d.ts +14 -0
- package/getProjects.js +18 -0
- package/getProjects.js.map +1 -0
- package/header.d.ts +60 -0
- package/header.js +59 -0
- package/header.js.map +1 -0
- package/index.d.ts +88 -0
- package/index.js +158 -0
- package/index.js.map +1 -0
- package/{kvItem.ts → kvItem.d.ts} +11 -62
- package/kvItem.js +67 -0
- package/kvItem.js.map +1 -0
- package/kvStore.d.ts +75 -0
- package/kvStore.js +55 -0
- package/kvStore.js.map +1 -0
- package/package.json +32 -30
- package/project.d.ts +175 -0
- package/project.js +73 -0
- package/project.js.map +1 -0
- package/{provider.ts → provider.d.ts} +12 -51
- package/provider.js +63 -0
- package/provider.js.map +1 -0
- package/{ruleAuth.ts → ruleAuth.d.ts} +31 -128
- package/ruleAuth.js +113 -0
- package/ruleAuth.js.map +1 -0
- package/{ruleBotChallenge.ts → ruleBotChallenge.d.ts} +32 -128
- package/ruleBotChallenge.js +112 -0
- package/ruleBotChallenge.js.map +1 -0
- package/{ruleContentFilter.ts → ruleContentFilter.d.ts} +30 -122
- package/ruleContentFilter.js +108 -0
- package/ruleContentFilter.js.map +1 -0
- package/{ruleCustomResponse.ts → ruleCustomResponse.d.ts} +33 -131
- package/ruleCustomResponse.js +114 -0
- package/ruleCustomResponse.js.map +1 -0
- package/{ruleFunction.ts → ruleFunction.d.ts} +30 -122
- package/ruleFunction.js +108 -0
- package/ruleFunction.js.map +1 -0
- package/{ruleHeaders.ts → ruleHeaders.d.ts} +38 -124
- package/ruleHeaders.js +108 -0
- package/ruleHeaders.js.map +1 -0
- package/{ruleProxy.ts → ruleProxy.d.ts} +62 -196
- package/ruleProxy.js +156 -0
- package/ruleProxy.js.map +1 -0
- package/{ruleRedirect.ts → ruleRedirect.d.ts} +31 -125
- package/ruleRedirect.js +110 -0
- package/ruleRedirect.js.map +1 -0
- package/{ruleServeStatic.ts → ruleServeStatic.d.ts} +30 -122
- package/ruleServeStatic.js +108 -0
- package/ruleServeStatic.js.map +1 -0
- package/{slackBot.ts → slackBot.d.ts} +14 -71
- package/slackBot.js +73 -0
- package/slackBot.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.ts → input.d.ts} +6 -78
- package/{config/index.ts → types/input.js} +3 -3
- package/types/input.js.map +1 -0
- package/types/{output.ts → output.d.ts} +6 -81
- package/types/output.js +5 -0
- package/types/output.js.map +1 -0
- package/utilities.d.ts +4 -0
- package/{utilities.ts → utilities.js} +23 -28
- package/utilities.js.map +1 -0
- package/volume.d.ts +130 -0
- package/volume.js +74 -0
- package/volume.js.map +1 -0
- package/.gitattributes +0 -1
- package/aiAgent.ts +0 -233
- package/aiGovernance.ts +0 -136
- package/aiSkill.ts +0 -170
- package/aiVectorCollection.ts +0 -159
- package/aiVectorDocument.ts +0 -127
- package/application.ts +0 -258
- package/config/vars.ts +0 -108
- package/crawlerSchedule.ts +0 -214
- package/cronJob.ts +0 -159
- package/environment.ts +0 -407
- package/getProject.ts +0 -54
- package/getProjects.ts +0 -29
- package/header.ts +0 -97
- package/index.ts +0 -231
- package/kvStore.ts +0 -114
- package/project.ts +0 -232
- package/tsconfig.json +0 -53
- package/types/index.ts +0 -13
- package/volume.ts +0 -188
package/aiAgent.d.ts
ADDED
|
@@ -0,0 +1,155 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as inputs from "./types/input";
|
|
3
|
+
import * as outputs from "./types/output";
|
|
4
|
+
export declare class AiAgent extends pulumi.CustomResource {
|
|
5
|
+
/**
|
|
6
|
+
* Get an existing AiAgent resource's state with the given name, ID, and optional extra
|
|
7
|
+
* properties used to qualify the lookup.
|
|
8
|
+
*
|
|
9
|
+
* @param name The _unique_ name of the resulting resource.
|
|
10
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
11
|
+
* @param state Any extra arguments used during the lookup.
|
|
12
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
13
|
+
*/
|
|
14
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: AiAgentState, opts?: pulumi.CustomResourceOptions): AiAgent;
|
|
15
|
+
/**
|
|
16
|
+
* Returns true if the given object is an instance of AiAgent. This is designed to work even
|
|
17
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
18
|
+
*/
|
|
19
|
+
static isInstance(obj: any): obj is AiAgent;
|
|
20
|
+
readonly agent: pulumi.Output<outputs.AiAgentAgent>;
|
|
21
|
+
/**
|
|
22
|
+
* The agent ID
|
|
23
|
+
*/
|
|
24
|
+
readonly agentId: pulumi.Output<string>;
|
|
25
|
+
readonly allowedCollections: pulumi.Output<string[]>;
|
|
26
|
+
readonly allowedTools: pulumi.Output<string[]>;
|
|
27
|
+
/**
|
|
28
|
+
* Skill IDs to assign to this agent
|
|
29
|
+
*/
|
|
30
|
+
readonly assignedSkills: pulumi.Output<string[]>;
|
|
31
|
+
/**
|
|
32
|
+
* User identifier who created the agent
|
|
33
|
+
*/
|
|
34
|
+
readonly createdBy: pulumi.Output<string>;
|
|
35
|
+
readonly description: pulumi.Output<string>;
|
|
36
|
+
/**
|
|
37
|
+
* Filter policy IDs to apply to this agent's inference requests
|
|
38
|
+
*/
|
|
39
|
+
readonly filterPolicies: pulumi.Output<string[]>;
|
|
40
|
+
readonly group: pulumi.Output<string>;
|
|
41
|
+
/**
|
|
42
|
+
* Guardrail preset name
|
|
43
|
+
*/
|
|
44
|
+
readonly guardrailPreset: pulumi.Output<string>;
|
|
45
|
+
/**
|
|
46
|
+
* Enable 1M context window support
|
|
47
|
+
*/
|
|
48
|
+
readonly longContext: pulumi.Output<boolean>;
|
|
49
|
+
readonly maxTokens: pulumi.Output<number>;
|
|
50
|
+
readonly message: pulumi.Output<string>;
|
|
51
|
+
readonly modelId: pulumi.Output<string>;
|
|
52
|
+
readonly name: pulumi.Output<string>;
|
|
53
|
+
/**
|
|
54
|
+
* The organisation ID
|
|
55
|
+
*/
|
|
56
|
+
readonly organisation: pulumi.Output<string>;
|
|
57
|
+
readonly success: pulumi.Output<boolean>;
|
|
58
|
+
readonly systemPrompt: pulumi.Output<string>;
|
|
59
|
+
readonly temperature: pulumi.Output<number>;
|
|
60
|
+
/**
|
|
61
|
+
* Create a AiAgent resource with the given unique name, arguments, and options.
|
|
62
|
+
*
|
|
63
|
+
* @param name The _unique_ name of the resource.
|
|
64
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
65
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
66
|
+
*/
|
|
67
|
+
constructor(name: string, args: AiAgentArgs, opts?: pulumi.CustomResourceOptions);
|
|
68
|
+
}
|
|
69
|
+
/**
|
|
70
|
+
* Input properties used for looking up and filtering AiAgent resources.
|
|
71
|
+
*/
|
|
72
|
+
export interface AiAgentState {
|
|
73
|
+
agent?: pulumi.Input<inputs.AiAgentAgent>;
|
|
74
|
+
/**
|
|
75
|
+
* The agent ID
|
|
76
|
+
*/
|
|
77
|
+
agentId?: pulumi.Input<string>;
|
|
78
|
+
allowedCollections?: pulumi.Input<pulumi.Input<string>[]>;
|
|
79
|
+
allowedTools?: pulumi.Input<pulumi.Input<string>[]>;
|
|
80
|
+
/**
|
|
81
|
+
* Skill IDs to assign to this agent
|
|
82
|
+
*/
|
|
83
|
+
assignedSkills?: pulumi.Input<pulumi.Input<string>[]>;
|
|
84
|
+
/**
|
|
85
|
+
* User identifier who created the agent
|
|
86
|
+
*/
|
|
87
|
+
createdBy?: pulumi.Input<string>;
|
|
88
|
+
description?: pulumi.Input<string>;
|
|
89
|
+
/**
|
|
90
|
+
* Filter policy IDs to apply to this agent's inference requests
|
|
91
|
+
*/
|
|
92
|
+
filterPolicies?: pulumi.Input<pulumi.Input<string>[]>;
|
|
93
|
+
group?: pulumi.Input<string>;
|
|
94
|
+
/**
|
|
95
|
+
* Guardrail preset name
|
|
96
|
+
*/
|
|
97
|
+
guardrailPreset?: pulumi.Input<string>;
|
|
98
|
+
/**
|
|
99
|
+
* Enable 1M context window support
|
|
100
|
+
*/
|
|
101
|
+
longContext?: pulumi.Input<boolean>;
|
|
102
|
+
maxTokens?: pulumi.Input<number>;
|
|
103
|
+
message?: pulumi.Input<string>;
|
|
104
|
+
modelId?: pulumi.Input<string>;
|
|
105
|
+
name?: pulumi.Input<string>;
|
|
106
|
+
/**
|
|
107
|
+
* The organisation ID
|
|
108
|
+
*/
|
|
109
|
+
organisation?: pulumi.Input<string>;
|
|
110
|
+
success?: pulumi.Input<boolean>;
|
|
111
|
+
systemPrompt?: pulumi.Input<string>;
|
|
112
|
+
temperature?: pulumi.Input<number>;
|
|
113
|
+
}
|
|
114
|
+
/**
|
|
115
|
+
* The set of arguments for constructing a AiAgent resource.
|
|
116
|
+
*/
|
|
117
|
+
export interface AiAgentArgs {
|
|
118
|
+
/**
|
|
119
|
+
* The agent ID
|
|
120
|
+
*/
|
|
121
|
+
agentId?: pulumi.Input<string>;
|
|
122
|
+
allowedCollections?: pulumi.Input<pulumi.Input<string>[]>;
|
|
123
|
+
allowedTools?: pulumi.Input<pulumi.Input<string>[]>;
|
|
124
|
+
/**
|
|
125
|
+
* Skill IDs to assign to this agent
|
|
126
|
+
*/
|
|
127
|
+
assignedSkills?: pulumi.Input<pulumi.Input<string>[]>;
|
|
128
|
+
/**
|
|
129
|
+
* User identifier who created the agent
|
|
130
|
+
*/
|
|
131
|
+
createdBy?: pulumi.Input<string>;
|
|
132
|
+
description: pulumi.Input<string>;
|
|
133
|
+
/**
|
|
134
|
+
* Filter policy IDs to apply to this agent's inference requests
|
|
135
|
+
*/
|
|
136
|
+
filterPolicies?: pulumi.Input<pulumi.Input<string>[]>;
|
|
137
|
+
group?: pulumi.Input<string>;
|
|
138
|
+
/**
|
|
139
|
+
* Guardrail preset name
|
|
140
|
+
*/
|
|
141
|
+
guardrailPreset?: pulumi.Input<string>;
|
|
142
|
+
/**
|
|
143
|
+
* Enable 1M context window support
|
|
144
|
+
*/
|
|
145
|
+
longContext?: pulumi.Input<boolean>;
|
|
146
|
+
maxTokens?: pulumi.Input<number>;
|
|
147
|
+
modelId: pulumi.Input<string>;
|
|
148
|
+
name?: pulumi.Input<string>;
|
|
149
|
+
/**
|
|
150
|
+
* The organisation ID
|
|
151
|
+
*/
|
|
152
|
+
organisation?: pulumi.Input<string>;
|
|
153
|
+
systemPrompt: pulumi.Input<string>;
|
|
154
|
+
temperature?: pulumi.Input<number>;
|
|
155
|
+
}
|
package/aiAgent.js
ADDED
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
|
|
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.AiAgent = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
class AiAgent extends pulumi.CustomResource {
|
|
9
|
+
/**
|
|
10
|
+
* Get an existing AiAgent resource's state with the given name, ID, and optional extra
|
|
11
|
+
* properties used to qualify the lookup.
|
|
12
|
+
*
|
|
13
|
+
* @param name The _unique_ name of the resulting resource.
|
|
14
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
15
|
+
* @param state Any extra arguments used during the lookup.
|
|
16
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
17
|
+
*/
|
|
18
|
+
static get(name, id, state, opts) {
|
|
19
|
+
return new AiAgent(name, state, { ...opts, id: id });
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* Returns true if the given object is an instance of AiAgent. This is designed to work even
|
|
23
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
24
|
+
*/
|
|
25
|
+
static isInstance(obj) {
|
|
26
|
+
if (obj === undefined || obj === null) {
|
|
27
|
+
return false;
|
|
28
|
+
}
|
|
29
|
+
return obj['__pulumiType'] === AiAgent.__pulumiType;
|
|
30
|
+
}
|
|
31
|
+
constructor(name, argsOrState, opts) {
|
|
32
|
+
let resourceInputs = {};
|
|
33
|
+
opts = opts || {};
|
|
34
|
+
if (opts.id) {
|
|
35
|
+
const state = argsOrState;
|
|
36
|
+
resourceInputs["agent"] = state?.agent;
|
|
37
|
+
resourceInputs["agentId"] = state?.agentId;
|
|
38
|
+
resourceInputs["allowedCollections"] = state?.allowedCollections;
|
|
39
|
+
resourceInputs["allowedTools"] = state?.allowedTools;
|
|
40
|
+
resourceInputs["assignedSkills"] = state?.assignedSkills;
|
|
41
|
+
resourceInputs["createdBy"] = state?.createdBy;
|
|
42
|
+
resourceInputs["description"] = state?.description;
|
|
43
|
+
resourceInputs["filterPolicies"] = state?.filterPolicies;
|
|
44
|
+
resourceInputs["group"] = state?.group;
|
|
45
|
+
resourceInputs["guardrailPreset"] = state?.guardrailPreset;
|
|
46
|
+
resourceInputs["longContext"] = state?.longContext;
|
|
47
|
+
resourceInputs["maxTokens"] = state?.maxTokens;
|
|
48
|
+
resourceInputs["message"] = state?.message;
|
|
49
|
+
resourceInputs["modelId"] = state?.modelId;
|
|
50
|
+
resourceInputs["name"] = state?.name;
|
|
51
|
+
resourceInputs["organisation"] = state?.organisation;
|
|
52
|
+
resourceInputs["success"] = state?.success;
|
|
53
|
+
resourceInputs["systemPrompt"] = state?.systemPrompt;
|
|
54
|
+
resourceInputs["temperature"] = state?.temperature;
|
|
55
|
+
}
|
|
56
|
+
else {
|
|
57
|
+
const args = argsOrState;
|
|
58
|
+
if (args?.description === undefined && !opts.urn) {
|
|
59
|
+
throw new Error("Missing required property 'description'");
|
|
60
|
+
}
|
|
61
|
+
if (args?.modelId === undefined && !opts.urn) {
|
|
62
|
+
throw new Error("Missing required property 'modelId'");
|
|
63
|
+
}
|
|
64
|
+
if (args?.systemPrompt === undefined && !opts.urn) {
|
|
65
|
+
throw new Error("Missing required property 'systemPrompt'");
|
|
66
|
+
}
|
|
67
|
+
resourceInputs["agentId"] = args?.agentId;
|
|
68
|
+
resourceInputs["allowedCollections"] = args?.allowedCollections;
|
|
69
|
+
resourceInputs["allowedTools"] = args?.allowedTools;
|
|
70
|
+
resourceInputs["assignedSkills"] = args?.assignedSkills;
|
|
71
|
+
resourceInputs["createdBy"] = args?.createdBy;
|
|
72
|
+
resourceInputs["description"] = args?.description;
|
|
73
|
+
resourceInputs["filterPolicies"] = args?.filterPolicies;
|
|
74
|
+
resourceInputs["group"] = args?.group;
|
|
75
|
+
resourceInputs["guardrailPreset"] = args?.guardrailPreset;
|
|
76
|
+
resourceInputs["longContext"] = args?.longContext;
|
|
77
|
+
resourceInputs["maxTokens"] = args?.maxTokens;
|
|
78
|
+
resourceInputs["modelId"] = args?.modelId;
|
|
79
|
+
resourceInputs["name"] = args?.name;
|
|
80
|
+
resourceInputs["organisation"] = args?.organisation;
|
|
81
|
+
resourceInputs["systemPrompt"] = args?.systemPrompt;
|
|
82
|
+
resourceInputs["temperature"] = args?.temperature;
|
|
83
|
+
resourceInputs["agent"] = undefined /*out*/;
|
|
84
|
+
resourceInputs["message"] = undefined /*out*/;
|
|
85
|
+
resourceInputs["success"] = undefined /*out*/;
|
|
86
|
+
}
|
|
87
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
88
|
+
super(AiAgent.__pulumiType, name, resourceInputs, opts);
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
exports.AiAgent = AiAgent;
|
|
92
|
+
/** @internal */
|
|
93
|
+
AiAgent.__pulumiType = 'quant:index:AiAgent';
|
|
94
|
+
//# sourceMappingURL=aiAgent.js.map
|
package/aiAgent.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"aiAgent.js","sourceRoot":"","sources":["../aiAgent.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC,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,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IAC9D,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,K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CAAC,GAAG,IAAI,EAAE,eAAe,CAAC;YAC1D,cAAc,CAAC,aAAa,CAAC,GAAG,IAAI,EAAE,WAAW,CAAC;YAClD,cAAc,CAAC,WAAW,CAAC,GAAG,IAAI,EAAE,SAAS,CAAC;YAC9C,cAAc,CAAC,SAAS,CAAC,GAAG,IAAI,EAAE,OAAO,CAAC;YAC1C,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,EAAE,IAAI,CAAC;YACpC,cAAc,CAAC,cAAc,CAAC,GAAG,IAAI,EAAE,YAAY,CAAC;YACpD,cAAc,CAAC,cAAc,CAAC,GAAG,IAAI,EAAE,YAAY,CAAC;YACpD,cAAc,CAAC,aAAa,CAAC,GAAG,IAAI,EAAE,WAAW,CAAC;YAClD,cAAc,CAAC,OAAO,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC5C,cAAc,CAAC,SAAS,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC9C,cAAc,CAAC,SAAS,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACjD;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;;AAtIL,0BAuIC;AAzHG,gBAAgB;AACO,oBAAY,GAAG,qBAAqB,CAAC"}
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as inputs from "./types/input";
|
|
3
|
+
import * as outputs from "./types/output";
|
|
4
|
+
export declare class AiGovernance extends pulumi.CustomResource {
|
|
5
|
+
/**
|
|
6
|
+
* Get an existing AiGovernance resource's state with the given name, ID, and optional extra
|
|
7
|
+
* properties used to qualify the lookup.
|
|
8
|
+
*
|
|
9
|
+
* @param name The _unique_ name of the resulting resource.
|
|
10
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
11
|
+
* @param state Any extra arguments used during the lookup.
|
|
12
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
13
|
+
*/
|
|
14
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: AiGovernanceState, opts?: pulumi.CustomResourceOptions): AiGovernance;
|
|
15
|
+
/**
|
|
16
|
+
* Returns true if the given object is an instance of AiGovernance. This is designed to work even
|
|
17
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
18
|
+
*/
|
|
19
|
+
static isInstance(obj: any): obj is AiGovernance;
|
|
20
|
+
readonly aiEnabled: pulumi.Output<boolean>;
|
|
21
|
+
readonly config: pulumi.Output<outputs.AiGovernanceConfig>;
|
|
22
|
+
readonly mandatoryFilterPolicies: pulumi.Output<string[]>;
|
|
23
|
+
readonly mandatoryGuardrailPreset: pulumi.Output<string>;
|
|
24
|
+
readonly modelLists: pulumi.Output<string[]>;
|
|
25
|
+
readonly modelPolicy: pulumi.Output<string>;
|
|
26
|
+
readonly orgId: pulumi.Output<string>;
|
|
27
|
+
/**
|
|
28
|
+
* The organisation ID
|
|
29
|
+
*/
|
|
30
|
+
readonly organisation: pulumi.Output<string>;
|
|
31
|
+
readonly spendLimits: pulumi.Output<outputs.AiGovernanceSpendLimits>;
|
|
32
|
+
readonly success: pulumi.Output<boolean>;
|
|
33
|
+
readonly version: pulumi.Output<number>;
|
|
34
|
+
/**
|
|
35
|
+
* Create a AiGovernance resource with the given unique name, arguments, and options.
|
|
36
|
+
*
|
|
37
|
+
* @param name The _unique_ name of the resource.
|
|
38
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
39
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
40
|
+
*/
|
|
41
|
+
constructor(name: string, args: AiGovernanceArgs, opts?: pulumi.CustomResourceOptions);
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* Input properties used for looking up and filtering AiGovernance resources.
|
|
45
|
+
*/
|
|
46
|
+
export interface AiGovernanceState {
|
|
47
|
+
aiEnabled?: pulumi.Input<boolean>;
|
|
48
|
+
config?: pulumi.Input<inputs.AiGovernanceConfig>;
|
|
49
|
+
mandatoryFilterPolicies?: pulumi.Input<pulumi.Input<string>[]>;
|
|
50
|
+
mandatoryGuardrailPreset?: pulumi.Input<string>;
|
|
51
|
+
modelLists?: pulumi.Input<pulumi.Input<string>[]>;
|
|
52
|
+
modelPolicy?: pulumi.Input<string>;
|
|
53
|
+
orgId?: pulumi.Input<string>;
|
|
54
|
+
/**
|
|
55
|
+
* The organisation ID
|
|
56
|
+
*/
|
|
57
|
+
organisation?: pulumi.Input<string>;
|
|
58
|
+
spendLimits?: pulumi.Input<inputs.AiGovernanceSpendLimits>;
|
|
59
|
+
success?: pulumi.Input<boolean>;
|
|
60
|
+
version?: pulumi.Input<number>;
|
|
61
|
+
}
|
|
62
|
+
/**
|
|
63
|
+
* The set of arguments for constructing a AiGovernance resource.
|
|
64
|
+
*/
|
|
65
|
+
export interface AiGovernanceArgs {
|
|
66
|
+
aiEnabled: pulumi.Input<boolean>;
|
|
67
|
+
mandatoryFilterPolicies?: pulumi.Input<pulumi.Input<string>[]>;
|
|
68
|
+
mandatoryGuardrailPreset?: pulumi.Input<string>;
|
|
69
|
+
modelLists?: pulumi.Input<pulumi.Input<string>[]>;
|
|
70
|
+
modelPolicy: pulumi.Input<string>;
|
|
71
|
+
/**
|
|
72
|
+
* The organisation ID
|
|
73
|
+
*/
|
|
74
|
+
organisation?: pulumi.Input<string>;
|
|
75
|
+
spendLimits?: pulumi.Input<inputs.AiGovernanceSpendLimits>;
|
|
76
|
+
version?: pulumi.Input<number>;
|
|
77
|
+
}
|
package/aiGovernance.js
ADDED
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
|
|
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.AiGovernance = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
class AiGovernance extends pulumi.CustomResource {
|
|
9
|
+
/**
|
|
10
|
+
* Get an existing AiGovernance resource's state with the given name, ID, and optional extra
|
|
11
|
+
* properties used to qualify the lookup.
|
|
12
|
+
*
|
|
13
|
+
* @param name The _unique_ name of the resulting resource.
|
|
14
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
15
|
+
* @param state Any extra arguments used during the lookup.
|
|
16
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
17
|
+
*/
|
|
18
|
+
static get(name, id, state, opts) {
|
|
19
|
+
return new AiGovernance(name, state, { ...opts, id: id });
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* Returns true if the given object is an instance of AiGovernance. This is designed to work even
|
|
23
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
24
|
+
*/
|
|
25
|
+
static isInstance(obj) {
|
|
26
|
+
if (obj === undefined || obj === null) {
|
|
27
|
+
return false;
|
|
28
|
+
}
|
|
29
|
+
return obj['__pulumiType'] === AiGovernance.__pulumiType;
|
|
30
|
+
}
|
|
31
|
+
constructor(name, argsOrState, opts) {
|
|
32
|
+
let resourceInputs = {};
|
|
33
|
+
opts = opts || {};
|
|
34
|
+
if (opts.id) {
|
|
35
|
+
const state = argsOrState;
|
|
36
|
+
resourceInputs["aiEnabled"] = state?.aiEnabled;
|
|
37
|
+
resourceInputs["config"] = state?.config;
|
|
38
|
+
resourceInputs["mandatoryFilterPolicies"] = state?.mandatoryFilterPolicies;
|
|
39
|
+
resourceInputs["mandatoryGuardrailPreset"] = state?.mandatoryGuardrailPreset;
|
|
40
|
+
resourceInputs["modelLists"] = state?.modelLists;
|
|
41
|
+
resourceInputs["modelPolicy"] = state?.modelPolicy;
|
|
42
|
+
resourceInputs["orgId"] = state?.orgId;
|
|
43
|
+
resourceInputs["organisation"] = state?.organisation;
|
|
44
|
+
resourceInputs["spendLimits"] = state?.spendLimits;
|
|
45
|
+
resourceInputs["success"] = state?.success;
|
|
46
|
+
resourceInputs["version"] = state?.version;
|
|
47
|
+
}
|
|
48
|
+
else {
|
|
49
|
+
const args = argsOrState;
|
|
50
|
+
if (args?.aiEnabled === undefined && !opts.urn) {
|
|
51
|
+
throw new Error("Missing required property 'aiEnabled'");
|
|
52
|
+
}
|
|
53
|
+
if (args?.modelPolicy === undefined && !opts.urn) {
|
|
54
|
+
throw new Error("Missing required property 'modelPolicy'");
|
|
55
|
+
}
|
|
56
|
+
resourceInputs["aiEnabled"] = args?.aiEnabled;
|
|
57
|
+
resourceInputs["mandatoryFilterPolicies"] = args?.mandatoryFilterPolicies;
|
|
58
|
+
resourceInputs["mandatoryGuardrailPreset"] = args?.mandatoryGuardrailPreset;
|
|
59
|
+
resourceInputs["modelLists"] = args?.modelLists;
|
|
60
|
+
resourceInputs["modelPolicy"] = args?.modelPolicy;
|
|
61
|
+
resourceInputs["organisation"] = args?.organisation;
|
|
62
|
+
resourceInputs["spendLimits"] = args?.spendLimits;
|
|
63
|
+
resourceInputs["version"] = args?.version;
|
|
64
|
+
resourceInputs["config"] = undefined /*out*/;
|
|
65
|
+
resourceInputs["orgId"] = undefined /*out*/;
|
|
66
|
+
resourceInputs["success"] = undefined /*out*/;
|
|
67
|
+
}
|
|
68
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
69
|
+
super(AiGovernance.__pulumiType, name, resourceInputs, opts);
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
exports.AiGovernance = AiGovernance;
|
|
73
|
+
/** @internal */
|
|
74
|
+
AiGovernance.__pulumiType = 'quant:index:AiGovernance';
|
|
75
|
+
//# sourceMappingURL=aiGovernance.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"aiGovernance.js","sourceRoot":"","sources":["../aiGovernance.ts"],"names":[],"mappings":";A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AAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,YAAY,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACjE,CAAC;;AAzFL,oCA0FC;AA5EG,gBAAgB;AACO,yBAAY,GAAG,0BAA0B,CAAC"}
|
package/aiSkill.d.ts
ADDED
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as inputs from "./types/input";
|
|
3
|
+
import * as outputs from "./types/output";
|
|
4
|
+
export declare class AiSkill extends pulumi.CustomResource {
|
|
5
|
+
/**
|
|
6
|
+
* Get an existing AiSkill resource's state with the given name, ID, and optional extra
|
|
7
|
+
* properties used to qualify the lookup.
|
|
8
|
+
*
|
|
9
|
+
* @param name The _unique_ name of the resulting resource.
|
|
10
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
11
|
+
* @param state Any extra arguments used during the lookup.
|
|
12
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
13
|
+
*/
|
|
14
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: AiSkillState, opts?: pulumi.CustomResourceOptions): AiSkill;
|
|
15
|
+
/**
|
|
16
|
+
* Returns true if the given object is an instance of AiSkill. This is designed to work even
|
|
17
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
18
|
+
*/
|
|
19
|
+
static isInstance(obj: any): obj is AiSkill;
|
|
20
|
+
readonly allowedTools: pulumi.Output<string[]>;
|
|
21
|
+
readonly content: pulumi.Output<string>;
|
|
22
|
+
readonly description: pulumi.Output<string>;
|
|
23
|
+
readonly disableModelInvocation: pulumi.Output<boolean>;
|
|
24
|
+
readonly files: pulumi.Output<outputs.AiSkillFiles>;
|
|
25
|
+
readonly installedBy: pulumi.Output<string>;
|
|
26
|
+
readonly message: pulumi.Output<string>;
|
|
27
|
+
readonly name: pulumi.Output<string>;
|
|
28
|
+
readonly namespace: pulumi.Output<string>;
|
|
29
|
+
/**
|
|
30
|
+
* The organisation ID
|
|
31
|
+
*/
|
|
32
|
+
readonly organisation: pulumi.Output<string>;
|
|
33
|
+
readonly requiredTools: pulumi.Output<string[]>;
|
|
34
|
+
readonly skill: pulumi.Output<outputs.AiSkillSkill>;
|
|
35
|
+
/**
|
|
36
|
+
* The skill ID
|
|
37
|
+
*/
|
|
38
|
+
readonly skillId: pulumi.Output<string>;
|
|
39
|
+
readonly success: pulumi.Output<boolean>;
|
|
40
|
+
readonly tags: pulumi.Output<string[]>;
|
|
41
|
+
readonly triggerCondition: pulumi.Output<string>;
|
|
42
|
+
/**
|
|
43
|
+
* Create a AiSkill resource with the given unique name, arguments, and options.
|
|
44
|
+
*
|
|
45
|
+
* @param name The _unique_ name of the resource.
|
|
46
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
47
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
48
|
+
*/
|
|
49
|
+
constructor(name: string, args: AiSkillArgs, opts?: pulumi.CustomResourceOptions);
|
|
50
|
+
}
|
|
51
|
+
/**
|
|
52
|
+
* Input properties used for looking up and filtering AiSkill resources.
|
|
53
|
+
*/
|
|
54
|
+
export interface AiSkillState {
|
|
55
|
+
allowedTools?: pulumi.Input<pulumi.Input<string>[]>;
|
|
56
|
+
content?: pulumi.Input<string>;
|
|
57
|
+
description?: pulumi.Input<string>;
|
|
58
|
+
disableModelInvocation?: pulumi.Input<boolean>;
|
|
59
|
+
files?: pulumi.Input<inputs.AiSkillFiles>;
|
|
60
|
+
installedBy?: pulumi.Input<string>;
|
|
61
|
+
message?: pulumi.Input<string>;
|
|
62
|
+
name?: pulumi.Input<string>;
|
|
63
|
+
namespace?: pulumi.Input<string>;
|
|
64
|
+
/**
|
|
65
|
+
* The organisation ID
|
|
66
|
+
*/
|
|
67
|
+
organisation?: pulumi.Input<string>;
|
|
68
|
+
requiredTools?: pulumi.Input<pulumi.Input<string>[]>;
|
|
69
|
+
skill?: pulumi.Input<inputs.AiSkillSkill>;
|
|
70
|
+
/**
|
|
71
|
+
* The skill ID
|
|
72
|
+
*/
|
|
73
|
+
skillId?: pulumi.Input<string>;
|
|
74
|
+
success?: pulumi.Input<boolean>;
|
|
75
|
+
tags?: pulumi.Input<pulumi.Input<string>[]>;
|
|
76
|
+
triggerCondition?: pulumi.Input<string>;
|
|
77
|
+
}
|
|
78
|
+
/**
|
|
79
|
+
* The set of arguments for constructing a AiSkill resource.
|
|
80
|
+
*/
|
|
81
|
+
export interface AiSkillArgs {
|
|
82
|
+
allowedTools?: pulumi.Input<pulumi.Input<string>[]>;
|
|
83
|
+
content: pulumi.Input<string>;
|
|
84
|
+
description?: pulumi.Input<string>;
|
|
85
|
+
disableModelInvocation?: pulumi.Input<boolean>;
|
|
86
|
+
files?: pulumi.Input<inputs.AiSkillFiles>;
|
|
87
|
+
installedBy?: pulumi.Input<string>;
|
|
88
|
+
name?: pulumi.Input<string>;
|
|
89
|
+
namespace?: pulumi.Input<string>;
|
|
90
|
+
/**
|
|
91
|
+
* The organisation ID
|
|
92
|
+
*/
|
|
93
|
+
organisation?: pulumi.Input<string>;
|
|
94
|
+
requiredTools?: pulumi.Input<pulumi.Input<string>[]>;
|
|
95
|
+
/**
|
|
96
|
+
* The skill ID
|
|
97
|
+
*/
|
|
98
|
+
skillId?: pulumi.Input<string>;
|
|
99
|
+
tags?: pulumi.Input<pulumi.Input<string>[]>;
|
|
100
|
+
triggerCondition: pulumi.Input<string>;
|
|
101
|
+
}
|
package/aiSkill.js
ADDED
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
|
|
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.AiSkill = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
class AiSkill extends pulumi.CustomResource {
|
|
9
|
+
/**
|
|
10
|
+
* Get an existing AiSkill resource's state with the given name, ID, and optional extra
|
|
11
|
+
* properties used to qualify the lookup.
|
|
12
|
+
*
|
|
13
|
+
* @param name The _unique_ name of the resulting resource.
|
|
14
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
15
|
+
* @param state Any extra arguments used during the lookup.
|
|
16
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
17
|
+
*/
|
|
18
|
+
static get(name, id, state, opts) {
|
|
19
|
+
return new AiSkill(name, state, { ...opts, id: id });
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* Returns true if the given object is an instance of AiSkill. This is designed to work even
|
|
23
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
24
|
+
*/
|
|
25
|
+
static isInstance(obj) {
|
|
26
|
+
if (obj === undefined || obj === null) {
|
|
27
|
+
return false;
|
|
28
|
+
}
|
|
29
|
+
return obj['__pulumiType'] === AiSkill.__pulumiType;
|
|
30
|
+
}
|
|
31
|
+
constructor(name, argsOrState, opts) {
|
|
32
|
+
let resourceInputs = {};
|
|
33
|
+
opts = opts || {};
|
|
34
|
+
if (opts.id) {
|
|
35
|
+
const state = argsOrState;
|
|
36
|
+
resourceInputs["allowedTools"] = state?.allowedTools;
|
|
37
|
+
resourceInputs["content"] = state?.content;
|
|
38
|
+
resourceInputs["description"] = state?.description;
|
|
39
|
+
resourceInputs["disableModelInvocation"] = state?.disableModelInvocation;
|
|
40
|
+
resourceInputs["files"] = state?.files;
|
|
41
|
+
resourceInputs["installedBy"] = state?.installedBy;
|
|
42
|
+
resourceInputs["message"] = state?.message;
|
|
43
|
+
resourceInputs["name"] = state?.name;
|
|
44
|
+
resourceInputs["namespace"] = state?.namespace;
|
|
45
|
+
resourceInputs["organisation"] = state?.organisation;
|
|
46
|
+
resourceInputs["requiredTools"] = state?.requiredTools;
|
|
47
|
+
resourceInputs["skill"] = state?.skill;
|
|
48
|
+
resourceInputs["skillId"] = state?.skillId;
|
|
49
|
+
resourceInputs["success"] = state?.success;
|
|
50
|
+
resourceInputs["tags"] = state?.tags;
|
|
51
|
+
resourceInputs["triggerCondition"] = state?.triggerCondition;
|
|
52
|
+
}
|
|
53
|
+
else {
|
|
54
|
+
const args = argsOrState;
|
|
55
|
+
if (args?.content === undefined && !opts.urn) {
|
|
56
|
+
throw new Error("Missing required property 'content'");
|
|
57
|
+
}
|
|
58
|
+
if (args?.triggerCondition === undefined && !opts.urn) {
|
|
59
|
+
throw new Error("Missing required property 'triggerCondition'");
|
|
60
|
+
}
|
|
61
|
+
resourceInputs["allowedTools"] = args?.allowedTools;
|
|
62
|
+
resourceInputs["content"] = args?.content;
|
|
63
|
+
resourceInputs["description"] = args?.description;
|
|
64
|
+
resourceInputs["disableModelInvocation"] = args?.disableModelInvocation;
|
|
65
|
+
resourceInputs["files"] = args?.files;
|
|
66
|
+
resourceInputs["installedBy"] = args?.installedBy;
|
|
67
|
+
resourceInputs["name"] = args?.name;
|
|
68
|
+
resourceInputs["namespace"] = args?.namespace;
|
|
69
|
+
resourceInputs["organisation"] = args?.organisation;
|
|
70
|
+
resourceInputs["requiredTools"] = args?.requiredTools;
|
|
71
|
+
resourceInputs["skillId"] = args?.skillId;
|
|
72
|
+
resourceInputs["tags"] = args?.tags;
|
|
73
|
+
resourceInputs["triggerCondition"] = args?.triggerCondition;
|
|
74
|
+
resourceInputs["message"] = undefined /*out*/;
|
|
75
|
+
resourceInputs["skill"] = undefined /*out*/;
|
|
76
|
+
resourceInputs["success"] = undefined /*out*/;
|
|
77
|
+
}
|
|
78
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
79
|
+
super(AiSkill.__pulumiType, name, resourceInputs, opts);
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
exports.AiSkill = AiSkill;
|
|
83
|
+
/** @internal */
|
|
84
|
+
AiSkill.__pulumiType = 'quant:index:AiSkill';
|
|
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