@vertesia/common 0.52.0 → 0.54.0
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/package.json +1 -1
- package/src/apikey.ts +1 -1
- package/src/common.ts +2 -0
- package/src/index.ts +1 -1
- package/src/integrations.ts +1 -1
- package/src/interaction.ts +23 -5
- package/src/payload.ts +15 -3
- package/src/plugin.ts +12 -0
- package/src/project.ts +1 -0
- package/src/prompt.ts +1 -1
- package/src/query.ts +5 -3
- package/src/runs.ts +2 -2
- package/src/store/activity-catalog.ts +1 -1
- package/src/store/agent.ts +1 -1
- package/src/store/collections.ts +9 -3
- package/src/store/common.ts +21 -1
- package/src/store/doc-analyzer.ts +2 -2
- package/src/store/dsl-workflow.ts +9 -9
- package/src/store/signals.ts +1 -0
- package/src/store/store.ts +111 -53
- package/src/store/workflow.ts +81 -3
- package/lib/cjs/Progress.js +0 -61
- package/lib/cjs/Progress.js.map +0 -1
- package/lib/cjs/access-control.js +0 -39
- package/lib/cjs/access-control.js.map +0 -1
- package/lib/cjs/analytics.js +0 -3
- package/lib/cjs/analytics.js.map +0 -1
- package/lib/cjs/apikey.js +0 -15
- package/lib/cjs/apikey.js.map +0 -1
- package/lib/cjs/common.js +0 -3
- package/lib/cjs/common.js.map +0 -1
- package/lib/cjs/environment.js +0 -116
- package/lib/cjs/environment.js.map +0 -1
- package/lib/cjs/facets.js +0 -3
- package/lib/cjs/facets.js.map +0 -1
- package/lib/cjs/index.js +0 -40
- package/lib/cjs/index.js.map +0 -1
- package/lib/cjs/integrations.js +0 -11
- package/lib/cjs/integrations.js.map +0 -1
- package/lib/cjs/interaction.js +0 -63
- package/lib/cjs/interaction.js.map +0 -1
- package/lib/cjs/meters.js +0 -13
- package/lib/cjs/meters.js.map +0 -1
- package/lib/cjs/package.json +0 -3
- package/lib/cjs/payload.js +0 -3
- package/lib/cjs/payload.js.map +0 -1
- package/lib/cjs/project.js +0 -50
- package/lib/cjs/project.js.map +0 -1
- package/lib/cjs/prompt.js +0 -21
- package/lib/cjs/prompt.js.map +0 -1
- package/lib/cjs/query.js +0 -3
- package/lib/cjs/query.js.map +0 -1
- package/lib/cjs/refs.js +0 -12
- package/lib/cjs/refs.js.map +0 -1
- package/lib/cjs/runs.js +0 -3
- package/lib/cjs/runs.js.map +0 -1
- package/lib/cjs/store/activity-catalog.js +0 -3
- package/lib/cjs/store/activity-catalog.js.map +0 -1
- package/lib/cjs/store/agent.js +0 -3
- package/lib/cjs/store/agent.js.map +0 -1
- package/lib/cjs/store/collections.js +0 -9
- package/lib/cjs/store/collections.js.map +0 -1
- package/lib/cjs/store/common.js +0 -3
- package/lib/cjs/store/common.js.map +0 -1
- package/lib/cjs/store/doc-analyzer.js +0 -3
- package/lib/cjs/store/doc-analyzer.js.map +0 -1
- package/lib/cjs/store/dsl-workflow.js +0 -5
- package/lib/cjs/store/dsl-workflow.js.map +0 -1
- package/lib/cjs/store/index.js +0 -28
- package/lib/cjs/store/index.js.map +0 -1
- package/lib/cjs/store/object-types.js +0 -98
- package/lib/cjs/store/object-types.js.map +0 -1
- package/lib/cjs/store/signals.js +0 -3
- package/lib/cjs/store/signals.js.map +0 -1
- package/lib/cjs/store/store.js +0 -18
- package/lib/cjs/store/store.js.map +0 -1
- package/lib/cjs/store/temporalio.js +0 -44
- package/lib/cjs/store/temporalio.js.map +0 -1
- package/lib/cjs/store/workflow.js +0 -39
- package/lib/cjs/store/workflow.js.map +0 -1
- package/lib/cjs/training.js +0 -14
- package/lib/cjs/training.js.map +0 -1
- package/lib/cjs/transient-tokens.js +0 -9
- package/lib/cjs/transient-tokens.js.map +0 -1
- package/lib/cjs/user.js +0 -17
- package/lib/cjs/user.js.map +0 -1
- package/lib/cjs/utils/advanced-content-processing.js +0 -25
- package/lib/cjs/utils/advanced-content-processing.js.map +0 -1
- package/lib/cjs/utils/auth.js +0 -15
- package/lib/cjs/utils/auth.js.map +0 -1
- package/lib/cjs/utils/schemas.js +0 -65
- package/lib/cjs/utils/schemas.js.map +0 -1
- package/lib/esm/Progress.js +0 -57
- package/lib/esm/Progress.js.map +0 -1
- package/lib/esm/access-control.js +0 -36
- package/lib/esm/access-control.js.map +0 -1
- package/lib/esm/analytics.js +0 -2
- package/lib/esm/analytics.js.map +0 -1
- package/lib/esm/apikey.js +0 -12
- package/lib/esm/apikey.js.map +0 -1
- package/lib/esm/common.js +0 -2
- package/lib/esm/common.js.map +0 -1
- package/lib/esm/environment.js +0 -113
- package/lib/esm/environment.js.map +0 -1
- package/lib/esm/facets.js +0 -2
- package/lib/esm/facets.js.map +0 -1
- package/lib/esm/index.js +0 -24
- package/lib/esm/index.js.map +0 -1
- package/lib/esm/integrations.js +0 -8
- package/lib/esm/integrations.js.map +0 -1
- package/lib/esm/interaction.js +0 -60
- package/lib/esm/interaction.js.map +0 -1
- package/lib/esm/meters.js +0 -10
- package/lib/esm/meters.js.map +0 -1
- package/lib/esm/payload.js +0 -2
- package/lib/esm/payload.js.map +0 -1
- package/lib/esm/project.js +0 -46
- package/lib/esm/project.js.map +0 -1
- package/lib/esm/prompt.js +0 -18
- package/lib/esm/prompt.js.map +0 -1
- package/lib/esm/query.js +0 -2
- package/lib/esm/query.js.map +0 -1
- package/lib/esm/refs.js +0 -9
- package/lib/esm/refs.js.map +0 -1
- package/lib/esm/runs.js +0 -2
- package/lib/esm/runs.js.map +0 -1
- package/lib/esm/store/activity-catalog.js +0 -2
- package/lib/esm/store/activity-catalog.js.map +0 -1
- package/lib/esm/store/agent.js +0 -2
- package/lib/esm/store/agent.js.map +0 -1
- package/lib/esm/store/collections.js +0 -6
- package/lib/esm/store/collections.js.map +0 -1
- package/lib/esm/store/common.js +0 -2
- package/lib/esm/store/common.js.map +0 -1
- package/lib/esm/store/doc-analyzer.js +0 -2
- package/lib/esm/store/doc-analyzer.js.map +0 -1
- package/lib/esm/store/dsl-workflow.js +0 -2
- package/lib/esm/store/dsl-workflow.js.map +0 -1
- package/lib/esm/store/index.js +0 -12
- package/lib/esm/store/index.js.map +0 -1
- package/lib/esm/store/object-types.js +0 -95
- package/lib/esm/store/object-types.js.map +0 -1
- package/lib/esm/store/signals.js +0 -2
- package/lib/esm/store/signals.js.map +0 -1
- package/lib/esm/store/store.js +0 -15
- package/lib/esm/store/store.js.map +0 -1
- package/lib/esm/store/temporalio.js +0 -41
- package/lib/esm/store/temporalio.js.map +0 -1
- package/lib/esm/store/workflow.js +0 -36
- package/lib/esm/store/workflow.js.map +0 -1
- package/lib/esm/training.js +0 -11
- package/lib/esm/training.js.map +0 -1
- package/lib/esm/transient-tokens.js +0 -6
- package/lib/esm/transient-tokens.js.map +0 -1
- package/lib/esm/user.js +0 -14
- package/lib/esm/user.js.map +0 -1
- package/lib/esm/utils/advanced-content-processing.js +0 -19
- package/lib/esm/utils/advanced-content-processing.js.map +0 -1
- package/lib/esm/utils/auth.js +0 -11
- package/lib/esm/utils/auth.js.map +0 -1
- package/lib/esm/utils/schemas.js +0 -60
- package/lib/esm/utils/schemas.js.map +0 -1
- package/lib/tsconfig.tsbuildinfo +0 -1
- package/lib/types/Progress.d.ts +0 -21
- package/lib/types/Progress.d.ts.map +0 -1
- package/lib/types/access-control.d.ts +0 -56
- package/lib/types/access-control.d.ts.map +0 -1
- package/lib/types/analytics.d.ts +0 -36
- package/lib/types/analytics.d.ts.map +0 -1
- package/lib/types/apikey.d.ts +0 -54
- package/lib/types/apikey.d.ts.map +0 -1
- package/lib/types/common.d.ts +0 -29
- package/lib/types/common.d.ts.map +0 -1
- package/lib/types/environment.d.ts +0 -80
- package/lib/types/environment.d.ts.map +0 -1
- package/lib/types/facets.d.ts +0 -34
- package/lib/types/facets.d.ts.map +0 -1
- package/lib/types/index.d.ts +0 -23
- package/lib/types/index.d.ts.map +0 -1
- package/lib/types/integrations.d.ts +0 -23
- package/lib/types/integrations.d.ts.map +0 -1
- package/lib/types/interaction.d.ts +0 -382
- package/lib/types/interaction.d.ts.map +0 -1
- package/lib/types/meters.d.ts +0 -23
- package/lib/types/meters.d.ts.map +0 -1
- package/lib/types/payload.d.ts +0 -49
- package/lib/types/payload.d.ts.map +0 -1
- package/lib/types/project.d.ts +0 -102
- package/lib/types/project.d.ts.map +0 -1
- package/lib/types/prompt.d.ts +0 -70
- package/lib/types/prompt.d.ts.map +0 -1
- package/lib/types/query.d.ts +0 -76
- package/lib/types/query.d.ts.map +0 -1
- package/lib/types/refs.d.ts +0 -19
- package/lib/types/refs.d.ts.map +0 -1
- package/lib/types/runs.d.ts +0 -32
- package/lib/types/runs.d.ts.map +0 -1
- package/lib/types/store/activity-catalog.d.ts +0 -26
- package/lib/types/store/activity-catalog.d.ts.map +0 -1
- package/lib/types/store/agent.d.ts +0 -18
- package/lib/types/store/agent.d.ts.map +0 -1
- package/lib/types/store/collections.d.ts +0 -54
- package/lib/types/store/collections.d.ts.map +0 -1
- package/lib/types/store/common.d.ts +0 -10
- package/lib/types/store/common.d.ts.map +0 -1
- package/lib/types/store/doc-analyzer.d.ts +0 -132
- package/lib/types/store/doc-analyzer.d.ts.map +0 -1
- package/lib/types/store/dsl-workflow.d.ts +0 -238
- package/lib/types/store/dsl-workflow.d.ts.map +0 -1
- package/lib/types/store/index.d.ts +0 -11
- package/lib/types/store/index.d.ts.map +0 -1
- package/lib/types/store/object-types.d.ts +0 -23
- package/lib/types/store/object-types.d.ts.map +0 -1
- package/lib/types/store/signals.d.ts +0 -4
- package/lib/types/store/signals.d.ts.map +0 -1
- package/lib/types/store/store.d.ts +0 -218
- package/lib/types/store/store.d.ts.map +0 -1
- package/lib/types/store/temporalio.d.ts +0 -16
- package/lib/types/store/temporalio.d.ts.map +0 -1
- package/lib/types/store/workflow.d.ts +0 -179
- package/lib/types/store/workflow.d.ts.map +0 -1
- package/lib/types/training.d.ts +0 -38
- package/lib/types/training.d.ts.map +0 -1
- package/lib/types/transient-tokens.d.ts +0 -27
- package/lib/types/transient-tokens.d.ts.map +0 -1
- package/lib/types/user.d.ts +0 -113
- package/lib/types/user.d.ts.map +0 -1
- package/lib/types/utils/advanced-content-processing.d.ts +0 -15
- package/lib/types/utils/advanced-content-processing.d.ts.map +0 -1
- package/lib/types/utils/auth.d.ts +0 -3
- package/lib/types/utils/auth.d.ts.map +0 -1
- package/lib/types/utils/schemas.d.ts +0 -7
- package/lib/types/utils/schemas.d.ts.map +0 -1
package/lib/cjs/environment.js
DELETED
@@ -1,116 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.ExecutionEnvironmentRefPopulate = exports.SupportedProvidersList = exports.SupportedProviders = void 0;
|
4
|
-
var SupportedProviders;
|
5
|
-
(function (SupportedProviders) {
|
6
|
-
// from llumiverse
|
7
|
-
SupportedProviders["openai"] = "openai";
|
8
|
-
SupportedProviders["azure_openai"] = "azure_openai";
|
9
|
-
SupportedProviders["huggingface_ie"] = "huggingface_ie";
|
10
|
-
SupportedProviders["replicate"] = "replicate";
|
11
|
-
SupportedProviders["bedrock"] = "bedrock";
|
12
|
-
SupportedProviders["vertexai"] = "vertexai";
|
13
|
-
SupportedProviders["togetherai"] = "togetherai";
|
14
|
-
SupportedProviders["mistralai"] = "mistralai";
|
15
|
-
SupportedProviders["groq"] = "groq";
|
16
|
-
SupportedProviders["watsonx"] = "watsonx";
|
17
|
-
// from studio
|
18
|
-
SupportedProviders["virtual_lb"] = "virtual_lb";
|
19
|
-
SupportedProviders["virtual_mediator"] = "virtual_mediator";
|
20
|
-
SupportedProviders["test"] = "test";
|
21
|
-
})(SupportedProviders || (exports.SupportedProviders = SupportedProviders = {}));
|
22
|
-
exports.SupportedProvidersList = {
|
23
|
-
'openai': {
|
24
|
-
id: SupportedProviders.openai,
|
25
|
-
name: "OpenAI",
|
26
|
-
requiresApiKey: true,
|
27
|
-
requiresEndpointUrl: false,
|
28
|
-
supportSearch: false,
|
29
|
-
},
|
30
|
-
'azure_openai': {
|
31
|
-
id: SupportedProviders.azure_openai,
|
32
|
-
name: "Azure OpenAI",
|
33
|
-
requiresApiKey: false,
|
34
|
-
requiresEndpointUrl: true,
|
35
|
-
supportSearch: false,
|
36
|
-
},
|
37
|
-
'huggingface_ie': {
|
38
|
-
id: SupportedProviders.huggingface_ie,
|
39
|
-
name: "HuggingFace Inference Endpoint",
|
40
|
-
requiresApiKey: true,
|
41
|
-
requiresEndpointUrl: true,
|
42
|
-
},
|
43
|
-
'replicate': {
|
44
|
-
id: SupportedProviders.replicate,
|
45
|
-
name: "Repicate",
|
46
|
-
requiresApiKey: true,
|
47
|
-
requiresEndpointUrl: false,
|
48
|
-
supportSearch: true,
|
49
|
-
},
|
50
|
-
'bedrock': {
|
51
|
-
id: SupportedProviders.bedrock,
|
52
|
-
name: "AWS Bedrock",
|
53
|
-
requiresApiKey: false,
|
54
|
-
requiresEndpointUrl: false,
|
55
|
-
endpointPlaceholder: "region name (eg. us-east-1)",
|
56
|
-
supportSearch: false,
|
57
|
-
},
|
58
|
-
vertexai: {
|
59
|
-
id: SupportedProviders.vertexai,
|
60
|
-
name: "Google Vertex AI",
|
61
|
-
requiresApiKey: false,
|
62
|
-
requiresEndpointUrl: false,
|
63
|
-
supportSearch: false,
|
64
|
-
},
|
65
|
-
togetherai: {
|
66
|
-
id: SupportedProviders.togetherai,
|
67
|
-
name: "Together AI",
|
68
|
-
requiresApiKey: false,
|
69
|
-
requiresEndpointUrl: false,
|
70
|
-
supportSearch: false,
|
71
|
-
},
|
72
|
-
mistralai: {
|
73
|
-
id: SupportedProviders.mistralai,
|
74
|
-
name: "Mistral AI",
|
75
|
-
requiresApiKey: false,
|
76
|
-
requiresEndpointUrl: false,
|
77
|
-
supportSearch: false,
|
78
|
-
},
|
79
|
-
groq: {
|
80
|
-
id: SupportedProviders.groq,
|
81
|
-
name: "Groq Cloud",
|
82
|
-
requiresApiKey: false,
|
83
|
-
requiresEndpointUrl: false,
|
84
|
-
supportSearch: false,
|
85
|
-
},
|
86
|
-
watsonx: {
|
87
|
-
id: SupportedProviders.watsonx,
|
88
|
-
name: "IBM WatsonX",
|
89
|
-
requiresApiKey: true,
|
90
|
-
requiresEndpointUrl: true,
|
91
|
-
supportSearch: false
|
92
|
-
},
|
93
|
-
'virtual_lb': {
|
94
|
-
id: SupportedProviders.virtual_lb,
|
95
|
-
name: "Virtual - Load Balancer",
|
96
|
-
requiresApiKey: false,
|
97
|
-
requiresEndpointUrl: false,
|
98
|
-
supportSearch: false,
|
99
|
-
},
|
100
|
-
'virtual_mediator': {
|
101
|
-
id: SupportedProviders.virtual_mediator,
|
102
|
-
name: "Virtual - Mediator",
|
103
|
-
requiresApiKey: false,
|
104
|
-
requiresEndpointUrl: false,
|
105
|
-
supportSearch: false,
|
106
|
-
},
|
107
|
-
'test': {
|
108
|
-
id: SupportedProviders.test,
|
109
|
-
name: "Test LLM",
|
110
|
-
requiresApiKey: false,
|
111
|
-
requiresEndpointUrl: false,
|
112
|
-
supportSearch: false,
|
113
|
-
},
|
114
|
-
};
|
115
|
-
exports.ExecutionEnvironmentRefPopulate = "id name provider enabled_models default_model endpoint_url allowed_projects account created_at updated_at";
|
116
|
-
//# sourceMappingURL=environment.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"environment.js","sourceRoot":"","sources":["../../src/environment.ts"],"names":[],"mappings":"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"}
|
package/lib/cjs/facets.js
DELETED
package/lib/cjs/facets.js.map
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"facets.js","sourceRoot":"","sources":["../../src/facets.ts"],"names":[],"mappings":""}
|
package/lib/cjs/index.js
DELETED
@@ -1,40 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
3
|
-
if (k2 === undefined) k2 = k;
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
7
|
-
}
|
8
|
-
Object.defineProperty(o, k2, desc);
|
9
|
-
}) : (function(o, m, k, k2) {
|
10
|
-
if (k2 === undefined) k2 = k;
|
11
|
-
o[k2] = m[k];
|
12
|
-
}));
|
13
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
14
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
15
|
-
};
|
16
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
17
|
-
__exportStar(require("./access-control.js"), exports);
|
18
|
-
__exportStar(require("./analytics.js"), exports);
|
19
|
-
__exportStar(require("./apikey.js"), exports);
|
20
|
-
__exportStar(require("./common.js"), exports);
|
21
|
-
__exportStar(require("./environment.js"), exports);
|
22
|
-
__exportStar(require("./facets.js"), exports);
|
23
|
-
__exportStar(require("./integrations.js"), exports);
|
24
|
-
__exportStar(require("./interaction.js"), exports);
|
25
|
-
__exportStar(require("./meters.js"), exports);
|
26
|
-
__exportStar(require("./payload.js"), exports);
|
27
|
-
__exportStar(require("./Progress.js"), exports);
|
28
|
-
__exportStar(require("./project.js"), exports);
|
29
|
-
__exportStar(require("./prompt.js"), exports);
|
30
|
-
__exportStar(require("./query.js"), exports);
|
31
|
-
__exportStar(require("./refs.js"), exports);
|
32
|
-
__exportStar(require("./runs.js"), exports);
|
33
|
-
__exportStar(require("./store/index.js"), exports);
|
34
|
-
__exportStar(require("./training.js"), exports);
|
35
|
-
__exportStar(require("./transient-tokens.js"), exports);
|
36
|
-
__exportStar(require("./user.js"), exports);
|
37
|
-
__exportStar(require("./utils/advanced-content-processing.js"), exports);
|
38
|
-
__exportStar(require("./utils/auth.js"), exports);
|
39
|
-
__exportStar(require("./utils/schemas.js"), exports);
|
40
|
-
//# sourceMappingURL=index.js.map
|
package/lib/cjs/index.js.map
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,sDAAoC;AACpC,iDAA+B;AAC/B,8CAA4B;AAC5B,8CAA4B;AAC5B,mDAAiC;AACjC,8CAA4B;AAC5B,oDAAkC;AAClC,mDAAiC;AACjC,8CAA4B;AAC5B,+CAA6B;AAC7B,gDAA8B;AAC9B,+CAA6B;AAC7B,8CAA4B;AAC5B,6CAA2B;AAC3B,4CAA0B;AAC1B,4CAA0B;AAC1B,mDAAiC;AACjC,gDAA8B;AAC9B,wDAAsC;AACtC,4CAA0B;AAC1B,yEAAuD;AACvD,kDAAgC;AAChC,qDAAmC"}
|
package/lib/cjs/integrations.js
DELETED
@@ -1,11 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.SupportedIntegrations = void 0;
|
4
|
-
var SupportedIntegrations;
|
5
|
-
(function (SupportedIntegrations) {
|
6
|
-
SupportedIntegrations["gladia"] = "gladia";
|
7
|
-
SupportedIntegrations["github"] = "github";
|
8
|
-
SupportedIntegrations["aws"] = "aws";
|
9
|
-
SupportedIntegrations["magic_pdf"] = "magic_pdf";
|
10
|
-
})(SupportedIntegrations || (exports.SupportedIntegrations = SupportedIntegrations = {}));
|
11
|
-
//# sourceMappingURL=integrations.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"integrations.js","sourceRoot":"","sources":["../../src/integrations.ts"],"names":[],"mappings":";;;AA0BA,IAAY,qBAKX;AALD,WAAY,qBAAqB;IAC7B,0CAAiB,CAAA;IACjB,0CAAiB,CAAA;IACjB,oCAAW,CAAA;IACX,gDAAuB,CAAA;AAC3B,CAAC,EALW,qBAAqB,qCAArB,qBAAqB,QAKhC"}
|
package/lib/cjs/interaction.js
DELETED
@@ -1,63 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.ConfigModesOptions = exports.ConfigModesDescription = exports.ConfigModes = exports.ExecutionRunRefSelect = exports.RunSourceTypes = exports.RunDataStorageOptions = exports.RunDataStorageDescription = exports.RunDataStorageLevel = exports.ExecutionRunStatus = exports.InteractionStatus = exports.InteractionRefPopulate = void 0;
|
4
|
-
exports.InteractionRefPopulate = "id name endpoint parent description status version visibility tags updated_at prompts";
|
5
|
-
var InteractionStatus;
|
6
|
-
(function (InteractionStatus) {
|
7
|
-
InteractionStatus["draft"] = "draft";
|
8
|
-
InteractionStatus["published"] = "published";
|
9
|
-
InteractionStatus["archived"] = "archived";
|
10
|
-
})(InteractionStatus || (exports.InteractionStatus = InteractionStatus = {}));
|
11
|
-
var ExecutionRunStatus;
|
12
|
-
(function (ExecutionRunStatus) {
|
13
|
-
ExecutionRunStatus["created"] = "created";
|
14
|
-
ExecutionRunStatus["processing"] = "processing";
|
15
|
-
ExecutionRunStatus["completed"] = "completed";
|
16
|
-
ExecutionRunStatus["failed"] = "failed";
|
17
|
-
})(ExecutionRunStatus || (exports.ExecutionRunStatus = ExecutionRunStatus = {}));
|
18
|
-
var RunDataStorageLevel;
|
19
|
-
(function (RunDataStorageLevel) {
|
20
|
-
RunDataStorageLevel["STANDARD"] = "STANDARD";
|
21
|
-
RunDataStorageLevel["RESTRICTED"] = "RESTRICTED";
|
22
|
-
RunDataStorageLevel["DEBUG"] = "DEBUG";
|
23
|
-
})(RunDataStorageLevel || (exports.RunDataStorageLevel = RunDataStorageLevel = {}));
|
24
|
-
var RunDataStorageDescription;
|
25
|
-
(function (RunDataStorageDescription) {
|
26
|
-
RunDataStorageDescription["STANDARD"] = "Run data is stored for both the model inputs and output.";
|
27
|
-
RunDataStorageDescription["RESTRICTED"] = "No run data is stored for the model inputs \u2014 only the model output.";
|
28
|
-
RunDataStorageDescription["DEBUG"] = "Run data is stored for the model inputs and output, schema, and final prompt.";
|
29
|
-
})(RunDataStorageDescription || (exports.RunDataStorageDescription = RunDataStorageDescription = {}));
|
30
|
-
exports.RunDataStorageOptions = {
|
31
|
-
[RunDataStorageLevel.STANDARD]: RunDataStorageDescription.STANDARD,
|
32
|
-
[RunDataStorageLevel.RESTRICTED]: RunDataStorageDescription.RESTRICTED,
|
33
|
-
[RunDataStorageLevel.DEBUG]: RunDataStorageDescription.DEBUG,
|
34
|
-
};
|
35
|
-
// ================= end async execution payloads ====================
|
36
|
-
var RunSourceTypes;
|
37
|
-
(function (RunSourceTypes) {
|
38
|
-
RunSourceTypes["api"] = "api";
|
39
|
-
RunSourceTypes["cli"] = "cli";
|
40
|
-
RunSourceTypes["ui"] = "ui";
|
41
|
-
RunSourceTypes["webhook"] = "webhook";
|
42
|
-
RunSourceTypes["test"] = "test-data";
|
43
|
-
RunSourceTypes["system"] = "system";
|
44
|
-
})(RunSourceTypes || (exports.RunSourceTypes = RunSourceTypes = {}));
|
45
|
-
exports.ExecutionRunRefSelect = "-result -parameters -result_schema -prompt";
|
46
|
-
var ConfigModes;
|
47
|
-
(function (ConfigModes) {
|
48
|
-
ConfigModes["RUN_AND_INTERACTION_CONFIG"] = "RUN_AND_INTERACTION_CONFIG";
|
49
|
-
ConfigModes["RUN_CONFIG_ONLY"] = "RUN_CONFIG_ONLY";
|
50
|
-
ConfigModes["INTERACTION_CONFIG_ONLY"] = "INTERACTION_CONFIG_ONLY";
|
51
|
-
})(ConfigModes || (exports.ConfigModes = ConfigModes = {}));
|
52
|
-
var ConfigModesDescription;
|
53
|
-
(function (ConfigModesDescription) {
|
54
|
-
ConfigModesDescription["RUN_AND_INTERACTION_CONFIG"] = "This run configuration is used. Undefined options are filled with interaction configuration.";
|
55
|
-
ConfigModesDescription["RUN_CONFIG_ONLY"] = "Only this run configuration is used. Undefined options remain undefined.";
|
56
|
-
ConfigModesDescription["INTERACTION_CONFIG_ONLY"] = "Only interaction configuration is used.";
|
57
|
-
})(ConfigModesDescription || (exports.ConfigModesDescription = ConfigModesDescription = {}));
|
58
|
-
exports.ConfigModesOptions = {
|
59
|
-
[ConfigModes.RUN_AND_INTERACTION_CONFIG]: ConfigModesDescription.RUN_AND_INTERACTION_CONFIG,
|
60
|
-
[ConfigModes.RUN_CONFIG_ONLY]: ConfigModesDescription.RUN_CONFIG_ONLY,
|
61
|
-
[ConfigModes.INTERACTION_CONFIG_ONLY]: ConfigModesDescription.INTERACTION_CONFIG_ONLY,
|
62
|
-
};
|
63
|
-
//# sourceMappingURL=interaction.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"interaction.js","sourceRoot":"","sources":["../../src/interaction.ts"],"names":[],"mappings":";;;AAgGa,QAAA,sBAAsB,GAC/B,uFAAuF,CAAC;AAsB5F,IAAY,iBAIX;AAJD,WAAY,iBAAiB;IACzB,oCAAe,CAAA;IACf,4CAAuB,CAAA;IACvB,0CAAqB,CAAA;AACzB,CAAC,EAJW,iBAAiB,iCAAjB,iBAAiB,QAI5B;AAED,IAAY,kBAKX;AALD,WAAY,kBAAkB;IAC1B,yCAAmB,CAAA;IACnB,+CAAyB,CAAA;IACzB,6CAAuB,CAAA;IACvB,uCAAiB,CAAA;AACrB,CAAC,EALW,kBAAkB,kCAAlB,kBAAkB,QAK7B;AAED,IAAY,mBAIX;AAJD,WAAY,mBAAmB;IAC3B,4CAAqB,CAAA;IACrB,gDAAyB,CAAA;IACzB,sCAAe,CAAA;AACnB,CAAC,EAJW,mBAAmB,mCAAnB,mBAAmB,QAI9B;AAED,IAAY,yBAIX;AAJD,WAAY,yBAAyB;IACjC,kGAAqE,CAAA;IACrE,oHAAkF,CAAA;IAClF,oHAAuF,CAAA;AAC3F,CAAC,EAJW,yBAAyB,yCAAzB,yBAAyB,QAIpC;AAEY,QAAA,qBAAqB,GAA2D;IACzF,CAAC,mBAAmB,CAAC,QAAQ,CAAC,EAAE,yBAAyB,CAAC,QAAQ;IAClE,CAAC,mBAAmB,CAAC,UAAU,CAAC,EAAE,yBAAyB,CAAC,UAAU;IACtE,CAAC,mBAAmB,CAAC,KAAK,CAAC,EAAE,yBAAyB,CAAC,KAAK;CAC/D,CAAC;AAyOF,sEAAsE;AAEtE,IAAY,cAOX;AAPD,WAAY,cAAc;IACtB,6BAAW,CAAA;IACX,6BAAW,CAAA;IACX,2BAAS,CAAA;IACT,qCAAmB,CAAA;IACnB,oCAAkB,CAAA;IAClB,mCAAiB,CAAA;AACrB,CAAC,EAPW,cAAc,8BAAd,cAAc,QAOzB;AAgEY,QAAA,qBAAqB,GAAG,4CAA4C,CAAC;AAElF,IAAY,WAIX;AAJD,WAAY,WAAW;IACnB,wEAAyD,CAAA;IACzD,kDAAmC,CAAA;IACnC,kEAAmD,CAAA;AACvD,CAAC,EAJW,WAAW,2BAAX,WAAW,QAItB;AAED,IAAY,sBAIX;AAJD,WAAY,sBAAsB;IAC9B,qJAA2H,CAAA;IAC3H,sHAA4F,CAAA;IAC5F,6FAAmE,CAAA;AACvE,CAAC,EAJW,sBAAsB,sCAAtB,sBAAsB,QAIjC;AAEY,QAAA,kBAAkB,GAAgD;IAC3E,CAAC,WAAW,CAAC,0BAA0B,CAAC,EAAE,sBAAsB,CAAC,0BAA0B;IAC3F,CAAC,WAAW,CAAC,eAAe,CAAC,EAAE,sBAAsB,CAAC,eAAe;IACrE,CAAC,WAAW,CAAC,uBAAuB,CAAC,EAAE,sBAAsB,CAAC,uBAAuB;CACxF,CAAC"}
|
package/lib/cjs/meters.js
DELETED
@@ -1,13 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.MeterNames = void 0;
|
4
|
-
var MeterNames;
|
5
|
-
(function (MeterNames) {
|
6
|
-
MeterNames["analyzed_pages"] = "analyzed_pages";
|
7
|
-
MeterNames["extracted_tables"] = "extracted_tables";
|
8
|
-
MeterNames["analyzed_images"] = "analyzed_images";
|
9
|
-
MeterNames["input_token_used"] = "input_token_used";
|
10
|
-
MeterNames["output_token_used"] = "output_token_used";
|
11
|
-
MeterNames["task_run"] = "task_run";
|
12
|
-
})(MeterNames || (exports.MeterNames = MeterNames = {}));
|
13
|
-
//# sourceMappingURL=meters.js.map
|
package/lib/cjs/meters.js.map
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"meters.js","sourceRoot":"","sources":["../../src/meters.ts"],"names":[],"mappings":";;;AAcA,IAAY,UAOX;AAPD,WAAY,UAAU;IAClB,+CAAiC,CAAA;IACjC,mDAAqC,CAAA;IACrC,iDAAmC,CAAA;IACnC,mDAAqC,CAAA;IACrC,qDAAuC,CAAA;IACvC,mCAAqB,CAAA;AACzB,CAAC,EAPW,UAAU,0BAAV,UAAU,QAOrB"}
|
package/lib/cjs/package.json
DELETED
package/lib/cjs/payload.js
DELETED
package/lib/cjs/payload.js.map
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"payload.js","sourceRoot":"","sources":["../../src/payload.ts"],"names":[],"mappings":""}
|
package/lib/cjs/project.js
DELETED
@@ -1,50 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.ProjectRefPopulate = exports.SupportedEmbeddingTypes = exports.ResourceVisibility = exports.ProjectRoles = void 0;
|
4
|
-
exports.isRoleIncludedIn = isRoleIncludedIn;
|
5
|
-
var ProjectRoles;
|
6
|
-
(function (ProjectRoles) {
|
7
|
-
ProjectRoles["owner"] = "owner";
|
8
|
-
ProjectRoles["admin"] = "admin";
|
9
|
-
ProjectRoles["project_admin"] = "project_admin";
|
10
|
-
ProjectRoles["developer"] = "developer";
|
11
|
-
ProjectRoles["application"] = "application";
|
12
|
-
ProjectRoles["executor"] = "executor";
|
13
|
-
ProjectRoles["reader"] = "reader";
|
14
|
-
ProjectRoles["billing"] = "billing";
|
15
|
-
ProjectRoles["member"] = "member";
|
16
|
-
})(ProjectRoles || (exports.ProjectRoles = ProjectRoles = {}));
|
17
|
-
function isRoleIncludedIn(role, includingRole) {
|
18
|
-
switch (includingRole) {
|
19
|
-
case ProjectRoles.owner:
|
20
|
-
return true; // includes billing to?
|
21
|
-
case ProjectRoles.admin:
|
22
|
-
return role !== ProjectRoles.billing && role !== ProjectRoles.owner;
|
23
|
-
case ProjectRoles.developer:
|
24
|
-
return role === ProjectRoles.developer;
|
25
|
-
case ProjectRoles.billing:
|
26
|
-
return role === ProjectRoles.billing;
|
27
|
-
default:
|
28
|
-
return false;
|
29
|
-
}
|
30
|
-
}
|
31
|
-
var ResourceVisibility;
|
32
|
-
(function (ResourceVisibility) {
|
33
|
-
ResourceVisibility["public"] = "public";
|
34
|
-
ResourceVisibility["account"] = "account";
|
35
|
-
ResourceVisibility["project"] = "project";
|
36
|
-
})(ResourceVisibility || (exports.ResourceVisibility = ResourceVisibility = {}));
|
37
|
-
// export interface ProjectConfigurationEmbeddings {
|
38
|
-
// environment: string;
|
39
|
-
// max_tokens: number;
|
40
|
-
// dimensions: number;
|
41
|
-
// model?: string;
|
42
|
-
// }
|
43
|
-
var SupportedEmbeddingTypes;
|
44
|
-
(function (SupportedEmbeddingTypes) {
|
45
|
-
SupportedEmbeddingTypes["text"] = "text";
|
46
|
-
SupportedEmbeddingTypes["image"] = "image";
|
47
|
-
SupportedEmbeddingTypes["properties"] = "properties";
|
48
|
-
})(SupportedEmbeddingTypes || (exports.SupportedEmbeddingTypes = SupportedEmbeddingTypes = {}));
|
49
|
-
exports.ProjectRefPopulate = "id name account";
|
50
|
-
//# sourceMappingURL=project.js.map
|
package/lib/cjs/project.js.map
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"project.js","sourceRoot":"","sources":["../../src/project.ts"],"names":[],"mappings":";;;AAqBA,4CAaC;AAzBD,IAAY,YAUX;AAVD,WAAY,YAAY;IACpB,+BAAe,CAAA;IACf,+BAAe,CAAA;IACf,+CAA+B,CAAA;IAC/B,uCAAuB,CAAA;IACvB,2CAA2B,CAAA;IAC3B,qCAAqB,CAAA;IACrB,iCAAiB,CAAA;IACjB,mCAAmB,CAAA;IACnB,iCAAiB,CAAA;AACrB,CAAC,EAVW,YAAY,4BAAZ,YAAY,QAUvB;AAED,SAAgB,gBAAgB,CAAC,IAAY,EAAE,aAAqB;IAChE,QAAQ,aAAa,EAAE,CAAC;QACpB,KAAK,YAAY,CAAC,KAAK;YACnB,OAAO,IAAI,CAAC,CAAC,uBAAuB;QACxC,KAAK,YAAY,CAAC,KAAK;YACnB,OAAO,IAAI,KAAK,YAAY,CAAC,OAAO,IAAI,IAAI,KAAK,YAAY,CAAC,KAAK,CAAC;QACxE,KAAK,YAAY,CAAC,SAAS;YACvB,OAAO,IAAI,KAAK,YAAY,CAAC,SAAS,CAAC;QAC3C,KAAK,YAAY,CAAC,OAAO;YACrB,OAAO,IAAI,KAAK,YAAY,CAAC,OAAO,CAAC;QACzC;YACI,OAAO,KAAK,CAAC;IACrB,CAAC;AACL,CAAC;AAoBD,IAAY,kBAIX;AAJD,WAAY,kBAAkB;IAC1B,uCAAiB,CAAA;IACjB,yCAAmB,CAAA;IACnB,yCAAmB,CAAA;AACvB,CAAC,EAJW,kBAAkB,kCAAlB,kBAAkB,QAI7B;AAqBD,oDAAoD;AACpD,2BAA2B;AAC3B,0BAA0B;AAC1B,0BAA0B;AAC1B,sBAAsB;AACtB,IAAI;AAEJ,IAAY,uBAIX;AAJD,WAAY,uBAAuB;IAC/B,wCAAa,CAAA;IACb,0CAAe,CAAA;IACf,oDAAyB,CAAA;AAC7B,CAAC,EAJW,uBAAuB,uCAAvB,uBAAuB,QAIlC;AAgCY,QAAA,kBAAkB,GAAG,iBAAiB,CAAC"}
|
package/lib/cjs/prompt.js
DELETED
@@ -1,21 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.TemplateType = exports.PromptSegmentDefType = exports.PromptStatus = void 0;
|
4
|
-
var PromptStatus;
|
5
|
-
(function (PromptStatus) {
|
6
|
-
PromptStatus["draft"] = "draft";
|
7
|
-
PromptStatus["published"] = "published";
|
8
|
-
PromptStatus["archived"] = "archived";
|
9
|
-
})(PromptStatus || (exports.PromptStatus = PromptStatus = {}));
|
10
|
-
var PromptSegmentDefType;
|
11
|
-
(function (PromptSegmentDefType) {
|
12
|
-
PromptSegmentDefType["chat"] = "chat";
|
13
|
-
PromptSegmentDefType["template"] = "template";
|
14
|
-
})(PromptSegmentDefType || (exports.PromptSegmentDefType = PromptSegmentDefType = {}));
|
15
|
-
var TemplateType;
|
16
|
-
(function (TemplateType) {
|
17
|
-
TemplateType["text"] = "text";
|
18
|
-
TemplateType["js"] = "js";
|
19
|
-
TemplateType["jst"] = "jst";
|
20
|
-
})(TemplateType || (exports.TemplateType = TemplateType = {}));
|
21
|
-
//# sourceMappingURL=prompt.js.map
|
package/lib/cjs/prompt.js.map
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"prompt.js","sourceRoot":"","sources":["../../src/prompt.ts"],"names":[],"mappings":";;;AAUA,IAAY,YAIX;AAJD,WAAY,YAAY;IACpB,+BAAe,CAAA;IACf,uCAAuB,CAAA;IACvB,qCAAqB,CAAA;AACzB,CAAC,EAJW,YAAY,4BAAZ,YAAY,QAIvB;AAGD,IAAY,oBAGX;AAHD,WAAY,oBAAoB;IAC5B,qCAAa,CAAA;IACb,6CAAqB,CAAA;AACzB,CAAC,EAHW,oBAAoB,oCAApB,oBAAoB,QAG/B;AA2BD,IAAY,YAIX;AAJD,WAAY,YAAY;IACpB,6BAAa,CAAA;IACb,yBAAS,CAAA;IACT,2BAAW,CAAA;AACf,CAAC,EAJW,YAAY,4BAAZ,YAAY,QAIvB"}
|
package/lib/cjs/query.js
DELETED
package/lib/cjs/query.js.map
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"query.js","sourceRoot":"","sources":["../../src/query.ts"],"names":[],"mappings":""}
|
package/lib/cjs/refs.js
DELETED
@@ -1,12 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.ResolvableRefType = void 0;
|
4
|
-
var ResolvableRefType;
|
5
|
-
(function (ResolvableRefType) {
|
6
|
-
ResolvableRefType["project"] = "Project";
|
7
|
-
ResolvableRefType["environment"] = "Environment";
|
8
|
-
ResolvableRefType["user"] = "User";
|
9
|
-
ResolvableRefType["account"] = "Account";
|
10
|
-
ResolvableRefType["interaction"] = "Interaction";
|
11
|
-
})(ResolvableRefType || (exports.ResolvableRefType = ResolvableRefType = {}));
|
12
|
-
//# sourceMappingURL=refs.js.map
|
package/lib/cjs/refs.js.map
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"refs.js","sourceRoot":"","sources":["../../src/refs.ts"],"names":[],"mappings":";;;AAEA,IAAY,iBAMX;AAND,WAAY,iBAAiB;IACzB,wCAAmB,CAAA;IACnB,gDAA2B,CAAA;IAC3B,kCAAa,CAAA;IACb,wCAAmB,CAAA;IACnB,gDAA2B,CAAA;AAC/B,CAAC,EANW,iBAAiB,iCAAjB,iBAAiB,QAM5B"}
|
package/lib/cjs/runs.js
DELETED
package/lib/cjs/runs.js.map
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"runs.js","sourceRoot":"","sources":["../../src/runs.ts"],"names":[],"mappings":""}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"activity-catalog.js","sourceRoot":"","sources":["../../../src/store/activity-catalog.ts"],"names":[],"mappings":""}
|
package/lib/cjs/store/agent.js
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"agent.js","sourceRoot":"","sources":["../../../src/store/agent.ts"],"names":[],"mappings":""}
|
@@ -1,9 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.CollectionStatus = void 0;
|
4
|
-
var CollectionStatus;
|
5
|
-
(function (CollectionStatus) {
|
6
|
-
CollectionStatus["active"] = "active";
|
7
|
-
CollectionStatus["archived"] = "archived";
|
8
|
-
})(CollectionStatus || (exports.CollectionStatus = CollectionStatus = {}));
|
9
|
-
//# sourceMappingURL=collections.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"collections.js","sourceRoot":"","sources":["../../../src/store/collections.ts"],"names":[],"mappings":";;;AAGA,IAAY,gBAGX;AAHD,WAAY,gBAAgB;IACxB,qCAAiB,CAAA;IACjB,yCAAqB,CAAA;AACzB,CAAC,EAHW,gBAAgB,gCAAhB,gBAAgB,QAG3B"}
|
package/lib/cjs/store/common.js
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"common.js","sourceRoot":"","sources":["../../../src/store/common.ts"],"names":[],"mappings":""}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"doc-analyzer.js","sourceRoot":"","sources":["../../../src/store/doc-analyzer.ts"],"names":[],"mappings":""}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"dsl-workflow.js","sourceRoot":"","sources":["../../../src/store/dsl-workflow.ts"],"names":[],"mappings":";;;AAyRa,QAAA,6BAA6B,GAAG,gDAAgD,CAAA"}
|
package/lib/cjs/store/index.js
DELETED
@@ -1,28 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
3
|
-
if (k2 === undefined) k2 = k;
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
7
|
-
}
|
8
|
-
Object.defineProperty(o, k2, desc);
|
9
|
-
}) : (function(o, m, k, k2) {
|
10
|
-
if (k2 === undefined) k2 = k;
|
11
|
-
o[k2] = m[k];
|
12
|
-
}));
|
13
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
14
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
15
|
-
};
|
16
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
17
|
-
__exportStar(require("./activity-catalog.js"), exports);
|
18
|
-
__exportStar(require("./agent.js"), exports);
|
19
|
-
__exportStar(require("./collections.js"), exports);
|
20
|
-
__exportStar(require("./common.js"), exports);
|
21
|
-
__exportStar(require("./doc-analyzer.js"), exports);
|
22
|
-
__exportStar(require("./dsl-workflow.js"), exports);
|
23
|
-
__exportStar(require("./object-types.js"), exports);
|
24
|
-
__exportStar(require("./store.js"), exports);
|
25
|
-
__exportStar(require("./temporalio.js"), exports);
|
26
|
-
__exportStar(require("./workflow.js"), exports);
|
27
|
-
__exportStar(require("./signals.js"), exports);
|
28
|
-
//# sourceMappingURL=index.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/store/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,wDAAsC;AACtC,6CAA2B;AAC3B,mDAAiC;AACjC,8CAA4B;AAC5B,oDAAkC;AAClC,oDAAkC;AAClC,oDAAkC;AAClC,6CAA2B;AAC3B,kDAAgC;AAChC,gDAA8B;AAC9B,+CAA6B"}
|
@@ -1,98 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.DocumentPartSchema = exports.RenditionSchema = void 0;
|
4
|
-
exports.RenditionSchema = {
|
5
|
-
type: "object",
|
6
|
-
description: "Represent a rendition of a file stored in an object. It will be stored as a separate object in the database.",
|
7
|
-
properties: {
|
8
|
-
mime_type: {
|
9
|
-
type: "string",
|
10
|
-
description: "The format of the rendition. This is a MIME type."
|
11
|
-
},
|
12
|
-
source_etag: {
|
13
|
-
type: "string",
|
14
|
-
description: "The ETag of the file used for the rendition.",
|
15
|
-
nullable: true
|
16
|
-
},
|
17
|
-
height: {
|
18
|
-
type: "integer",
|
19
|
-
description: "The height of the rendition",
|
20
|
-
nullable: true
|
21
|
-
},
|
22
|
-
width: {
|
23
|
-
type: "integer",
|
24
|
-
description: "The width of the rendition",
|
25
|
-
nullable: true
|
26
|
-
},
|
27
|
-
multipart: {
|
28
|
-
type: "boolean",
|
29
|
-
description: "If the rendition is a multi-part rendition",
|
30
|
-
nullable: true,
|
31
|
-
default: false
|
32
|
-
},
|
33
|
-
total_parts: {
|
34
|
-
type: "integer",
|
35
|
-
description: "The total number of parts in the rendition",
|
36
|
-
nullable: true
|
37
|
-
}
|
38
|
-
},
|
39
|
-
required: ["mime_type"],
|
40
|
-
};
|
41
|
-
exports.DocumentPartSchema = {
|
42
|
-
type: "object",
|
43
|
-
description: "Represent a semantic chunk of a document",
|
44
|
-
properties: {
|
45
|
-
source_etag: {
|
46
|
-
type: "string",
|
47
|
-
description: "The ETag of the file used for the rendition.",
|
48
|
-
nullable: true
|
49
|
-
},
|
50
|
-
part_number: {
|
51
|
-
type: "integer",
|
52
|
-
description: "The part number of the chunk",
|
53
|
-
},
|
54
|
-
title: {
|
55
|
-
type: "string",
|
56
|
-
description: "The title of the chunk",
|
57
|
-
nullable: true
|
58
|
-
},
|
59
|
-
source_line_start: {
|
60
|
-
type: "integer",
|
61
|
-
description: "The line number where the chunk starts",
|
62
|
-
nullable: true
|
63
|
-
},
|
64
|
-
source_line_end: {
|
65
|
-
type: "integer",
|
66
|
-
description: "The line number where the chunk ends",
|
67
|
-
nullable: true
|
68
|
-
},
|
69
|
-
type: {
|
70
|
-
type: "string",
|
71
|
-
description: "The type of the chunk",
|
72
|
-
enum: ['text', 'image', 'table', 'chart', 'diagram', 'code', 'other'],
|
73
|
-
nullable: true
|
74
|
-
},
|
75
|
-
page_number: {
|
76
|
-
type: "integer",
|
77
|
-
description: "The page number of the document part",
|
78
|
-
nullable: true
|
79
|
-
},
|
80
|
-
description: {
|
81
|
-
type: "string",
|
82
|
-
description: "The description of the document part, if it's an image, the exhaustive description of the image",
|
83
|
-
nullable: true
|
84
|
-
},
|
85
|
-
height: {
|
86
|
-
type: "integer",
|
87
|
-
description: "The height of the rendition",
|
88
|
-
nullable: true
|
89
|
-
},
|
90
|
-
width: {
|
91
|
-
type: "integer",
|
92
|
-
description: "The width of the rendition",
|
93
|
-
nullable: true
|
94
|
-
}
|
95
|
-
},
|
96
|
-
required: ["part_number"],
|
97
|
-
};
|
98
|
-
//# sourceMappingURL=object-types.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"object-types.js","sourceRoot":"","sources":["../../../src/store/object-types.ts"],"names":[],"mappings":";;;AAaa,QAAA,eAAe,GAAwC;IAEhE,IAAI,EAAE,QAAQ;IACd,WAAW,EAAE,8GAA8G;IAC3H,UAAU,EAAE;QACR,SAAS,EAAE;YACP,IAAI,EAAE,QAAQ;YACd,WAAW,EAAE,mDAAmD;SACnE;QACD,WAAW,EAAE;YACT,IAAI,EAAE,QAAQ;YACd,WAAW,EAAE,8CAA8C;YAC3D,QAAQ,EAAE,IAAI;SACjB;QACD,MAAM,EAAE;YACJ,IAAI,EAAE,SAAS;YACf,WAAW,EAAE,6BAA6B;YAC1C,QAAQ,EAAE,IAAI;SACjB;QACD,KAAK,EAAE;YACH,IAAI,EAAE,SAAS;YACf,WAAW,EAAE,4BAA4B;YACzC,QAAQ,EAAE,IAAI;SACjB;QACD,SAAS,EAAE;YACP,IAAI,EAAE,SAAS;YACf,WAAW,EAAE,4CAA4C;YACzD,QAAQ,EAAE,IAAI;YACd,OAAO,EAAE,KAAK;SACjB;QACD,WAAW,EAAE;YACT,IAAI,EAAE,SAAS;YACf,WAAW,EAAE,4CAA4C;YACzD,QAAQ,EAAE,IAAI;SACjB;KACJ;IACD,QAAQ,EAAE,CAAC,WAAW,CAAC;CAC1B,CAAA;AAoBY,QAAA,kBAAkB,GAA2C;IACtE,IAAI,EAAE,QAAQ;IACd,WAAW,EAAE,0CAA0C;IACvD,UAAU,EAAE;QACR,WAAW,EAAE;YACT,IAAI,EAAE,QAAQ;YACd,WAAW,EAAE,8CAA8C;YAC3D,QAAQ,EAAE,IAAI;SACjB;QACD,WAAW,EAAE;YACT,IAAI,EAAE,SAAS;YACf,WAAW,EAAE,8BAA8B;SAC9C;QACD,KAAK,EAAE;YACH,IAAI,EAAE,QAAQ;YACd,WAAW,EAAE,wBAAwB;YACrC,QAAQ,EAAE,IAAI;SACjB;QACD,iBAAiB,EAAE;YACf,IAAI,EAAE,SAAS;YACf,WAAW,EAAE,wCAAwC;YACrD,QAAQ,EAAE,IAAI;SACjB;QACD,eAAe,EAAE;YACb,IAAI,EAAE,SAAS;YACf,WAAW,EAAE,sCAAsC;YACnD,QAAQ,EAAE,IAAI;SACjB;QACD,IAAI,EAAE;YACF,IAAI,EAAE,QAAQ;YACd,WAAW,EAAE,uBAAuB;YACpC,IAAI,EAAE,CAAC,MAAM,EAAE,OAAO,EAAE,OAAO,EAAE,OAAO,EAAE,SAAS,EAAE,MAAM,EAAE,OAAO,CAAC;YACrE,QAAQ,EAAE,IAAI;SACjB;QACD,WAAW,EAAE;YACT,IAAI,EAAE,SAAS;YACf,WAAW,EAAE,sCAAsC;YACnD,QAAQ,EAAE,IAAI;SACjB;QACD,WAAW,EAAE;YACT,IAAI,EAAE,QAAQ;YACd,WAAW,EAAE,iGAAiG;YAC9G,QAAQ,EAAE,IAAI;SACjB;QACD,MAAM,EAAE;YACJ,IAAI,EAAE,SAAS;YACf,WAAW,EAAE,6BAA6B;YAC1C,QAAQ,EAAE,IAAI;SACjB;QACD,KAAK,EAAE;YACH,IAAI,EAAE,SAAS;YACf,WAAW,EAAE,4BAA4B;YACzC,QAAQ,EAAE,IAAI;SACjB;KACJ;IACD,QAAQ,EAAE,CAAC,aAAa,CAAC;CAC5B,CAAA"}
|
package/lib/cjs/store/signals.js
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"signals.js","sourceRoot":"","sources":["../../../src/store/signals.ts"],"names":[],"mappings":""}
|