@quantcdn/pulumi-quant 5.5.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/volume.d.ts
ADDED
|
@@ -0,0 +1,130 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
export declare class Volume extends pulumi.CustomResource {
|
|
3
|
+
/**
|
|
4
|
+
* Get an existing Volume resource's state with the given name, ID, and optional extra
|
|
5
|
+
* properties used to qualify the lookup.
|
|
6
|
+
*
|
|
7
|
+
* @param name The _unique_ name of the resulting resource.
|
|
8
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
9
|
+
* @param state Any extra arguments used during the lookup.
|
|
10
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
11
|
+
*/
|
|
12
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: VolumeState, opts?: pulumi.CustomResourceOptions): Volume;
|
|
13
|
+
/**
|
|
14
|
+
* Returns true if the given object is an instance of Volume. This is designed to work even
|
|
15
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
16
|
+
*/
|
|
17
|
+
static isInstance(obj: any): obj is Volume;
|
|
18
|
+
readonly accessPointArn: pulumi.Output<string>;
|
|
19
|
+
readonly accessPointId: pulumi.Output<string>;
|
|
20
|
+
/**
|
|
21
|
+
* The application ID
|
|
22
|
+
*/
|
|
23
|
+
readonly application: pulumi.Output<string>;
|
|
24
|
+
readonly createdAt: pulumi.Output<string>;
|
|
25
|
+
/**
|
|
26
|
+
* Volume description
|
|
27
|
+
*/
|
|
28
|
+
readonly description: pulumi.Output<string>;
|
|
29
|
+
/**
|
|
30
|
+
* The environment ID
|
|
31
|
+
*/
|
|
32
|
+
readonly environment: pulumi.Output<string>;
|
|
33
|
+
readonly environmentEfsId: pulumi.Output<string>;
|
|
34
|
+
/**
|
|
35
|
+
* The organisation ID
|
|
36
|
+
*/
|
|
37
|
+
readonly organisation: pulumi.Output<string>;
|
|
38
|
+
/**
|
|
39
|
+
* Root directory path
|
|
40
|
+
*/
|
|
41
|
+
readonly rootDirectory: pulumi.Output<string>;
|
|
42
|
+
/**
|
|
43
|
+
* The volume ID
|
|
44
|
+
*/
|
|
45
|
+
readonly volume: pulumi.Output<string>;
|
|
46
|
+
readonly volumeId: pulumi.Output<string>;
|
|
47
|
+
/**
|
|
48
|
+
* Volume name
|
|
49
|
+
*/
|
|
50
|
+
readonly volumeName: pulumi.Output<string>;
|
|
51
|
+
/**
|
|
52
|
+
* Create a Volume resource with the given unique name, arguments, and options.
|
|
53
|
+
*
|
|
54
|
+
* @param name The _unique_ name of the resource.
|
|
55
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
56
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
57
|
+
*/
|
|
58
|
+
constructor(name: string, args: VolumeArgs, opts?: pulumi.CustomResourceOptions);
|
|
59
|
+
}
|
|
60
|
+
/**
|
|
61
|
+
* Input properties used for looking up and filtering Volume resources.
|
|
62
|
+
*/
|
|
63
|
+
export interface VolumeState {
|
|
64
|
+
accessPointArn?: pulumi.Input<string>;
|
|
65
|
+
accessPointId?: pulumi.Input<string>;
|
|
66
|
+
/**
|
|
67
|
+
* The application ID
|
|
68
|
+
*/
|
|
69
|
+
application?: pulumi.Input<string>;
|
|
70
|
+
createdAt?: pulumi.Input<string>;
|
|
71
|
+
/**
|
|
72
|
+
* Volume description
|
|
73
|
+
*/
|
|
74
|
+
description?: pulumi.Input<string>;
|
|
75
|
+
/**
|
|
76
|
+
* The environment ID
|
|
77
|
+
*/
|
|
78
|
+
environment?: pulumi.Input<string>;
|
|
79
|
+
environmentEfsId?: pulumi.Input<string>;
|
|
80
|
+
/**
|
|
81
|
+
* The organisation ID
|
|
82
|
+
*/
|
|
83
|
+
organisation?: pulumi.Input<string>;
|
|
84
|
+
/**
|
|
85
|
+
* Root directory path
|
|
86
|
+
*/
|
|
87
|
+
rootDirectory?: pulumi.Input<string>;
|
|
88
|
+
/**
|
|
89
|
+
* The volume ID
|
|
90
|
+
*/
|
|
91
|
+
volume?: pulumi.Input<string>;
|
|
92
|
+
volumeId?: pulumi.Input<string>;
|
|
93
|
+
/**
|
|
94
|
+
* Volume name
|
|
95
|
+
*/
|
|
96
|
+
volumeName?: pulumi.Input<string>;
|
|
97
|
+
}
|
|
98
|
+
/**
|
|
99
|
+
* The set of arguments for constructing a Volume resource.
|
|
100
|
+
*/
|
|
101
|
+
export interface VolumeArgs {
|
|
102
|
+
/**
|
|
103
|
+
* The application ID
|
|
104
|
+
*/
|
|
105
|
+
application?: pulumi.Input<string>;
|
|
106
|
+
/**
|
|
107
|
+
* Volume description
|
|
108
|
+
*/
|
|
109
|
+
description?: pulumi.Input<string>;
|
|
110
|
+
/**
|
|
111
|
+
* The environment ID
|
|
112
|
+
*/
|
|
113
|
+
environment?: pulumi.Input<string>;
|
|
114
|
+
/**
|
|
115
|
+
* The organisation ID
|
|
116
|
+
*/
|
|
117
|
+
organisation?: pulumi.Input<string>;
|
|
118
|
+
/**
|
|
119
|
+
* Root directory path
|
|
120
|
+
*/
|
|
121
|
+
rootDirectory?: pulumi.Input<string>;
|
|
122
|
+
/**
|
|
123
|
+
* The volume ID
|
|
124
|
+
*/
|
|
125
|
+
volume?: pulumi.Input<string>;
|
|
126
|
+
/**
|
|
127
|
+
* Volume name
|
|
128
|
+
*/
|
|
129
|
+
volumeName: pulumi.Input<string>;
|
|
130
|
+
}
|
package/volume.js
ADDED
|
@@ -0,0 +1,74 @@
|
|
|
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.Volume = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
class Volume extends pulumi.CustomResource {
|
|
9
|
+
/**
|
|
10
|
+
* Get an existing Volume 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 Volume(name, state, { ...opts, id: id });
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* Returns true if the given object is an instance of Volume. 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'] === Volume.__pulumiType;
|
|
30
|
+
}
|
|
31
|
+
constructor(name, argsOrState, opts) {
|
|
32
|
+
let resourceInputs = {};
|
|
33
|
+
opts = opts || {};
|
|
34
|
+
if (opts.id) {
|
|
35
|
+
const state = argsOrState;
|
|
36
|
+
resourceInputs["accessPointArn"] = state?.accessPointArn;
|
|
37
|
+
resourceInputs["accessPointId"] = state?.accessPointId;
|
|
38
|
+
resourceInputs["application"] = state?.application;
|
|
39
|
+
resourceInputs["createdAt"] = state?.createdAt;
|
|
40
|
+
resourceInputs["description"] = state?.description;
|
|
41
|
+
resourceInputs["environment"] = state?.environment;
|
|
42
|
+
resourceInputs["environmentEfsId"] = state?.environmentEfsId;
|
|
43
|
+
resourceInputs["organisation"] = state?.organisation;
|
|
44
|
+
resourceInputs["rootDirectory"] = state?.rootDirectory;
|
|
45
|
+
resourceInputs["volume"] = state?.volume;
|
|
46
|
+
resourceInputs["volumeId"] = state?.volumeId;
|
|
47
|
+
resourceInputs["volumeName"] = state?.volumeName;
|
|
48
|
+
}
|
|
49
|
+
else {
|
|
50
|
+
const args = argsOrState;
|
|
51
|
+
if (args?.volumeName === undefined && !opts.urn) {
|
|
52
|
+
throw new Error("Missing required property 'volumeName'");
|
|
53
|
+
}
|
|
54
|
+
resourceInputs["application"] = args?.application;
|
|
55
|
+
resourceInputs["description"] = args?.description;
|
|
56
|
+
resourceInputs["environment"] = args?.environment;
|
|
57
|
+
resourceInputs["organisation"] = args?.organisation;
|
|
58
|
+
resourceInputs["rootDirectory"] = args?.rootDirectory;
|
|
59
|
+
resourceInputs["volume"] = args?.volume;
|
|
60
|
+
resourceInputs["volumeName"] = args?.volumeName;
|
|
61
|
+
resourceInputs["accessPointArn"] = undefined /*out*/;
|
|
62
|
+
resourceInputs["accessPointId"] = undefined /*out*/;
|
|
63
|
+
resourceInputs["createdAt"] = undefined /*out*/;
|
|
64
|
+
resourceInputs["environmentEfsId"] = undefined /*out*/;
|
|
65
|
+
resourceInputs["volumeId"] = undefined /*out*/;
|
|
66
|
+
}
|
|
67
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
68
|
+
super(Volume.__pulumiType, name, resourceInputs, opts);
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
exports.Volume = Volume;
|
|
72
|
+
/** @internal */
|
|
73
|
+
Volume.__pulumiType = 'quant:index:Volume';
|
|
74
|
+
//# sourceMappingURL=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CAAC,UAAU,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAClD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,MAAM,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC3D,CAAC;;AA3GL,wBA4GC;AA9FG,gBAAgB;AACO,mBAAY,GAAG,oBAAoB,CAAC"}
|
package/.gitattributes
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
* linguist-generated
|
package/aiAgent.ts
DELETED
|
@@ -1,233 +0,0 @@
|
|
|
1
|
-
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
|
|
2
|
-
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
3
|
-
|
|
4
|
-
import * as pulumi from "@pulumi/pulumi";
|
|
5
|
-
import * as inputs from "./types/input";
|
|
6
|
-
import * as outputs from "./types/output";
|
|
7
|
-
import * as utilities from "./utilities";
|
|
8
|
-
|
|
9
|
-
export class AiAgent extends pulumi.CustomResource {
|
|
10
|
-
/**
|
|
11
|
-
* Get an existing AiAgent resource's state with the given name, ID, and optional extra
|
|
12
|
-
* properties used to qualify the lookup.
|
|
13
|
-
*
|
|
14
|
-
* @param name The _unique_ name of the resulting resource.
|
|
15
|
-
* @param id The _unique_ provider ID of the resource to lookup.
|
|
16
|
-
* @param state Any extra arguments used during the lookup.
|
|
17
|
-
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
18
|
-
*/
|
|
19
|
-
public static get(name: string, id: pulumi.Input<pulumi.ID>, state?: AiAgentState, opts?: pulumi.CustomResourceOptions): AiAgent {
|
|
20
|
-
return new AiAgent(name, <any>state, { ...opts, id: id });
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
/** @internal */
|
|
24
|
-
public static readonly __pulumiType = 'quant:index:AiAgent';
|
|
25
|
-
|
|
26
|
-
/**
|
|
27
|
-
* Returns true if the given object is an instance of AiAgent. This is designed to work even
|
|
28
|
-
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
29
|
-
*/
|
|
30
|
-
public static isInstance(obj: any): obj is AiAgent {
|
|
31
|
-
if (obj === undefined || obj === null) {
|
|
32
|
-
return false;
|
|
33
|
-
}
|
|
34
|
-
return obj['__pulumiType'] === AiAgent.__pulumiType;
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
declare public /*out*/ readonly agent: pulumi.Output<outputs.AiAgentAgent>;
|
|
38
|
-
/**
|
|
39
|
-
* The agent ID
|
|
40
|
-
*/
|
|
41
|
-
declare public readonly agentId: pulumi.Output<string>;
|
|
42
|
-
declare public readonly allowedCollections: pulumi.Output<string[]>;
|
|
43
|
-
declare public readonly allowedTools: pulumi.Output<string[]>;
|
|
44
|
-
/**
|
|
45
|
-
* Skill IDs to assign to this agent
|
|
46
|
-
*/
|
|
47
|
-
declare public readonly assignedSkills: pulumi.Output<string[]>;
|
|
48
|
-
/**
|
|
49
|
-
* User identifier who created the agent
|
|
50
|
-
*/
|
|
51
|
-
declare public readonly createdBy: pulumi.Output<string>;
|
|
52
|
-
declare public readonly description: pulumi.Output<string>;
|
|
53
|
-
/**
|
|
54
|
-
* Filter policy IDs to apply to this agent's inference requests
|
|
55
|
-
*/
|
|
56
|
-
declare public readonly filterPolicies: pulumi.Output<string[]>;
|
|
57
|
-
declare public readonly group: pulumi.Output<string>;
|
|
58
|
-
/**
|
|
59
|
-
* Guardrail preset name
|
|
60
|
-
*/
|
|
61
|
-
declare public readonly guardrailPreset: pulumi.Output<string>;
|
|
62
|
-
/**
|
|
63
|
-
* Enable 1M context window support
|
|
64
|
-
*/
|
|
65
|
-
declare public readonly longContext: pulumi.Output<boolean>;
|
|
66
|
-
declare public readonly maxTokens: pulumi.Output<number>;
|
|
67
|
-
declare public /*out*/ readonly message: pulumi.Output<string>;
|
|
68
|
-
declare public readonly modelId: pulumi.Output<string>;
|
|
69
|
-
declare public readonly name: pulumi.Output<string>;
|
|
70
|
-
/**
|
|
71
|
-
* The organisation ID
|
|
72
|
-
*/
|
|
73
|
-
declare public readonly organisation: pulumi.Output<string>;
|
|
74
|
-
declare public /*out*/ readonly success: pulumi.Output<boolean>;
|
|
75
|
-
declare public readonly systemPrompt: pulumi.Output<string>;
|
|
76
|
-
declare public readonly temperature: pulumi.Output<number>;
|
|
77
|
-
|
|
78
|
-
/**
|
|
79
|
-
* Create a AiAgent resource with the given unique name, arguments, and options.
|
|
80
|
-
*
|
|
81
|
-
* @param name The _unique_ name of the resource.
|
|
82
|
-
* @param args The arguments to use to populate this resource's properties.
|
|
83
|
-
* @param opts A bag of options that control this resource's behavior.
|
|
84
|
-
*/
|
|
85
|
-
constructor(name: string, args: AiAgentArgs, opts?: pulumi.CustomResourceOptions)
|
|
86
|
-
constructor(name: string, argsOrState?: AiAgentArgs | AiAgentState, opts?: pulumi.CustomResourceOptions) {
|
|
87
|
-
let resourceInputs: pulumi.Inputs = {};
|
|
88
|
-
opts = opts || {};
|
|
89
|
-
if (opts.id) {
|
|
90
|
-
const state = argsOrState as AiAgentState | undefined;
|
|
91
|
-
resourceInputs["agent"] = state?.agent;
|
|
92
|
-
resourceInputs["agentId"] = state?.agentId;
|
|
93
|
-
resourceInputs["allowedCollections"] = state?.allowedCollections;
|
|
94
|
-
resourceInputs["allowedTools"] = state?.allowedTools;
|
|
95
|
-
resourceInputs["assignedSkills"] = state?.assignedSkills;
|
|
96
|
-
resourceInputs["createdBy"] = state?.createdBy;
|
|
97
|
-
resourceInputs["description"] = state?.description;
|
|
98
|
-
resourceInputs["filterPolicies"] = state?.filterPolicies;
|
|
99
|
-
resourceInputs["group"] = state?.group;
|
|
100
|
-
resourceInputs["guardrailPreset"] = state?.guardrailPreset;
|
|
101
|
-
resourceInputs["longContext"] = state?.longContext;
|
|
102
|
-
resourceInputs["maxTokens"] = state?.maxTokens;
|
|
103
|
-
resourceInputs["message"] = state?.message;
|
|
104
|
-
resourceInputs["modelId"] = state?.modelId;
|
|
105
|
-
resourceInputs["name"] = state?.name;
|
|
106
|
-
resourceInputs["organisation"] = state?.organisation;
|
|
107
|
-
resourceInputs["success"] = state?.success;
|
|
108
|
-
resourceInputs["systemPrompt"] = state?.systemPrompt;
|
|
109
|
-
resourceInputs["temperature"] = state?.temperature;
|
|
110
|
-
} else {
|
|
111
|
-
const args = argsOrState as AiAgentArgs | undefined;
|
|
112
|
-
if (args?.description === undefined && !opts.urn) {
|
|
113
|
-
throw new Error("Missing required property 'description'");
|
|
114
|
-
}
|
|
115
|
-
if (args?.modelId === undefined && !opts.urn) {
|
|
116
|
-
throw new Error("Missing required property 'modelId'");
|
|
117
|
-
}
|
|
118
|
-
if (args?.systemPrompt === undefined && !opts.urn) {
|
|
119
|
-
throw new Error("Missing required property 'systemPrompt'");
|
|
120
|
-
}
|
|
121
|
-
resourceInputs["agentId"] = args?.agentId;
|
|
122
|
-
resourceInputs["allowedCollections"] = args?.allowedCollections;
|
|
123
|
-
resourceInputs["allowedTools"] = args?.allowedTools;
|
|
124
|
-
resourceInputs["assignedSkills"] = args?.assignedSkills;
|
|
125
|
-
resourceInputs["createdBy"] = args?.createdBy;
|
|
126
|
-
resourceInputs["description"] = args?.description;
|
|
127
|
-
resourceInputs["filterPolicies"] = args?.filterPolicies;
|
|
128
|
-
resourceInputs["group"] = args?.group;
|
|
129
|
-
resourceInputs["guardrailPreset"] = args?.guardrailPreset;
|
|
130
|
-
resourceInputs["longContext"] = args?.longContext;
|
|
131
|
-
resourceInputs["maxTokens"] = args?.maxTokens;
|
|
132
|
-
resourceInputs["modelId"] = args?.modelId;
|
|
133
|
-
resourceInputs["name"] = args?.name;
|
|
134
|
-
resourceInputs["organisation"] = args?.organisation;
|
|
135
|
-
resourceInputs["systemPrompt"] = args?.systemPrompt;
|
|
136
|
-
resourceInputs["temperature"] = args?.temperature;
|
|
137
|
-
resourceInputs["agent"] = undefined /*out*/;
|
|
138
|
-
resourceInputs["message"] = undefined /*out*/;
|
|
139
|
-
resourceInputs["success"] = undefined /*out*/;
|
|
140
|
-
}
|
|
141
|
-
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
142
|
-
super(AiAgent.__pulumiType, name, resourceInputs, opts);
|
|
143
|
-
}
|
|
144
|
-
}
|
|
145
|
-
|
|
146
|
-
/**
|
|
147
|
-
* Input properties used for looking up and filtering AiAgent resources.
|
|
148
|
-
*/
|
|
149
|
-
export interface AiAgentState {
|
|
150
|
-
agent?: pulumi.Input<inputs.AiAgentAgent>;
|
|
151
|
-
/**
|
|
152
|
-
* The agent ID
|
|
153
|
-
*/
|
|
154
|
-
agentId?: pulumi.Input<string>;
|
|
155
|
-
allowedCollections?: pulumi.Input<pulumi.Input<string>[]>;
|
|
156
|
-
allowedTools?: pulumi.Input<pulumi.Input<string>[]>;
|
|
157
|
-
/**
|
|
158
|
-
* Skill IDs to assign to this agent
|
|
159
|
-
*/
|
|
160
|
-
assignedSkills?: pulumi.Input<pulumi.Input<string>[]>;
|
|
161
|
-
/**
|
|
162
|
-
* User identifier who created the agent
|
|
163
|
-
*/
|
|
164
|
-
createdBy?: pulumi.Input<string>;
|
|
165
|
-
description?: pulumi.Input<string>;
|
|
166
|
-
/**
|
|
167
|
-
* Filter policy IDs to apply to this agent's inference requests
|
|
168
|
-
*/
|
|
169
|
-
filterPolicies?: pulumi.Input<pulumi.Input<string>[]>;
|
|
170
|
-
group?: pulumi.Input<string>;
|
|
171
|
-
/**
|
|
172
|
-
* Guardrail preset name
|
|
173
|
-
*/
|
|
174
|
-
guardrailPreset?: pulumi.Input<string>;
|
|
175
|
-
/**
|
|
176
|
-
* Enable 1M context window support
|
|
177
|
-
*/
|
|
178
|
-
longContext?: pulumi.Input<boolean>;
|
|
179
|
-
maxTokens?: pulumi.Input<number>;
|
|
180
|
-
message?: pulumi.Input<string>;
|
|
181
|
-
modelId?: pulumi.Input<string>;
|
|
182
|
-
name?: pulumi.Input<string>;
|
|
183
|
-
/**
|
|
184
|
-
* The organisation ID
|
|
185
|
-
*/
|
|
186
|
-
organisation?: pulumi.Input<string>;
|
|
187
|
-
success?: pulumi.Input<boolean>;
|
|
188
|
-
systemPrompt?: pulumi.Input<string>;
|
|
189
|
-
temperature?: pulumi.Input<number>;
|
|
190
|
-
}
|
|
191
|
-
|
|
192
|
-
/**
|
|
193
|
-
* The set of arguments for constructing a AiAgent resource.
|
|
194
|
-
*/
|
|
195
|
-
export interface AiAgentArgs {
|
|
196
|
-
/**
|
|
197
|
-
* The agent ID
|
|
198
|
-
*/
|
|
199
|
-
agentId?: pulumi.Input<string>;
|
|
200
|
-
allowedCollections?: pulumi.Input<pulumi.Input<string>[]>;
|
|
201
|
-
allowedTools?: pulumi.Input<pulumi.Input<string>[]>;
|
|
202
|
-
/**
|
|
203
|
-
* Skill IDs to assign to this agent
|
|
204
|
-
*/
|
|
205
|
-
assignedSkills?: pulumi.Input<pulumi.Input<string>[]>;
|
|
206
|
-
/**
|
|
207
|
-
* User identifier who created the agent
|
|
208
|
-
*/
|
|
209
|
-
createdBy?: pulumi.Input<string>;
|
|
210
|
-
description: pulumi.Input<string>;
|
|
211
|
-
/**
|
|
212
|
-
* Filter policy IDs to apply to this agent's inference requests
|
|
213
|
-
*/
|
|
214
|
-
filterPolicies?: pulumi.Input<pulumi.Input<string>[]>;
|
|
215
|
-
group?: pulumi.Input<string>;
|
|
216
|
-
/**
|
|
217
|
-
* Guardrail preset name
|
|
218
|
-
*/
|
|
219
|
-
guardrailPreset?: pulumi.Input<string>;
|
|
220
|
-
/**
|
|
221
|
-
* Enable 1M context window support
|
|
222
|
-
*/
|
|
223
|
-
longContext?: pulumi.Input<boolean>;
|
|
224
|
-
maxTokens?: pulumi.Input<number>;
|
|
225
|
-
modelId: pulumi.Input<string>;
|
|
226
|
-
name?: pulumi.Input<string>;
|
|
227
|
-
/**
|
|
228
|
-
* The organisation ID
|
|
229
|
-
*/
|
|
230
|
-
organisation?: pulumi.Input<string>;
|
|
231
|
-
systemPrompt: pulumi.Input<string>;
|
|
232
|
-
temperature?: pulumi.Input<number>;
|
|
233
|
-
}
|
package/aiGovernance.ts
DELETED
|
@@ -1,136 +0,0 @@
|
|
|
1
|
-
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
|
|
2
|
-
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
3
|
-
|
|
4
|
-
import * as pulumi from "@pulumi/pulumi";
|
|
5
|
-
import * as inputs from "./types/input";
|
|
6
|
-
import * as outputs from "./types/output";
|
|
7
|
-
import * as utilities from "./utilities";
|
|
8
|
-
|
|
9
|
-
export class AiGovernance extends pulumi.CustomResource {
|
|
10
|
-
/**
|
|
11
|
-
* Get an existing AiGovernance resource's state with the given name, ID, and optional extra
|
|
12
|
-
* properties used to qualify the lookup.
|
|
13
|
-
*
|
|
14
|
-
* @param name The _unique_ name of the resulting resource.
|
|
15
|
-
* @param id The _unique_ provider ID of the resource to lookup.
|
|
16
|
-
* @param state Any extra arguments used during the lookup.
|
|
17
|
-
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
18
|
-
*/
|
|
19
|
-
public static get(name: string, id: pulumi.Input<pulumi.ID>, state?: AiGovernanceState, opts?: pulumi.CustomResourceOptions): AiGovernance {
|
|
20
|
-
return new AiGovernance(name, <any>state, { ...opts, id: id });
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
/** @internal */
|
|
24
|
-
public static readonly __pulumiType = 'quant:index:AiGovernance';
|
|
25
|
-
|
|
26
|
-
/**
|
|
27
|
-
* Returns true if the given object is an instance of AiGovernance. This is designed to work even
|
|
28
|
-
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
29
|
-
*/
|
|
30
|
-
public static isInstance(obj: any): obj is AiGovernance {
|
|
31
|
-
if (obj === undefined || obj === null) {
|
|
32
|
-
return false;
|
|
33
|
-
}
|
|
34
|
-
return obj['__pulumiType'] === AiGovernance.__pulumiType;
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
declare public readonly aiEnabled: pulumi.Output<boolean>;
|
|
38
|
-
declare public /*out*/ readonly config: pulumi.Output<outputs.AiGovernanceConfig>;
|
|
39
|
-
declare public readonly mandatoryFilterPolicies: pulumi.Output<string[]>;
|
|
40
|
-
declare public readonly mandatoryGuardrailPreset: pulumi.Output<string>;
|
|
41
|
-
declare public readonly modelLists: pulumi.Output<string[]>;
|
|
42
|
-
declare public readonly modelPolicy: pulumi.Output<string>;
|
|
43
|
-
declare public /*out*/ readonly orgId: pulumi.Output<string>;
|
|
44
|
-
/**
|
|
45
|
-
* The organisation ID
|
|
46
|
-
*/
|
|
47
|
-
declare public readonly organisation: pulumi.Output<string>;
|
|
48
|
-
declare public readonly spendLimits: pulumi.Output<outputs.AiGovernanceSpendLimits>;
|
|
49
|
-
declare public /*out*/ readonly success: pulumi.Output<boolean>;
|
|
50
|
-
declare public readonly version: pulumi.Output<number>;
|
|
51
|
-
|
|
52
|
-
/**
|
|
53
|
-
* Create a AiGovernance resource with the given unique name, arguments, and options.
|
|
54
|
-
*
|
|
55
|
-
* @param name The _unique_ name of the resource.
|
|
56
|
-
* @param args The arguments to use to populate this resource's properties.
|
|
57
|
-
* @param opts A bag of options that control this resource's behavior.
|
|
58
|
-
*/
|
|
59
|
-
constructor(name: string, args: AiGovernanceArgs, opts?: pulumi.CustomResourceOptions)
|
|
60
|
-
constructor(name: string, argsOrState?: AiGovernanceArgs | AiGovernanceState, opts?: pulumi.CustomResourceOptions) {
|
|
61
|
-
let resourceInputs: pulumi.Inputs = {};
|
|
62
|
-
opts = opts || {};
|
|
63
|
-
if (opts.id) {
|
|
64
|
-
const state = argsOrState as AiGovernanceState | undefined;
|
|
65
|
-
resourceInputs["aiEnabled"] = state?.aiEnabled;
|
|
66
|
-
resourceInputs["config"] = state?.config;
|
|
67
|
-
resourceInputs["mandatoryFilterPolicies"] = state?.mandatoryFilterPolicies;
|
|
68
|
-
resourceInputs["mandatoryGuardrailPreset"] = state?.mandatoryGuardrailPreset;
|
|
69
|
-
resourceInputs["modelLists"] = state?.modelLists;
|
|
70
|
-
resourceInputs["modelPolicy"] = state?.modelPolicy;
|
|
71
|
-
resourceInputs["orgId"] = state?.orgId;
|
|
72
|
-
resourceInputs["organisation"] = state?.organisation;
|
|
73
|
-
resourceInputs["spendLimits"] = state?.spendLimits;
|
|
74
|
-
resourceInputs["success"] = state?.success;
|
|
75
|
-
resourceInputs["version"] = state?.version;
|
|
76
|
-
} else {
|
|
77
|
-
const args = argsOrState as AiGovernanceArgs | undefined;
|
|
78
|
-
if (args?.aiEnabled === undefined && !opts.urn) {
|
|
79
|
-
throw new Error("Missing required property 'aiEnabled'");
|
|
80
|
-
}
|
|
81
|
-
if (args?.modelPolicy === undefined && !opts.urn) {
|
|
82
|
-
throw new Error("Missing required property 'modelPolicy'");
|
|
83
|
-
}
|
|
84
|
-
resourceInputs["aiEnabled"] = args?.aiEnabled;
|
|
85
|
-
resourceInputs["mandatoryFilterPolicies"] = args?.mandatoryFilterPolicies;
|
|
86
|
-
resourceInputs["mandatoryGuardrailPreset"] = args?.mandatoryGuardrailPreset;
|
|
87
|
-
resourceInputs["modelLists"] = args?.modelLists;
|
|
88
|
-
resourceInputs["modelPolicy"] = args?.modelPolicy;
|
|
89
|
-
resourceInputs["organisation"] = args?.organisation;
|
|
90
|
-
resourceInputs["spendLimits"] = args?.spendLimits;
|
|
91
|
-
resourceInputs["version"] = args?.version;
|
|
92
|
-
resourceInputs["config"] = undefined /*out*/;
|
|
93
|
-
resourceInputs["orgId"] = undefined /*out*/;
|
|
94
|
-
resourceInputs["success"] = undefined /*out*/;
|
|
95
|
-
}
|
|
96
|
-
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
97
|
-
super(AiGovernance.__pulumiType, name, resourceInputs, opts);
|
|
98
|
-
}
|
|
99
|
-
}
|
|
100
|
-
|
|
101
|
-
/**
|
|
102
|
-
* Input properties used for looking up and filtering AiGovernance resources.
|
|
103
|
-
*/
|
|
104
|
-
export interface AiGovernanceState {
|
|
105
|
-
aiEnabled?: pulumi.Input<boolean>;
|
|
106
|
-
config?: pulumi.Input<inputs.AiGovernanceConfig>;
|
|
107
|
-
mandatoryFilterPolicies?: pulumi.Input<pulumi.Input<string>[]>;
|
|
108
|
-
mandatoryGuardrailPreset?: pulumi.Input<string>;
|
|
109
|
-
modelLists?: pulumi.Input<pulumi.Input<string>[]>;
|
|
110
|
-
modelPolicy?: pulumi.Input<string>;
|
|
111
|
-
orgId?: pulumi.Input<string>;
|
|
112
|
-
/**
|
|
113
|
-
* The organisation ID
|
|
114
|
-
*/
|
|
115
|
-
organisation?: pulumi.Input<string>;
|
|
116
|
-
spendLimits?: pulumi.Input<inputs.AiGovernanceSpendLimits>;
|
|
117
|
-
success?: pulumi.Input<boolean>;
|
|
118
|
-
version?: pulumi.Input<number>;
|
|
119
|
-
}
|
|
120
|
-
|
|
121
|
-
/**
|
|
122
|
-
* The set of arguments for constructing a AiGovernance resource.
|
|
123
|
-
*/
|
|
124
|
-
export interface AiGovernanceArgs {
|
|
125
|
-
aiEnabled: pulumi.Input<boolean>;
|
|
126
|
-
mandatoryFilterPolicies?: pulumi.Input<pulumi.Input<string>[]>;
|
|
127
|
-
mandatoryGuardrailPreset?: pulumi.Input<string>;
|
|
128
|
-
modelLists?: pulumi.Input<pulumi.Input<string>[]>;
|
|
129
|
-
modelPolicy: pulumi.Input<string>;
|
|
130
|
-
/**
|
|
131
|
-
* The organisation ID
|
|
132
|
-
*/
|
|
133
|
-
organisation?: pulumi.Input<string>;
|
|
134
|
-
spendLimits?: pulumi.Input<inputs.AiGovernanceSpendLimits>;
|
|
135
|
-
version?: pulumi.Input<number>;
|
|
136
|
-
}
|