@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
@@ -1,382 +0,0 @@
|
|
1
|
-
import type { JSONObject, JSONSchema, Modalities, ModelOptions, StatelessExecutionOptions, ToolDefinition, ToolUse } from "@llumiverse/core";
|
2
|
-
import { JSONSchema4 } from "json-schema";
|
3
|
-
import { ExecutionTokenUsage } from "@llumiverse/core";
|
4
|
-
import { ExecutionEnvironmentRef } from "./environment.js";
|
5
|
-
import { ProjectRef } from "./project.js";
|
6
|
-
import { PopulatedPromptSegmentDef, PromptSegmentDef, PromptTemplateRef, PromptTemplateRefWithSchema } from "./prompt.js";
|
7
|
-
import { ExecutionRunDocRef } from "./runs.js";
|
8
|
-
import { AccountRef } from "./user.js";
|
9
|
-
export interface InteractionExecutionError {
|
10
|
-
code: string;
|
11
|
-
message: string;
|
12
|
-
data?: any;
|
13
|
-
}
|
14
|
-
/**
|
15
|
-
* The payload to query the interaction endpoints
|
16
|
-
*/
|
17
|
-
export interface InteractionEndpointQuery {
|
18
|
-
limit?: number;
|
19
|
-
offset?: number;
|
20
|
-
status?: InteractionStatus;
|
21
|
-
visibility?: InteractionVisibility;
|
22
|
-
version?: number;
|
23
|
-
tags?: string[];
|
24
|
-
/**
|
25
|
-
* Filter by interaction endpoint name to include only the specified endpoints
|
26
|
-
* * If both includes and excludes are specified then omly the includes filter will be used.
|
27
|
-
*/
|
28
|
-
includes?: string[];
|
29
|
-
/**
|
30
|
-
* Filter by interaction endpoint name to excludes the specified endpoints.
|
31
|
-
* If both includes and excludes are specified then omly the includes filter will be used.
|
32
|
-
*/
|
33
|
-
excludes?: string[];
|
34
|
-
/**
|
35
|
-
* Whether or not to return the parameters schema.
|
36
|
-
* The parameters schema is an array of JSON schemas.
|
37
|
-
* Each schema is a JSON schema that describes the parameters of an interaction prompt.
|
38
|
-
*/
|
39
|
-
include_params_schema?: boolean;
|
40
|
-
/**
|
41
|
-
* Whether or not to return the result schema
|
42
|
-
*/
|
43
|
-
include_result_schema?: boolean;
|
44
|
-
}
|
45
|
-
/**
|
46
|
-
* A description of an interaction endpoint.
|
47
|
-
*/
|
48
|
-
export interface InteractionEndpoint {
|
49
|
-
id: string;
|
50
|
-
name: string;
|
51
|
-
endpoint: string;
|
52
|
-
description?: string;
|
53
|
-
status: InteractionStatus;
|
54
|
-
visibility?: InteractionVisibility;
|
55
|
-
version: number;
|
56
|
-
tags: string[];
|
57
|
-
result_schema?: JSONSchema;
|
58
|
-
params_schema?: JSONSchema;
|
59
|
-
}
|
60
|
-
export interface InteractionRef {
|
61
|
-
id: string;
|
62
|
-
name: string;
|
63
|
-
endpoint: string;
|
64
|
-
parent?: string;
|
65
|
-
description?: string;
|
66
|
-
status: InteractionStatus;
|
67
|
-
visibility?: InteractionVisibility;
|
68
|
-
version: number;
|
69
|
-
tags: string[];
|
70
|
-
prompts?: PromptSegmentDef<PromptTemplateRef>[];
|
71
|
-
updated_at: Date;
|
72
|
-
}
|
73
|
-
export declare const InteractionRefPopulate = "id name endpoint parent description status version visibility tags updated_at prompts";
|
74
|
-
export interface InteractionRefWithSchema extends Omit<InteractionRef, "prompts"> {
|
75
|
-
result_schema?: JSONSchema4;
|
76
|
-
prompts?: PromptSegmentDef<PromptTemplateRefWithSchema>[];
|
77
|
-
}
|
78
|
-
export interface InteractionsExportPayload {
|
79
|
-
/**
|
80
|
-
* The name of the interaction. If not spcified all the interactions in the current project will be exported
|
81
|
-
*/
|
82
|
-
name?: string;
|
83
|
-
tags?: string[];
|
84
|
-
versions?: (number | "draft" | "latest")[];
|
85
|
-
}
|
86
|
-
export declare enum InteractionStatus {
|
87
|
-
draft = "draft",
|
88
|
-
published = "published",
|
89
|
-
archived = "archived"
|
90
|
-
}
|
91
|
-
export declare enum ExecutionRunStatus {
|
92
|
-
created = "created",
|
93
|
-
processing = "processing",
|
94
|
-
completed = "completed",
|
95
|
-
failed = "failed"
|
96
|
-
}
|
97
|
-
export declare enum RunDataStorageLevel {
|
98
|
-
STANDARD = "STANDARD",
|
99
|
-
RESTRICTED = "RESTRICTED",
|
100
|
-
DEBUG = "DEBUG"
|
101
|
-
}
|
102
|
-
export declare enum RunDataStorageDescription {
|
103
|
-
STANDARD = "Run data is stored for both the model inputs and output.",
|
104
|
-
RESTRICTED = "No run data is stored for the model inputs \u2014 only the model output.",
|
105
|
-
DEBUG = "Run data is stored for the model inputs and output, schema, and final prompt."
|
106
|
-
}
|
107
|
-
export declare const RunDataStorageOptions: Record<RunDataStorageLevel, RunDataStorageDescription>;
|
108
|
-
/**
|
109
|
-
* Schema can be stored or specified as a reference to an external schema.
|
110
|
-
* We only support "store:" references for now
|
111
|
-
*/
|
112
|
-
export interface SchemaRef {
|
113
|
-
$uri: string;
|
114
|
-
}
|
115
|
-
export interface CachePolicy {
|
116
|
-
type: "cache" | "no_cache" | "cache_and_refresh";
|
117
|
-
refresh_probability: number;
|
118
|
-
varies_on: string[];
|
119
|
-
ttl: number;
|
120
|
-
}
|
121
|
-
export type InteractionVisibility = "public" | "private";
|
122
|
-
export interface Interaction {
|
123
|
-
readonly id: string;
|
124
|
-
name: string;
|
125
|
-
endpoint: string;
|
126
|
-
description?: string;
|
127
|
-
status: InteractionStatus;
|
128
|
-
parent?: string;
|
129
|
-
visibility: InteractionVisibility;
|
130
|
-
version: number;
|
131
|
-
tags: string[];
|
132
|
-
test_data?: JSONObject;
|
133
|
-
interaction_schema?: JSONSchema4 | SchemaRef;
|
134
|
-
result_schema?: JSONSchema4 | SchemaRef;
|
135
|
-
cache_policy?: CachePolicy;
|
136
|
-
model: string;
|
137
|
-
model_options?: ModelOptions;
|
138
|
-
prompts: PromptSegmentDef[];
|
139
|
-
output_modality?: Modalities;
|
140
|
-
environment: string | ExecutionEnvironmentRef;
|
141
|
-
restriction?: RunDataStorageLevel;
|
142
|
-
project: string | ProjectRef;
|
143
|
-
last_published_at?: Date;
|
144
|
-
created_by: string;
|
145
|
-
updated_by: string;
|
146
|
-
created_at: Date;
|
147
|
-
updated_at: Date;
|
148
|
-
}
|
149
|
-
export interface PopulatedInteraction extends Omit<Interaction, "prompts"> {
|
150
|
-
prompts: PopulatedPromptSegmentDef[];
|
151
|
-
}
|
152
|
-
export interface InteractionCreatePayload extends Omit<Interaction, "id" | "created_at" | "updated_at" | "created_by" | "updated_by" | "project" | "formatter" | "tags" | "parent" | "version" | "visibility" | "endpoint"> {
|
153
|
-
visibility?: InteractionVisibility;
|
154
|
-
}
|
155
|
-
export interface InteractionUpdatePayload extends Partial<Omit<Interaction, "result_schema" | "id" | "created_at" | "updated_at" | "created_by" | "updated_by" | "project">> {
|
156
|
-
result_schema?: JSONSchema4 | null;
|
157
|
-
}
|
158
|
-
export interface InteractionPublishPayload {
|
159
|
-
visibility?: InteractionVisibility;
|
160
|
-
tags?: string[];
|
161
|
-
}
|
162
|
-
export interface InteractionForkPayload {
|
163
|
-
keepTags?: boolean;
|
164
|
-
forkPrompts?: boolean;
|
165
|
-
targetProject?: string;
|
166
|
-
}
|
167
|
-
export interface InteractionExecutionPayload {
|
168
|
-
/**
|
169
|
-
* If a `@memory` property exists on the input data then the value will be used as the value of a memory pack location.
|
170
|
-
* and the other proerties of the data will contain the memory pack mapping.
|
171
|
-
*/
|
172
|
-
data?: Record<string, any> | `memory:${string}`;
|
173
|
-
config?: InteractionExecutionConfiguration;
|
174
|
-
result_schema?: JSONSchema4;
|
175
|
-
stream?: boolean;
|
176
|
-
do_validate?: boolean;
|
177
|
-
tags?: string | string[];
|
178
|
-
/**
|
179
|
-
* The conversation state to be used in the execution if any.
|
180
|
-
* If the `true` is passed then the conversation will be returned in the result.
|
181
|
-
* The true value must be used for the first execution that starts the conversation.
|
182
|
-
* If conversation is falsy then no conversation is returned back.
|
183
|
-
* For regular executions the conversation is not returned back to save memory.
|
184
|
-
*/
|
185
|
-
conversation?: true | unknown;
|
186
|
-
/**
|
187
|
-
* The tools to be used in the execution
|
188
|
-
*/
|
189
|
-
tools?: ToolDefinition[];
|
190
|
-
}
|
191
|
-
export interface NamedInteractionExecutionPayload extends InteractionExecutionPayload {
|
192
|
-
/**
|
193
|
-
* The interaction name and suffixed by an optional tag or version separated from the name using a @ character
|
194
|
-
* If no version/tag part is specified then the latest version is used.
|
195
|
-
* Example: ReviewContract, ReviewContract@draft, ReviewContract@1, ReviewContract@some-tag
|
196
|
-
*/
|
197
|
-
interaction: string;
|
198
|
-
}
|
199
|
-
export type ToolRef = string | {
|
200
|
-
name: string;
|
201
|
-
description: string;
|
202
|
-
};
|
203
|
-
interface AsyncExecutionPayloadBase {
|
204
|
-
type: "conversation" | "interaction";
|
205
|
-
/**
|
206
|
-
* The interaction endpoint to execute to start the conversation.
|
207
|
-
*/
|
208
|
-
interaction: string;
|
209
|
-
/**
|
210
|
-
* The environment ID to use.
|
211
|
-
*/
|
212
|
-
environment?: string;
|
213
|
-
/**
|
214
|
-
* The model to use
|
215
|
-
*/
|
216
|
-
model?: string;
|
217
|
-
/**
|
218
|
-
* The options to use on the first execution
|
219
|
-
*/
|
220
|
-
model_options?: ModelOptions;
|
221
|
-
/**
|
222
|
-
* The initial prompt input data
|
223
|
-
*/
|
224
|
-
prompt_data?: Record<string, any>;
|
225
|
-
/**
|
226
|
-
* Optional result schema
|
227
|
-
*/
|
228
|
-
result_schema?: JSONSchema;
|
229
|
-
/**
|
230
|
-
* Optional tags to add to the execution run
|
231
|
-
*/
|
232
|
-
tags?: string[];
|
233
|
-
}
|
234
|
-
export interface AsyncConversationExecutionPayload extends AsyncExecutionPayloadBase {
|
235
|
-
type: "conversation";
|
236
|
-
/**
|
237
|
-
* The tools to use
|
238
|
-
*/
|
239
|
-
tools?: ToolRef[];
|
240
|
-
/**
|
241
|
-
* The maximum number of iterations in case of a conversation. If <=0 the default of 20 will be used.
|
242
|
-
*/
|
243
|
-
max_iterations?: number;
|
244
|
-
/**
|
245
|
-
* Whether the conversation should be interactive or not
|
246
|
-
*/
|
247
|
-
interactive?: boolean;
|
248
|
-
/**
|
249
|
-
* Whether to disable the generation of interaction tools or not.
|
250
|
-
*/
|
251
|
-
disable_interaction_tools?: boolean;
|
252
|
-
}
|
253
|
-
export interface AsyncInteractionExecutionPayload extends AsyncExecutionPayloadBase {
|
254
|
-
type: "interaction";
|
255
|
-
/**
|
256
|
-
* The tools to use
|
257
|
-
*/
|
258
|
-
tools?: ToolDefinition[];
|
259
|
-
/**
|
260
|
-
* Only used for non conversation workflows to include the error on next retry.
|
261
|
-
* If tools is defined this is not used
|
262
|
-
*/
|
263
|
-
include_previous_error?: boolean;
|
264
|
-
}
|
265
|
-
export type AsyncExecutionPayload = AsyncConversationExecutionPayload | AsyncInteractionExecutionPayload;
|
266
|
-
interface ResumeConversationPayload {
|
267
|
-
run: ExecutionRunDocRef;
|
268
|
-
environment: string;
|
269
|
-
options: StatelessExecutionOptions;
|
270
|
-
conversation: unknown;
|
271
|
-
tools: ToolDefinition[];
|
272
|
-
}
|
273
|
-
/**
|
274
|
-
* The payload to sent the tool responses back to the target LLM
|
275
|
-
*/
|
276
|
-
export interface ToolResultsPayload extends ResumeConversationPayload {
|
277
|
-
results: {
|
278
|
-
tool_use_id: string;
|
279
|
-
content: string;
|
280
|
-
}[];
|
281
|
-
}
|
282
|
-
export interface UserMessagePayload extends ResumeConversationPayload {
|
283
|
-
message: string;
|
284
|
-
}
|
285
|
-
export type CheckpointConversationPayload = Omit<ToolResultsPayload, "results">;
|
286
|
-
export declare enum RunSourceTypes {
|
287
|
-
api = "api",
|
288
|
-
cli = "cli",
|
289
|
-
ui = "ui",
|
290
|
-
webhook = "webhook",
|
291
|
-
test = "test-data",
|
292
|
-
system = "system"
|
293
|
-
}
|
294
|
-
export interface RunSource {
|
295
|
-
type: RunSourceTypes;
|
296
|
-
label: string;
|
297
|
-
principal_type: "user" | "apikey";
|
298
|
-
principal_id: string;
|
299
|
-
client_ip: string;
|
300
|
-
}
|
301
|
-
export interface ExecutionRun<P = any, R = any> {
|
302
|
-
readonly id: string;
|
303
|
-
/**
|
304
|
-
* Only used by runs that were created by a virtual run to point toward the virtual run parent
|
305
|
-
*/
|
306
|
-
parent?: string | ExecutionRun;
|
307
|
-
evaluation?: {
|
308
|
-
score?: number;
|
309
|
-
selected?: boolean;
|
310
|
-
scores?: Record<string, number>;
|
311
|
-
};
|
312
|
-
result: R;
|
313
|
-
/**
|
314
|
-
* The parameters used to create the interaction.
|
315
|
-
* If the parameters contains the special property "@memory" it will be used
|
316
|
-
* to locate a meory pack and the other properties will be used as the memory pack mapping.
|
317
|
-
*/
|
318
|
-
parameters: P;
|
319
|
-
tags?: string[];
|
320
|
-
interaction: Interaction;
|
321
|
-
environment: ExecutionEnvironmentRef;
|
322
|
-
modelId: string;
|
323
|
-
result_schema: JSONSchema4;
|
324
|
-
ttl: number;
|
325
|
-
status: ExecutionRunStatus;
|
326
|
-
finish_reason?: string;
|
327
|
-
prompt: any;
|
328
|
-
token_use?: ExecutionTokenUsage;
|
329
|
-
chunks?: number;
|
330
|
-
execution_time?: number;
|
331
|
-
created_at: Date;
|
332
|
-
updated_at: Date;
|
333
|
-
account: AccountRef;
|
334
|
-
project: ProjectRef;
|
335
|
-
config: InteractionExecutionConfiguration;
|
336
|
-
error?: InteractionExecutionError;
|
337
|
-
source: RunSource;
|
338
|
-
output_modality: Modalities;
|
339
|
-
created_by: string;
|
340
|
-
updated_by: string;
|
341
|
-
}
|
342
|
-
export interface InteractionExecutionResult<P = any, R = any> extends ExecutionRun<P, R> {
|
343
|
-
tool_use?: ToolUse[];
|
344
|
-
conversation?: unknown;
|
345
|
-
options?: StatelessExecutionOptions;
|
346
|
-
}
|
347
|
-
export interface ExecutionRunRef extends Omit<ExecutionRun, "result" | "parameters" | "interaction"> {
|
348
|
-
interaction: InteractionRef;
|
349
|
-
}
|
350
|
-
export declare const ExecutionRunRefSelect = "-result -parameters -result_schema -prompt";
|
351
|
-
export declare enum ConfigModes {
|
352
|
-
RUN_AND_INTERACTION_CONFIG = "RUN_AND_INTERACTION_CONFIG",
|
353
|
-
RUN_CONFIG_ONLY = "RUN_CONFIG_ONLY",
|
354
|
-
INTERACTION_CONFIG_ONLY = "INTERACTION_CONFIG_ONLY"
|
355
|
-
}
|
356
|
-
export declare enum ConfigModesDescription {
|
357
|
-
RUN_AND_INTERACTION_CONFIG = "This run configuration is used. Undefined options are filled with interaction configuration.",
|
358
|
-
RUN_CONFIG_ONLY = "Only this run configuration is used. Undefined options remain undefined.",
|
359
|
-
INTERACTION_CONFIG_ONLY = "Only interaction configuration is used."
|
360
|
-
}
|
361
|
-
export declare const ConfigModesOptions: Record<ConfigModes, ConfigModesDescription>;
|
362
|
-
export interface InteractionExecutionConfiguration {
|
363
|
-
environment?: string;
|
364
|
-
model?: string;
|
365
|
-
do_validate?: boolean;
|
366
|
-
run_data?: RunDataStorageLevel;
|
367
|
-
configMode?: ConfigModes;
|
368
|
-
model_options?: ModelOptions;
|
369
|
-
}
|
370
|
-
export interface GenerateInteractionPayload {
|
371
|
-
description: string;
|
372
|
-
config: InteractionExecutionConfiguration;
|
373
|
-
}
|
374
|
-
export interface GenerateTestDataPayload {
|
375
|
-
message?: string;
|
376
|
-
count?: number;
|
377
|
-
config: InteractionExecutionConfiguration;
|
378
|
-
}
|
379
|
-
export interface ImprovePromptPayload {
|
380
|
-
config: InteractionExecutionConfiguration;
|
381
|
-
}
|
382
|
-
export {};
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"interaction.d.ts","sourceRoot":"","sources":["../../src/interaction.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACR,UAAU,EACV,UAAU,EACV,UAAU,EACV,YAAY,EACZ,yBAAyB,EACzB,cAAc,EACd,OAAO,EACV,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAE1C,OAAO,EAAE,mBAAmB,EAAE,MAAM,kBAAkB,CAAC;AAEvD,OAAO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M,qBAAqB,+CAA+C,CAAC;AAElF,oBAAY,WAAW;IACnB,0BAA0B,+BAA+B;IACzD,eAAe,oBAAoB;IACnC,uBAAuB,4BAA4B;CACtD;AAED,oBAAY,sBAAsB;IAC9B,0BAA0B,iGAAiG;IAC3H,eAAe,6EAA6E;IAC5F,uBAAuB,4CAA4C;CACtE;AAED,eAAO,MAAM,kBAAkB,EAAE,MAAM,CAAC,WAAW,EAAE,sBAAsB,CAI1E,CAAC;AAEF,MAAM,WAAW,iCAAiC;IAC9C,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,QAAQ,CAAC,EAAE,mBAAmB,CAAC;IAC/B,UAAU,CAAC,EAAE,WAAW,CAAC;IACzB,aAAa,CAAC,EAAE,YAAY,CAAC;CAChC;AAED,MAAM,WAAW,0BAA0B;IACvC,WAAW,EAAE,MAAM,CAAC;IACpB,MAAM,EAAE,iCAAiC,CAAC;CAC7C;AAED,MAAM,WAAW,uBAAuB;IACpC,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,iCAAiC,CAAC;CAC7C;AAED,MAAM,WAAW,oBAAoB;IACjC,MAAM,EAAE,iCAAiC,CAAC;CAC7C"}
|
package/lib/types/meters.d.ts
DELETED
@@ -1,23 +0,0 @@
|
|
1
|
-
import { BillingMethod } from "./user.js";
|
2
|
-
export interface MeterAdjustment {
|
3
|
-
meter: string;
|
4
|
-
value: string;
|
5
|
-
identifier?: string;
|
6
|
-
}
|
7
|
-
export interface AdjustMetersMeterWorkflowParams {
|
8
|
-
adjustments: MeterAdjustment[];
|
9
|
-
}
|
10
|
-
export declare enum MeterNames {
|
11
|
-
analyzed_pages = "analyzed_pages",
|
12
|
-
extracted_tables = "extracted_tables",
|
13
|
-
analyzed_images = "analyzed_images",
|
14
|
-
input_token_used = "input_token_used",
|
15
|
-
output_token_used = "output_token_used",
|
16
|
-
task_run = "task_run"
|
17
|
-
}
|
18
|
-
export interface StripeBillingStatusResponse {
|
19
|
-
status: 'enabled' | 'disabled';
|
20
|
-
billing_method: BillingMethod | null;
|
21
|
-
portal_url?: string;
|
22
|
-
reason?: string;
|
23
|
-
}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"meters.d.ts","sourceRoot":"","sources":["../../src/meters.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,WAAW,CAAC;AAG1C,MAAM,WAAW,eAAe;IAC5B,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,UAAU,CAAC,EAAE,MAAM,CAAC;CACvB;AAGD,MAAM,WAAW,+BAA+B;IAC5C,WAAW,EAAE,eAAe,EAAE,CAAC;CAClC;AAED,oBAAY,UAAU;IAClB,cAAc,mBAAmB;IACjC,gBAAgB,qBAAqB;IACrC,eAAe,oBAAoB;IACnC,gBAAgB,qBAAqB;IACrC,iBAAiB,sBAAsB;IACvC,QAAQ,aAAa;CACxB;AAGD,MAAM,WAAW,2BAA2B;IACxC,MAAM,EAAE,SAAS,GAAG,UAAU,CAAC;IAC/B,cAAc,EAAE,aAAa,GAAG,IAAI,CAAC;IACrC,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,MAAM,CAAC,EAAE,MAAM,CAAA;CAClB"}
|
package/lib/types/payload.d.ts
DELETED
@@ -1,49 +0,0 @@
|
|
1
|
-
import { FacetSpec } from './facets.js';
|
2
|
-
import { ComplexSearchQuery, InteractionSearchQuery, ObjectSearchQuery, ObjectTypeSearchQuery, PromptSearchQuery, RunSearchQuery, SimpleSearchQuery, VectorSearchQuery } from './query.js';
|
3
|
-
export interface SearchPayload {
|
4
|
-
query?: SimpleSearchQuery;
|
5
|
-
limit?: number;
|
6
|
-
offset?: number;
|
7
|
-
}
|
8
|
-
export interface ComputeFacetPayload {
|
9
|
-
facets: FacetSpec[];
|
10
|
-
query?: SimpleSearchQuery;
|
11
|
-
}
|
12
|
-
export interface InteractionSearchPayload extends SearchPayload {
|
13
|
-
query?: InteractionSearchQuery;
|
14
|
-
}
|
15
|
-
export interface ObjectSearchPayload extends SearchPayload {
|
16
|
-
query?: ObjectSearchQuery;
|
17
|
-
}
|
18
|
-
export interface ObjectTypeSearchPayload extends SearchPayload {
|
19
|
-
query?: ObjectTypeSearchQuery;
|
20
|
-
}
|
21
|
-
export interface PromptSearchPayload extends SearchPayload {
|
22
|
-
query?: PromptSearchQuery;
|
23
|
-
}
|
24
|
-
export interface RunSearchPayload extends SearchPayload {
|
25
|
-
query?: RunSearchQuery;
|
26
|
-
}
|
27
|
-
export interface ComputeInteractionFacetPayload extends ComputeFacetPayload {
|
28
|
-
query?: InteractionSearchQuery;
|
29
|
-
}
|
30
|
-
export interface ComputeObjectFacetPayload extends ComputeFacetPayload {
|
31
|
-
query?: ObjectSearchQuery;
|
32
|
-
vector?: VectorSearchQuery;
|
33
|
-
}
|
34
|
-
export interface ComputePromptFacetPayload extends ComputeFacetPayload {
|
35
|
-
query?: PromptSearchQuery;
|
36
|
-
}
|
37
|
-
export interface ComputeRunFacetPayload extends ComputeFacetPayload {
|
38
|
-
query?: RunSearchQuery;
|
39
|
-
}
|
40
|
-
export interface ExportPropertiesPayload {
|
41
|
-
objectIds: string[];
|
42
|
-
type: string;
|
43
|
-
query?: ComplexSearchQuery;
|
44
|
-
}
|
45
|
-
export interface ExportPropertiesResponse {
|
46
|
-
type: string;
|
47
|
-
name: string;
|
48
|
-
data: Blob;
|
49
|
-
}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"payload.d.ts","sourceRoot":"","sources":["../../src/payload.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,kBAAkB,EAAE,sBAAsB,EAAE,iBAAiB,EAAE,qBAAqB,EAAE,iBAAiB,EAAE,cAAc,EAAE,iBAA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AED,MAAM,WAAW,wBAAwB;IACrC,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,IAAI,CAAC;CACd"}
|
package/lib/types/project.d.ts
DELETED
@@ -1,102 +0,0 @@
|
|
1
|
-
import { SupportedIntegrations } from "./integrations.js";
|
2
|
-
import { AccountRef } from "./user.js";
|
3
|
-
export interface ICreateProjectPayload {
|
4
|
-
name: string;
|
5
|
-
namespace: string;
|
6
|
-
description?: string;
|
7
|
-
auto_config?: boolean;
|
8
|
-
}
|
9
|
-
export declare enum ProjectRoles {
|
10
|
-
owner = "owner",// all permissions
|
11
|
-
admin = "admin",// all permissions
|
12
|
-
project_admin = "project_admin",// all permissions but manage_account, manage_billing
|
13
|
-
developer = "developer",// all permissions but manage_account, manage_billing, manage_roles, delete
|
14
|
-
application = "application",// executor + request_pk
|
15
|
-
executor = "executor",// can only read and execute interactions
|
16
|
-
reader = "reader",// can only read (browse)
|
17
|
-
billing = "billing",// can only manage billings
|
18
|
-
member = "member"
|
19
|
-
}
|
20
|
-
export declare function isRoleIncludedIn(role: string, includingRole: string): boolean;
|
21
|
-
export interface PopulatedProjectRef {
|
22
|
-
id: string;
|
23
|
-
name: string;
|
24
|
-
account: AccountRef;
|
25
|
-
}
|
26
|
-
export interface ProjectRef {
|
27
|
-
id: string;
|
28
|
-
name: string;
|
29
|
-
account: string;
|
30
|
-
/**
|
31
|
-
* Only set when fetching the list of projects visible to an user which is an org admin or owner.
|
32
|
-
* If present and true, it means that the project is not accessible to the user.(even if it visible in listing)
|
33
|
-
* If not present or false then the project is accessible to the user.
|
34
|
-
*/
|
35
|
-
restricted?: boolean;
|
36
|
-
}
|
37
|
-
export declare enum ResourceVisibility {
|
38
|
-
public = "public",
|
39
|
-
account = "account",
|
40
|
-
project = "project"
|
41
|
-
}
|
42
|
-
export interface ProjectConfiguration {
|
43
|
-
human_context: string;
|
44
|
-
default_environment?: string;
|
45
|
-
default_model?: string;
|
46
|
-
embeddings: {
|
47
|
-
text?: ProjectConfigurationEmbeddings;
|
48
|
-
image?: ProjectConfigurationEmbeddings;
|
49
|
-
properties?: ProjectConfigurationEmbeddings;
|
50
|
-
};
|
51
|
-
datacenter?: string;
|
52
|
-
storage_bucket?: string;
|
53
|
-
}
|
54
|
-
export declare enum SupportedEmbeddingTypes {
|
55
|
-
text = "text",
|
56
|
-
image = "image",
|
57
|
-
properties = "properties"
|
58
|
-
}
|
59
|
-
export interface ProjectConfigurationEmbeddings {
|
60
|
-
environment: string;
|
61
|
-
enabled: boolean;
|
62
|
-
dimensions: number;
|
63
|
-
max_tokens?: number;
|
64
|
-
model?: string;
|
65
|
-
}
|
66
|
-
export interface Project {
|
67
|
-
id: string;
|
68
|
-
name: string;
|
69
|
-
namespace: string;
|
70
|
-
description?: string;
|
71
|
-
account: string;
|
72
|
-
configuration: ProjectConfiguration;
|
73
|
-
integrations: Map<string, any>;
|
74
|
-
created_by: string;
|
75
|
-
updated_by: string;
|
76
|
-
created_at: Date;
|
77
|
-
updated_at: Date;
|
78
|
-
}
|
79
|
-
export interface ProjectCreatePayload {
|
80
|
-
name: string;
|
81
|
-
description?: string;
|
82
|
-
}
|
83
|
-
export interface ProjectUpdatePayload extends Partial<Project> {
|
84
|
-
}
|
85
|
-
export declare const ProjectRefPopulate = "id name account";
|
86
|
-
export interface EmbeddingsStatusResponse {
|
87
|
-
status: string;
|
88
|
-
embeddingRunsInProgress: number;
|
89
|
-
totalRunsInProgress: number;
|
90
|
-
totalIndexableObjects: number;
|
91
|
-
embeddingsModels: string[];
|
92
|
-
objectsWithEmbeddings: number;
|
93
|
-
vectorIndex: {
|
94
|
-
status: "READY" | "PENDING" | "DELETING" | "ABSENT";
|
95
|
-
name?: string;
|
96
|
-
type?: string;
|
97
|
-
};
|
98
|
-
}
|
99
|
-
export interface ProjectIntegrationListEntry {
|
100
|
-
id: SupportedIntegrations;
|
101
|
-
enabled: boolean;
|
102
|
-
}
|
@@ -1 +0,0 @@
|
|
1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,MAAM,CAAC;IAC9B,gBAAgB,EAAE,MAAM,EAAE,CAAC;IAC3B,qBAAqB,EAAE,MAAM,CAAC;IAC9B,WAAW,EAAE;QACT,MAAM,EAAE,OAAO,GAAG,SAAS,GAAG,UAAU,GAAG,QAAQ,CAAC;QACpD,IAAI,CAAC,EAAE,MAAM,CAAC;QACd,IAAI,CAAC,EAAE,MAAM,CAAA;KAChB,CAAA;CACJ;AAED,MAAM,WAAW,2BAA2B;IACxC,EAAE,EAAE,qBAAqB,CAAC;IAC1B,OAAO,EAAE,OAAO,CAAC;CACpB"}
|
package/lib/types/prompt.d.ts
DELETED
@@ -1,70 +0,0 @@
|
|
1
|
-
import { JSONSchema4 } from "json-schema";
|
2
|
-
import type { JSONObject } from "@llumiverse/core";
|
3
|
-
import { ProjectRef } from "./project.js";
|
4
|
-
import { PromptRole } from "@llumiverse/core";
|
5
|
-
export interface ChatPromptSchema {
|
6
|
-
role: PromptRole.user | PromptRole.assistant;
|
7
|
-
content: string;
|
8
|
-
}
|
9
|
-
export declare enum PromptStatus {
|
10
|
-
draft = "draft",
|
11
|
-
published = "published",
|
12
|
-
archived = "archived"
|
13
|
-
}
|
14
|
-
export declare enum PromptSegmentDefType {
|
15
|
-
chat = "chat",
|
16
|
-
template = "template"
|
17
|
-
}
|
18
|
-
export interface PromptSegmentDef<T = string | PromptTemplate | PromptTemplateRef> {
|
19
|
-
type: PromptSegmentDefType;
|
20
|
-
template?: T;
|
21
|
-
configuration?: any;
|
22
|
-
}
|
23
|
-
export interface PopulatedPromptSegmentDef extends Omit<PromptSegmentDef, "template"> {
|
24
|
-
template?: PromptTemplate;
|
25
|
-
}
|
26
|
-
export interface PromptTemplateRef {
|
27
|
-
id: string;
|
28
|
-
name: string;
|
29
|
-
role: PromptRole;
|
30
|
-
version: number;
|
31
|
-
status: PromptStatus;
|
32
|
-
content_type: TemplateType;
|
33
|
-
}
|
34
|
-
export interface PromptTemplateRefWithSchema extends PromptTemplateRef {
|
35
|
-
inputSchema?: JSONSchema4;
|
36
|
-
}
|
37
|
-
export declare enum TemplateType {
|
38
|
-
text = "text",
|
39
|
-
js = "js",
|
40
|
-
jst = "jst"
|
41
|
-
}
|
42
|
-
export interface PromptTemplate {
|
43
|
-
id: string;
|
44
|
-
name: string;
|
45
|
-
role: PromptRole;
|
46
|
-
status: PromptStatus;
|
47
|
-
version: number;
|
48
|
-
parent?: string;
|
49
|
-
description?: string;
|
50
|
-
content_type: TemplateType;
|
51
|
-
content: string;
|
52
|
-
test_data?: JSONObject;
|
53
|
-
script?: string;
|
54
|
-
inputSchema?: JSONSchema4;
|
55
|
-
project: string | ProjectRef;
|
56
|
-
tags?: string[];
|
57
|
-
last_published_at?: Date;
|
58
|
-
created_by: string;
|
59
|
-
updated_by: string;
|
60
|
-
created_at: Date;
|
61
|
-
updated_at: Date;
|
62
|
-
}
|
63
|
-
export interface PromptTemplateForkPayload {
|
64
|
-
keepTags?: boolean;
|
65
|
-
targetProject?: string;
|
66
|
-
}
|
67
|
-
export interface PromptTemplateCreatePayload extends Omit<PromptTemplate, "id" | "created_at" | "updated_at" | "created_by" | "updated_by" | "project" | "status" | "version"> {
|
68
|
-
}
|
69
|
-
export interface PromptTemplateUpdatePayload extends Partial<Omit<PromptTemplate, "id" | "created_at" | "updated_at" | "created_by" | "updated_by" | "project">> {
|
70
|
-
}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"prompt.d.ts","sourceRoot":"","sources":["../../src/prompt.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAC1C,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AACnD,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAE9C,MAAM,WAAW,gBAAgB;IAC7B,IAAI,EAAE,UAAU,CAAC,IAAI,GAAG,UAAU,CAAC,SAAS,CAAC;IAC7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