@f-inverse/jammi-client 0.25.0 → 0.26.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/README.md +2 -2
- package/dist/gen/jammi/v1/audit_pb.d.ts +1 -1
- package/dist/gen/jammi/v1/audit_pb.js +1 -1
- package/dist/gen/jammi/v1/catalog_pb.d.ts +1148 -0
- package/dist/gen/jammi/v1/catalog_pb.d.ts.map +1 -0
- package/dist/gen/jammi/v1/catalog_pb.js +320 -0
- package/dist/gen/jammi/v1/catalog_pb.js.map +1 -0
- package/dist/gen/jammi/v1/embedding_pb.d.ts +10 -265
- package/dist/gen/jammi/v1/embedding_pb.d.ts.map +1 -1
- package/dist/gen/jammi/v1/embedding_pb.js +18 -111
- package/dist/gen/jammi/v1/embedding_pb.js.map +1 -1
- package/dist/gen/jammi/v1/error_pb.d.ts +2 -2
- package/dist/gen/jammi/v1/eval_pb.d.ts +287 -1
- package/dist/gen/jammi/v1/eval_pb.d.ts.map +1 -1
- package/dist/gen/jammi/v1/eval_pb.js +82 -25
- package/dist/gen/jammi/v1/eval_pb.js.map +1 -1
- package/dist/gen/jammi/v1/inference_pb.d.ts +272 -1
- package/dist/gen/jammi/v1/inference_pb.d.ts.map +1 -1
- package/dist/gen/jammi/v1/inference_pb.js +61 -2
- package/dist/gen/jammi/v1/inference_pb.js.map +1 -1
- package/dist/gen/jammi/v1/pipeline_pb.d.ts +491 -0
- package/dist/gen/jammi/v1/pipeline_pb.d.ts.map +1 -0
- package/dist/gen/jammi/v1/pipeline_pb.js +154 -0
- package/dist/gen/jammi/v1/pipeline_pb.js.map +1 -0
- package/dist/gen/jammi/v1/training_pb.d.ts +1217 -0
- package/dist/gen/jammi/v1/training_pb.d.ts.map +1 -0
- package/dist/gen/jammi/v1/training_pb.js +388 -0
- package/dist/gen/jammi/v1/training_pb.js.map +1 -0
- package/dist/gen/jammi/v1/trigger_pb.d.ts +18 -215
- package/dist/gen/jammi/v1/trigger_pb.d.ts.map +1 -1
- package/dist/gen/jammi/v1/trigger_pb.js +11 -41
- package/dist/gen/jammi/v1/trigger_pb.js.map +1 -1
- package/dist/index.d.ts +11 -12
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +10 -13
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
- package/dist/gen/jammi/v1/channel_pb.d.ts +0 -158
- package/dist/gen/jammi/v1/channel_pb.d.ts.map +0 -1
- package/dist/gen/jammi/v1/channel_pb.js +0 -87
- package/dist/gen/jammi/v1/channel_pb.js.map +0 -1
- package/dist/gen/jammi/v1/fine_tune_pb.d.ts +0 -706
- package/dist/gen/jammi/v1/fine_tune_pb.d.ts.map +0 -1
- package/dist/gen/jammi/v1/fine_tune_pb.js +0 -271
- package/dist/gen/jammi/v1/fine_tune_pb.js.map +0 -1
- package/dist/gen/jammi/v1/mutable_table_pb.d.ts +0 -183
- package/dist/gen/jammi/v1/mutable_table_pb.d.ts.map +0 -1
- package/dist/gen/jammi/v1/mutable_table_pb.js +0 -59
- package/dist/gen/jammi/v1/mutable_table_pb.js.map +0 -1
- package/dist/gen/jammi/v1/session_pb.d.ts +0 -167
- package/dist/gen/jammi/v1/session_pb.d.ts.map +0 -1
- package/dist/gen/jammi/v1/session_pb.js +0 -45
- package/dist/gen/jammi/v1/session_pb.js.map +0 -1
|
@@ -0,0 +1,491 @@
|
|
|
1
|
+
import type { GenEnum, GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
|
|
2
|
+
import type { ResultTableSchema } from "./embedding_pb";
|
|
3
|
+
import type { EdgeDirection, EdgeGather } from "./inference_pb";
|
|
4
|
+
import type { ArrowBatch } from "./trigger_pb";
|
|
5
|
+
import type { Message } from "@bufbuild/protobuf";
|
|
6
|
+
/**
|
|
7
|
+
* Describes the file jammi/v1/pipeline.proto.
|
|
8
|
+
*/
|
|
9
|
+
export declare const file_jammi_v1_pipeline: GenFile;
|
|
10
|
+
/**
|
|
11
|
+
* Materialise a source's k-NN similarity graph. Mirrors the engine's
|
|
12
|
+
* `build_neighbor_graph` binding: the count `k` is required; `min_similarity`,
|
|
13
|
+
* `mutual`, `exact`, and `table` are optional with explicit presence so an unset
|
|
14
|
+
* field resolves to the engine default rather than a literal `0`/`false`/`""`.
|
|
15
|
+
* The engine-side build knobs `self_exclude` / `exact_max_rows` / `resolve_keys`
|
|
16
|
+
* are not on the wire — the server applies the engine defaults, the single
|
|
17
|
+
* source of those values.
|
|
18
|
+
*
|
|
19
|
+
* @generated from message jammi.v1.pipeline.BuildNeighborGraphRequest
|
|
20
|
+
*/
|
|
21
|
+
export type BuildNeighborGraphRequest = Message<"jammi.v1.pipeline.BuildNeighborGraphRequest"> & {
|
|
22
|
+
/**
|
|
23
|
+
* Source whose embedding table the graph is built over.
|
|
24
|
+
*
|
|
25
|
+
* @generated from field: string source_id = 1;
|
|
26
|
+
*/
|
|
27
|
+
sourceId: string;
|
|
28
|
+
/**
|
|
29
|
+
* Neighbourhood size `k` (required).
|
|
30
|
+
*
|
|
31
|
+
* @generated from field: uint32 k = 2;
|
|
32
|
+
*/
|
|
33
|
+
k: number;
|
|
34
|
+
/**
|
|
35
|
+
* Optional minimum cosine similarity floor for an edge.
|
|
36
|
+
*
|
|
37
|
+
* @generated from field: optional float min_similarity = 3;
|
|
38
|
+
*/
|
|
39
|
+
minSimilarity?: number | undefined;
|
|
40
|
+
/**
|
|
41
|
+
* Keep only reciprocal edges.
|
|
42
|
+
*
|
|
43
|
+
* @generated from field: bool mutual = 4;
|
|
44
|
+
*/
|
|
45
|
+
mutual: boolean;
|
|
46
|
+
/**
|
|
47
|
+
* Use the exact (deterministic, complete) driver, gated by a row-count
|
|
48
|
+
* ceiling; default false runs the approximate index-assisted driver.
|
|
49
|
+
*
|
|
50
|
+
* @generated from field: bool exact = 5;
|
|
51
|
+
*/
|
|
52
|
+
exact: boolean;
|
|
53
|
+
/**
|
|
54
|
+
* Optional specific embedding table to build the graph over; unset resolves
|
|
55
|
+
* the source's default embedding table.
|
|
56
|
+
*
|
|
57
|
+
* @generated from field: optional string table = 6;
|
|
58
|
+
*/
|
|
59
|
+
table?: string | undefined;
|
|
60
|
+
};
|
|
61
|
+
/**
|
|
62
|
+
* Describes the message jammi.v1.pipeline.BuildNeighborGraphRequest.
|
|
63
|
+
* Use `create(BuildNeighborGraphRequestSchema)` to create a new message.
|
|
64
|
+
*/
|
|
65
|
+
export declare const BuildNeighborGraphRequestSchema: GenMessage<BuildNeighborGraphRequest>;
|
|
66
|
+
/**
|
|
67
|
+
* A registered external edge source and its column bindings, for the
|
|
68
|
+
* `edge_source` arm of a propagation. The endpoints join to the source on the
|
|
69
|
+
* key; `weight_column` feeds the `edge_similarity` weighting.
|
|
70
|
+
*
|
|
71
|
+
* @generated from message jammi.v1.pipeline.PropagateEdgeSource
|
|
72
|
+
*/
|
|
73
|
+
export type PropagateEdgeSource = Message<"jammi.v1.pipeline.PropagateEdgeSource"> & {
|
|
74
|
+
/**
|
|
75
|
+
* Registered source id holding the edge rows.
|
|
76
|
+
*
|
|
77
|
+
* @generated from field: string edge_source = 1;
|
|
78
|
+
*/
|
|
79
|
+
edgeSource: string;
|
|
80
|
+
/**
|
|
81
|
+
* Column holding the edge's source endpoint (default "src" when empty).
|
|
82
|
+
*
|
|
83
|
+
* @generated from field: string src_column = 2;
|
|
84
|
+
*/
|
|
85
|
+
srcColumn: string;
|
|
86
|
+
/**
|
|
87
|
+
* Column holding the edge's destination endpoint (default "dst" when empty).
|
|
88
|
+
*
|
|
89
|
+
* @generated from field: string dst_column = 3;
|
|
90
|
+
*/
|
|
91
|
+
dstColumn: string;
|
|
92
|
+
/**
|
|
93
|
+
* Optional column holding the edge weight.
|
|
94
|
+
*
|
|
95
|
+
* @generated from field: optional string weight_column = 4;
|
|
96
|
+
*/
|
|
97
|
+
weightColumn?: string | undefined;
|
|
98
|
+
};
|
|
99
|
+
/**
|
|
100
|
+
* Describes the message jammi.v1.pipeline.PropagateEdgeSource.
|
|
101
|
+
* Use `create(PropagateEdgeSourceSchema)` to create a new message.
|
|
102
|
+
*/
|
|
103
|
+
export declare const PropagateEdgeSourceSchema: GenMessage<PropagateEdgeSource>;
|
|
104
|
+
/**
|
|
105
|
+
* Propagate an embedding table's features over a declared graph. Mirrors the
|
|
106
|
+
* engine's `propagate_embeddings` binding. The graph is either an S9 similarity
|
|
107
|
+
* graph (`edge_graph_table`, a `build_neighbor_graph` output) or a registered
|
|
108
|
+
* external edge source (`edge_source`) — exactly one, modelled as a `oneof` so
|
|
109
|
+
* both/neither is a decode error. The optional scalars carry explicit presence
|
|
110
|
+
* so an unset field resolves to the engine default.
|
|
111
|
+
*
|
|
112
|
+
* @generated from message jammi.v1.pipeline.PropagateEmbeddingsRequest
|
|
113
|
+
*/
|
|
114
|
+
export type PropagateEmbeddingsRequest = Message<"jammi.v1.pipeline.PropagateEmbeddingsRequest"> & {
|
|
115
|
+
/**
|
|
116
|
+
* Source whose embedding table holds the input features `X⁽⁰⁾`.
|
|
117
|
+
*
|
|
118
|
+
* @generated from field: string source_id = 1;
|
|
119
|
+
*/
|
|
120
|
+
sourceId: string;
|
|
121
|
+
/**
|
|
122
|
+
* Optional specific embedding table; unset resolves the source's default.
|
|
123
|
+
*
|
|
124
|
+
* @generated from field: optional string embedding_table = 2;
|
|
125
|
+
*/
|
|
126
|
+
embeddingTable?: string | undefined;
|
|
127
|
+
/**
|
|
128
|
+
* The graph to propagate over — exactly one arm.
|
|
129
|
+
*
|
|
130
|
+
* @generated from oneof jammi.v1.pipeline.PropagateEmbeddingsRequest.graph
|
|
131
|
+
*/
|
|
132
|
+
graph: {
|
|
133
|
+
/**
|
|
134
|
+
* An S9 similarity graph (a `build_neighbor_graph` output table name).
|
|
135
|
+
*
|
|
136
|
+
* @generated from field: string edge_graph_table = 3;
|
|
137
|
+
*/
|
|
138
|
+
value: string;
|
|
139
|
+
case: "edgeGraphTable";
|
|
140
|
+
} | {
|
|
141
|
+
/**
|
|
142
|
+
* A registered external edge source + its column bindings.
|
|
143
|
+
*
|
|
144
|
+
* @generated from field: jammi.v1.pipeline.PropagateEdgeSource edge_source = 4;
|
|
145
|
+
*/
|
|
146
|
+
value: PropagateEdgeSource;
|
|
147
|
+
case: "edgeSource";
|
|
148
|
+
} | {
|
|
149
|
+
case: undefined;
|
|
150
|
+
value?: undefined;
|
|
151
|
+
};
|
|
152
|
+
/**
|
|
153
|
+
* Edge direction read when building the neighbourhood. UNSPECIFIED maps to the
|
|
154
|
+
* engine default (`Out`).
|
|
155
|
+
*
|
|
156
|
+
* @generated from field: jammi.v1.inference.EdgeDirection direction = 5;
|
|
157
|
+
*/
|
|
158
|
+
direction: EdgeDirection;
|
|
159
|
+
/**
|
|
160
|
+
* Optional hop count (clamped to the engine hop cap).
|
|
161
|
+
*
|
|
162
|
+
* @generated from field: optional uint32 hops = 6;
|
|
163
|
+
*/
|
|
164
|
+
hops?: number | undefined;
|
|
165
|
+
/**
|
|
166
|
+
* Neighbour-contribution weighting.
|
|
167
|
+
*
|
|
168
|
+
* @generated from field: jammi.v1.pipeline.PropagationWeighting weighting = 7;
|
|
169
|
+
*/
|
|
170
|
+
weighting: PropagationWeighting;
|
|
171
|
+
/**
|
|
172
|
+
* Optional APPNP teleport probability.
|
|
173
|
+
*
|
|
174
|
+
* @generated from field: optional double alpha = 8;
|
|
175
|
+
*/
|
|
176
|
+
alpha?: number | undefined;
|
|
177
|
+
/**
|
|
178
|
+
* What the propagation emits.
|
|
179
|
+
*
|
|
180
|
+
* @generated from field: jammi.v1.pipeline.PropagationOutput output = 9;
|
|
181
|
+
*/
|
|
182
|
+
output: PropagationOutput;
|
|
183
|
+
};
|
|
184
|
+
/**
|
|
185
|
+
* Describes the message jammi.v1.pipeline.PropagateEmbeddingsRequest.
|
|
186
|
+
* Use `create(PropagateEmbeddingsRequestSchema)` to create a new message.
|
|
187
|
+
*/
|
|
188
|
+
export declare const PropagateEmbeddingsRequestSchema: GenMessage<PropagateEmbeddingsRequest>;
|
|
189
|
+
/**
|
|
190
|
+
* Assemble and encode a target's context set. Mirrors the engine's
|
|
191
|
+
* `assemble_context` binding. `query` is the target's vector; an absent
|
|
192
|
+
* `edges` block is the ANN-only default, a present block (without `hybrid`) is a
|
|
193
|
+
* declared-edge walk, and a present block with `hybrid` is the union of both.
|
|
194
|
+
*
|
|
195
|
+
* @generated from message jammi.v1.pipeline.AssembleContextRequest
|
|
196
|
+
*/
|
|
197
|
+
export type AssembleContextRequest = Message<"jammi.v1.pipeline.AssembleContextRequest"> & {
|
|
198
|
+
/**
|
|
199
|
+
* Source whose embedding table the context is retrieved against and whose rows
|
|
200
|
+
* the members are pooled and hydrated from.
|
|
201
|
+
*
|
|
202
|
+
* @generated from field: string source_id = 1;
|
|
203
|
+
*/
|
|
204
|
+
sourceId: string;
|
|
205
|
+
/**
|
|
206
|
+
* The target's query vector — the point whose neighbourhood is the context.
|
|
207
|
+
* IEEE-754 `float` (bit-exact for the engine's `Vec<f32>`).
|
|
208
|
+
*
|
|
209
|
+
* @generated from field: repeated float query = 2;
|
|
210
|
+
*/
|
|
211
|
+
query: number[];
|
|
212
|
+
/**
|
|
213
|
+
* Neighbourhood size `k`.
|
|
214
|
+
*
|
|
215
|
+
* @generated from field: uint32 k = 3;
|
|
216
|
+
*/
|
|
217
|
+
k: number;
|
|
218
|
+
/**
|
|
219
|
+
* Optional label/outcome columns hydrated for each context member.
|
|
220
|
+
*
|
|
221
|
+
* @generated from field: repeated string value_columns = 4;
|
|
222
|
+
*/
|
|
223
|
+
valueColumns: string[];
|
|
224
|
+
/**
|
|
225
|
+
* The pooling reduction.
|
|
226
|
+
*
|
|
227
|
+
* @generated from field: jammi.v1.pipeline.SetAggregator aggregator = 5;
|
|
228
|
+
*/
|
|
229
|
+
aggregator: SetAggregator;
|
|
230
|
+
/**
|
|
231
|
+
* Drop the target's own row (`exclude_key`) before pooling — the leakage
|
|
232
|
+
* guard. Explicit presence: an unset field resolves to the engine default
|
|
233
|
+
* (`true`), the single source of that value, so a client that omits it keeps
|
|
234
|
+
* the leakage guard on rather than silently disabling it via the proto3 bare-
|
|
235
|
+
* bool wire default (`false`).
|
|
236
|
+
*
|
|
237
|
+
* @generated from field: optional bool exclude_self = 6;
|
|
238
|
+
*/
|
|
239
|
+
excludeSelf?: boolean | undefined;
|
|
240
|
+
/**
|
|
241
|
+
* Optional target row key dropped from the context when `exclude_self`.
|
|
242
|
+
*
|
|
243
|
+
* @generated from field: optional string exclude_key = 7;
|
|
244
|
+
*/
|
|
245
|
+
excludeKey?: string | undefined;
|
|
246
|
+
/**
|
|
247
|
+
* Optional SQL predicate scoping the context to a split.
|
|
248
|
+
*
|
|
249
|
+
* @generated from field: optional string split = 8;
|
|
250
|
+
*/
|
|
251
|
+
split?: string | undefined;
|
|
252
|
+
/**
|
|
253
|
+
* Optional declared-edge gather. Absent = ANN-only; present = declared-edge
|
|
254
|
+
* walk, or (with `hybrid`) the union with the ANN context.
|
|
255
|
+
*
|
|
256
|
+
* @generated from field: optional jammi.v1.inference.EdgeGather edges = 9;
|
|
257
|
+
*/
|
|
258
|
+
edges?: EdgeGather | undefined;
|
|
259
|
+
/**
|
|
260
|
+
* Union the declared-edge and ANN candidate sets (only meaningful with
|
|
261
|
+
* `edges`).
|
|
262
|
+
*
|
|
263
|
+
* @generated from field: bool hybrid = 10;
|
|
264
|
+
*/
|
|
265
|
+
hybrid: boolean;
|
|
266
|
+
};
|
|
267
|
+
/**
|
|
268
|
+
* Describes the message jammi.v1.pipeline.AssembleContextRequest.
|
|
269
|
+
* Use `create(AssembleContextRequestSchema)` to create a new message.
|
|
270
|
+
*/
|
|
271
|
+
export declare const AssembleContextRequestSchema: GenMessage<AssembleContextRequest>;
|
|
272
|
+
/**
|
|
273
|
+
* The pooled fixed-width context vector. A wrapper message (carried as an
|
|
274
|
+
* `optional` field) so a degenerate empty context (`None` — no neighbour
|
|
275
|
+
* survived exclusion/split) is distinguishable from a present-but-empty vector:
|
|
276
|
+
* the absence is a correctness signal a decoder reads as low-confidence, never
|
|
277
|
+
* silently averaged into a representation.
|
|
278
|
+
*
|
|
279
|
+
* @generated from message jammi.v1.pipeline.ContextVector
|
|
280
|
+
*/
|
|
281
|
+
export type ContextVector = Message<"jammi.v1.pipeline.ContextVector"> & {
|
|
282
|
+
/**
|
|
283
|
+
* The pooled vector `ρ(Σ φ(xᵢ))`, in IEEE-754 `float`.
|
|
284
|
+
*
|
|
285
|
+
* @generated from field: repeated float values = 1;
|
|
286
|
+
*/
|
|
287
|
+
values: number[];
|
|
288
|
+
};
|
|
289
|
+
/**
|
|
290
|
+
* Describes the message jammi.v1.pipeline.ContextVector.
|
|
291
|
+
* Use `create(ContextVectorSchema)` to create a new message.
|
|
292
|
+
*/
|
|
293
|
+
export declare const ContextVectorSchema: GenMessage<ContextVector>;
|
|
294
|
+
/**
|
|
295
|
+
* Result of one AssembleContext invocation. Mirrors the dict the engine binding
|
|
296
|
+
* returns: the pooled vector (presence-wrapped), the carried set size + member
|
|
297
|
+
* keys, the hydrated value rows, and the assembly-source fact.
|
|
298
|
+
*
|
|
299
|
+
* @generated from message jammi.v1.pipeline.AssembleContextResponse
|
|
300
|
+
*/
|
|
301
|
+
export type AssembleContextResponse = Message<"jammi.v1.pipeline.AssembleContextResponse"> & {
|
|
302
|
+
/**
|
|
303
|
+
* The pooled context vector, or unset for a degenerate empty context.
|
|
304
|
+
*
|
|
305
|
+
* @generated from field: optional jammi.v1.pipeline.ContextVector context_vector = 1;
|
|
306
|
+
*/
|
|
307
|
+
contextVector?: ContextVector | undefined;
|
|
308
|
+
/**
|
|
309
|
+
* Number of neighbours that survived exclusion and entered the pool — carried
|
|
310
|
+
* separately from the vector so a decoder uses the count without it corrupting
|
|
311
|
+
* the pooled representation.
|
|
312
|
+
*
|
|
313
|
+
* @generated from field: uint64 context_size = 2;
|
|
314
|
+
*/
|
|
315
|
+
contextSize: bigint;
|
|
316
|
+
/**
|
|
317
|
+
* Keys of the context members, in retrieval (descending-similarity) order.
|
|
318
|
+
*
|
|
319
|
+
* @generated from field: repeated string context_keys = 3;
|
|
320
|
+
*/
|
|
321
|
+
contextKeys: string[];
|
|
322
|
+
/**
|
|
323
|
+
* The hydrated `value_columns` of the context members, as one Arrow IPC stream
|
|
324
|
+
* (schema + batches) in `data_body`. Empty when no value columns were
|
|
325
|
+
* requested. Reuses TriggerService's `ArrowBatch` shape.
|
|
326
|
+
*
|
|
327
|
+
* @generated from field: jammi.v1.trigger.ArrowBatch value_rows = 4;
|
|
328
|
+
*/
|
|
329
|
+
valueRows?: ArrowBatch | undefined;
|
|
330
|
+
/**
|
|
331
|
+
* How the context was assembled ("ann" / "edges" / "hybrid").
|
|
332
|
+
*
|
|
333
|
+
* @generated from field: string source = 5;
|
|
334
|
+
*/
|
|
335
|
+
source: string;
|
|
336
|
+
};
|
|
337
|
+
/**
|
|
338
|
+
* Describes the message jammi.v1.pipeline.AssembleContextResponse.
|
|
339
|
+
* Use `create(AssembleContextResponseSchema)` to create a new message.
|
|
340
|
+
*/
|
|
341
|
+
export declare const AssembleContextResponseSchema: GenMessage<AssembleContextResponse>;
|
|
342
|
+
/**
|
|
343
|
+
* Which neighbour-contribution normalisation a propagation hop uses. Mirrors the
|
|
344
|
+
* engine's `PropagationWeighting`; UNSPECIFIED maps to the engine default
|
|
345
|
+
* (`DegreeNormalized`).
|
|
346
|
+
*
|
|
347
|
+
* @generated from enum jammi.v1.pipeline.PropagationWeighting
|
|
348
|
+
*/
|
|
349
|
+
export declare enum PropagationWeighting {
|
|
350
|
+
/**
|
|
351
|
+
* @generated from enum value: PROPAGATION_WEIGHTING_UNSPECIFIED = 0;
|
|
352
|
+
*/
|
|
353
|
+
UNSPECIFIED = 0,
|
|
354
|
+
/**
|
|
355
|
+
* @generated from enum value: PROPAGATION_WEIGHTING_DEGREE_NORMALIZED = 1;
|
|
356
|
+
*/
|
|
357
|
+
DEGREE_NORMALIZED = 1,
|
|
358
|
+
/**
|
|
359
|
+
* @generated from enum value: PROPAGATION_WEIGHTING_UNIFORM = 2;
|
|
360
|
+
*/
|
|
361
|
+
UNIFORM = 2,
|
|
362
|
+
/**
|
|
363
|
+
* @generated from enum value: PROPAGATION_WEIGHTING_EDGE_SIMILARITY = 3;
|
|
364
|
+
*/
|
|
365
|
+
EDGE_SIMILARITY = 3
|
|
366
|
+
}
|
|
367
|
+
/**
|
|
368
|
+
* Describes the enum jammi.v1.pipeline.PropagationWeighting.
|
|
369
|
+
*/
|
|
370
|
+
export declare const PropagationWeightingSchema: GenEnum<PropagationWeighting>;
|
|
371
|
+
/**
|
|
372
|
+
* What a propagation emits. Mirrors the engine's `PropagationOutput`;
|
|
373
|
+
* UNSPECIFIED maps to the engine default (`Final`).
|
|
374
|
+
*
|
|
375
|
+
* @generated from enum jammi.v1.pipeline.PropagationOutput
|
|
376
|
+
*/
|
|
377
|
+
export declare enum PropagationOutput {
|
|
378
|
+
/**
|
|
379
|
+
* @generated from enum value: PROPAGATION_OUTPUT_UNSPECIFIED = 0;
|
|
380
|
+
*/
|
|
381
|
+
UNSPECIFIED = 0,
|
|
382
|
+
/**
|
|
383
|
+
* @generated from enum value: PROPAGATION_OUTPUT_FINAL = 1;
|
|
384
|
+
*/
|
|
385
|
+
FINAL = 1,
|
|
386
|
+
/**
|
|
387
|
+
* @generated from enum value: PROPAGATION_OUTPUT_JUMPING_KNOWLEDGE = 2;
|
|
388
|
+
*/
|
|
389
|
+
JUMPING_KNOWLEDGE = 2
|
|
390
|
+
}
|
|
391
|
+
/**
|
|
392
|
+
* Describes the enum jammi.v1.pipeline.PropagationOutput.
|
|
393
|
+
*/
|
|
394
|
+
export declare const PropagationOutputSchema: GenEnum<PropagationOutput>;
|
|
395
|
+
/**
|
|
396
|
+
* Which permutation-invariant reduction the context-set encoder pools with.
|
|
397
|
+
* Mirrors the engine's `SetAggregator`; UNSPECIFIED maps to the engine default
|
|
398
|
+
* (`Mean`).
|
|
399
|
+
*
|
|
400
|
+
* @generated from enum jammi.v1.pipeline.SetAggregator
|
|
401
|
+
*/
|
|
402
|
+
export declare enum SetAggregator {
|
|
403
|
+
/**
|
|
404
|
+
* @generated from enum value: SET_AGGREGATOR_UNSPECIFIED = 0;
|
|
405
|
+
*/
|
|
406
|
+
UNSPECIFIED = 0,
|
|
407
|
+
/**
|
|
408
|
+
* @generated from enum value: SET_AGGREGATOR_MEAN = 1;
|
|
409
|
+
*/
|
|
410
|
+
MEAN = 1,
|
|
411
|
+
/**
|
|
412
|
+
* @generated from enum value: SET_AGGREGATOR_SUM = 2;
|
|
413
|
+
*/
|
|
414
|
+
SUM = 2,
|
|
415
|
+
/**
|
|
416
|
+
* @generated from enum value: SET_AGGREGATOR_MAX = 3;
|
|
417
|
+
*/
|
|
418
|
+
MAX = 3
|
|
419
|
+
}
|
|
420
|
+
/**
|
|
421
|
+
* Describes the enum jammi.v1.pipeline.SetAggregator.
|
|
422
|
+
*/
|
|
423
|
+
export declare const SetAggregatorSchema: GenEnum<SetAggregator>;
|
|
424
|
+
/**
|
|
425
|
+
* PipelineService — the wire surface for the engine's compute-to-data engine-
|
|
426
|
+
* state verbs that build durable graph/embedding artifacts or assemble a
|
|
427
|
+
* target's conditioning context.
|
|
428
|
+
*
|
|
429
|
+
* `BuildNeighborGraph`, `PropagateEmbeddings`, and `AssembleContext` are
|
|
430
|
+
* imperative session methods, not SQL queries, so they live as typed gRPC RPCs
|
|
431
|
+
* alongside SessionService / EmbeddingService / InferenceService / EvalService
|
|
432
|
+
* rather than on the Flight SQL surface (which carries query/result only, per
|
|
433
|
+
* ADR-01 §3.2). They are substrate primitives — materialising a k-NN graph,
|
|
434
|
+
* propagating features over a declared graph, or pooling a retrieval into a
|
|
435
|
+
* fixed-width context vector — and name no tenant-domain concept.
|
|
436
|
+
*
|
|
437
|
+
* Each verb delegates 1:1 to the engine session; the service reimplements no
|
|
438
|
+
* retrieval, graph, or aggregation logic — it is purely a wire adapter over the
|
|
439
|
+
* in-process engine. The two graph-build verbs transport only a result-table
|
|
440
|
+
* name (the compute stays server-side, so the materialised table is
|
|
441
|
+
* byte-identical to one built in-process); `AssembleContext` carries its pooled
|
|
442
|
+
* vector inline as IEEE-754 `float` (bit-exact for the engine's `Vec<f32>`).
|
|
443
|
+
*
|
|
444
|
+
* Tenant scope is read from the request's `SessionTenant` extension, set by the
|
|
445
|
+
* shared TenantInterceptor from the `jammi-session-id` header — the same
|
|
446
|
+
* mechanism every other gRPC service and Flight SQL already use.
|
|
447
|
+
*
|
|
448
|
+
* @generated from service jammi.v1.pipeline.PipelineService
|
|
449
|
+
*/
|
|
450
|
+
export declare const PipelineService: GenService<{
|
|
451
|
+
/**
|
|
452
|
+
* Materialise the k-nearest-neighbour graph of a source's embedding table and
|
|
453
|
+
* return the new edge table. Peer of the engine's `build_neighbor_graph`; the
|
|
454
|
+
* client reads the table via `sql(...)`.
|
|
455
|
+
*
|
|
456
|
+
* @generated from rpc jammi.v1.pipeline.PipelineService.BuildNeighborGraph
|
|
457
|
+
*/
|
|
458
|
+
buildNeighborGraph: {
|
|
459
|
+
methodKind: "unary";
|
|
460
|
+
input: typeof BuildNeighborGraphRequestSchema;
|
|
461
|
+
output: typeof ResultTableSchema;
|
|
462
|
+
};
|
|
463
|
+
/**
|
|
464
|
+
* Propagate an embedding table's features over a declared graph (the
|
|
465
|
+
* decoupled-GNN forward pass) into a new, searchable embedding table. Peer of
|
|
466
|
+
* the engine's `propagate_embeddings`; the client reads the table via
|
|
467
|
+
* `sql(...)`.
|
|
468
|
+
*
|
|
469
|
+
* @generated from rpc jammi.v1.pipeline.PipelineService.PropagateEmbeddings
|
|
470
|
+
*/
|
|
471
|
+
propagateEmbeddings: {
|
|
472
|
+
methodKind: "unary";
|
|
473
|
+
input: typeof PropagateEmbeddingsRequestSchema;
|
|
474
|
+
output: typeof ResultTableSchema;
|
|
475
|
+
};
|
|
476
|
+
/**
|
|
477
|
+
* Assemble and encode a target's context set: retrieve `k` nearest neighbours
|
|
478
|
+
* (or a declared-edge walk / their union), pair them with `value_columns`, and
|
|
479
|
+
* pool the neighbour vectors permutation-invariantly into one fixed-width
|
|
480
|
+
* context vector. Peer of the engine's `assemble_context`; returns the pooled
|
|
481
|
+
* vector and the carried metadata inline (no durable handle).
|
|
482
|
+
*
|
|
483
|
+
* @generated from rpc jammi.v1.pipeline.PipelineService.AssembleContext
|
|
484
|
+
*/
|
|
485
|
+
assembleContext: {
|
|
486
|
+
methodKind: "unary";
|
|
487
|
+
input: typeof AssembleContextRequestSchema;
|
|
488
|
+
output: typeof AssembleContextResponseSchema;
|
|
489
|
+
};
|
|
490
|
+
}>;
|
|
491
|
+
//# sourceMappingURL=pipeline_pb.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pipeline_pb.d.ts","sourceRoot":"","sources":["../../../../src/gen/jammi/v1/pipeline_pb.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,OAAO,EAAE,OAAO,EAAE,UAAU,EAAE,UAAU,EAAE,MAAM,8BAA8B,CAAC;AAE7F,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AAExD,OAAO,KAAK,EAAE,aAAa,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAEhE,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAE/C,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,oBAAoB,CAAC;AAElD;;GAEG;AACH,eAAO,MAAM,sBAAsB,EAAE,OAC41F,CAAC;AAEl4F;;;;;;;;;;GAUG;AACH,MAAM,MAAM,yBAAyB,GAAG,OAAO,CAAC,6CAA6C,CAAC,GAAG;IAC/F;;;;OAIG;IACH,QAAQ,EAAE,MAAM,CAAC;IAEjB;;;;OAIG;IACH,CAAC,EAAE,MAAM,CAAC;IAEV;;;;OAIG;IACH,aAAa,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAEnC;;;;OAIG;IACH,MAAM,EAAE,OAAO,CAAC;IAEhB;;;;;OAKG;IACH,KAAK,EAAE,OAAO,CAAC;IAEf;;;;;OAKG;IACH,KAAK,CAAC,EAAE,M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AE;QACnB,UAAU,EAAE,OAAO,CAAC;QACpB,KAAK,EAAE,OAAO,gCAAgC,CAAC;QAC/C,MAAM,EAAE,OAAO,iBAAiB,CAAC;KAClC,CAAC;IACF;;;;;;;;OAQG;IACH,eAAe,EAAE;QACf,UAAU,EAAE,OAAO,CAAC;QACpB,KAAK,EAAE,OAAO,4BAA4B,CAAC;QAC3C,MAAM,EAAE,OAAO,6BAA6B,CAAC;KAC9C,CAAC;CACH,CACuC,CAAC"}
|
|
@@ -0,0 +1,154 @@
|
|
|
1
|
+
// @generated by protoc-gen-es v2.12.0 with parameter "target=ts"
|
|
2
|
+
// @generated from file jammi/v1/pipeline.proto (package jammi.v1.pipeline, syntax proto3)
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
import { enumDesc, fileDesc, messageDesc, serviceDesc } from "@bufbuild/protobuf/codegenv2";
|
|
5
|
+
import { file_jammi_v1_embedding } from "./embedding_pb";
|
|
6
|
+
import { file_jammi_v1_inference } from "./inference_pb";
|
|
7
|
+
import { file_jammi_v1_trigger } from "./trigger_pb";
|
|
8
|
+
/**
|
|
9
|
+
* Describes the file jammi/v1/pipeline.proto.
|
|
10
|
+
*/
|
|
11
|
+
export const file_jammi_v1_pipeline = /*@__PURE__*/ fileDesc("ChdqYW1taS92MS9waXBlbGluZS5wcm90bxIRamFtbWkudjEucGlwZWxpbmUipgEKGUJ1aWxkTmVpZ2hib3JHcmFwaFJlcXVlc3QSEQoJc291cmNlX2lkGAEgASgJEgkKAWsYAiABKA0SGwoObWluX3NpbWlsYXJpdHkYAyABKAJIAIgBARIOCgZtdXR1YWwYBCABKAgSDQoFZXhhY3QYBSABKAgSEgoFdGFibGUYBiABKAlIAYgBAUIRCg9fbWluX3NpbWlsYXJpdHlCCAoGX3RhYmxlIoABChNQcm9wYWdhdGVFZGdlU291cmNlEhMKC2VkZ2Vfc291cmNlGAEgASgJEhIKCnNyY19jb2x1bW4YAiABKAkSEgoKZHN0X2NvbHVtbhgDIAEoCRIaCg13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VzdWx0VGFibGUSZQoTUHJvcGFnYXRlRW1iZWRkaW5ncxItLmphbW1pLnYxLnBpcGVsaW5lLlByb3BhZ2F0ZUVtYmVkZGluZ3NSZXF1ZXN0Gh8uamFtbWkudjEuZW1iZWRkaW5nLlJlc3VsdFRhYmxlEmgKD0Fzc2VtYmxlQ29udGV4dBIpLmphbW1pLnYxLnBpcGVsaW5lLkFzc2VtYmxlQ29udGV4dFJlcXVlc3QaKi5qYW1taS52MS5waXBlbGluZS5Bc3NlbWJsZUNvbnRleHRSZXNwb25zZWIGcHJvdG8z", [file_jammi_v1_embedding, file_jammi_v1_inference, file_jammi_v1_trigger]);
|
|
12
|
+
/**
|
|
13
|
+
* Describes the message jammi.v1.pipeline.BuildNeighborGraphRequest.
|
|
14
|
+
* Use `create(BuildNeighborGraphRequestSchema)` to create a new message.
|
|
15
|
+
*/
|
|
16
|
+
export const BuildNeighborGraphRequestSchema = /*@__PURE__*/ messageDesc(file_jammi_v1_pipeline, 0);
|
|
17
|
+
/**
|
|
18
|
+
* Describes the message jammi.v1.pipeline.PropagateEdgeSource.
|
|
19
|
+
* Use `create(PropagateEdgeSourceSchema)` to create a new message.
|
|
20
|
+
*/
|
|
21
|
+
export const PropagateEdgeSourceSchema = /*@__PURE__*/ messageDesc(file_jammi_v1_pipeline, 1);
|
|
22
|
+
/**
|
|
23
|
+
* Describes the message jammi.v1.pipeline.PropagateEmbeddingsRequest.
|
|
24
|
+
* Use `create(PropagateEmbeddingsRequestSchema)` to create a new message.
|
|
25
|
+
*/
|
|
26
|
+
export const PropagateEmbeddingsRequestSchema = /*@__PURE__*/ messageDesc(file_jammi_v1_pipeline, 2);
|
|
27
|
+
/**
|
|
28
|
+
* Describes the message jammi.v1.pipeline.AssembleContextRequest.
|
|
29
|
+
* Use `create(AssembleContextRequestSchema)` to create a new message.
|
|
30
|
+
*/
|
|
31
|
+
export const AssembleContextRequestSchema = /*@__PURE__*/ messageDesc(file_jammi_v1_pipeline, 3);
|
|
32
|
+
/**
|
|
33
|
+
* Describes the message jammi.v1.pipeline.ContextVector.
|
|
34
|
+
* Use `create(ContextVectorSchema)` to create a new message.
|
|
35
|
+
*/
|
|
36
|
+
export const ContextVectorSchema = /*@__PURE__*/ messageDesc(file_jammi_v1_pipeline, 4);
|
|
37
|
+
/**
|
|
38
|
+
* Describes the message jammi.v1.pipeline.AssembleContextResponse.
|
|
39
|
+
* Use `create(AssembleContextResponseSchema)` to create a new message.
|
|
40
|
+
*/
|
|
41
|
+
export const AssembleContextResponseSchema = /*@__PURE__*/ messageDesc(file_jammi_v1_pipeline, 5);
|
|
42
|
+
/**
|
|
43
|
+
* Which neighbour-contribution normalisation a propagation hop uses. Mirrors the
|
|
44
|
+
* engine's `PropagationWeighting`; UNSPECIFIED maps to the engine default
|
|
45
|
+
* (`DegreeNormalized`).
|
|
46
|
+
*
|
|
47
|
+
* @generated from enum jammi.v1.pipeline.PropagationWeighting
|
|
48
|
+
*/
|
|
49
|
+
export var PropagationWeighting;
|
|
50
|
+
(function (PropagationWeighting) {
|
|
51
|
+
/**
|
|
52
|
+
* @generated from enum value: PROPAGATION_WEIGHTING_UNSPECIFIED = 0;
|
|
53
|
+
*/
|
|
54
|
+
PropagationWeighting[PropagationWeighting["UNSPECIFIED"] = 0] = "UNSPECIFIED";
|
|
55
|
+
/**
|
|
56
|
+
* @generated from enum value: PROPAGATION_WEIGHTING_DEGREE_NORMALIZED = 1;
|
|
57
|
+
*/
|
|
58
|
+
PropagationWeighting[PropagationWeighting["DEGREE_NORMALIZED"] = 1] = "DEGREE_NORMALIZED";
|
|
59
|
+
/**
|
|
60
|
+
* @generated from enum value: PROPAGATION_WEIGHTING_UNIFORM = 2;
|
|
61
|
+
*/
|
|
62
|
+
PropagationWeighting[PropagationWeighting["UNIFORM"] = 2] = "UNIFORM";
|
|
63
|
+
/**
|
|
64
|
+
* @generated from enum value: PROPAGATION_WEIGHTING_EDGE_SIMILARITY = 3;
|
|
65
|
+
*/
|
|
66
|
+
PropagationWeighting[PropagationWeighting["EDGE_SIMILARITY"] = 3] = "EDGE_SIMILARITY";
|
|
67
|
+
})(PropagationWeighting || (PropagationWeighting = {}));
|
|
68
|
+
/**
|
|
69
|
+
* Describes the enum jammi.v1.pipeline.PropagationWeighting.
|
|
70
|
+
*/
|
|
71
|
+
export const PropagationWeightingSchema = /*@__PURE__*/ enumDesc(file_jammi_v1_pipeline, 0);
|
|
72
|
+
/**
|
|
73
|
+
* What a propagation emits. Mirrors the engine's `PropagationOutput`;
|
|
74
|
+
* UNSPECIFIED maps to the engine default (`Final`).
|
|
75
|
+
*
|
|
76
|
+
* @generated from enum jammi.v1.pipeline.PropagationOutput
|
|
77
|
+
*/
|
|
78
|
+
export var PropagationOutput;
|
|
79
|
+
(function (PropagationOutput) {
|
|
80
|
+
/**
|
|
81
|
+
* @generated from enum value: PROPAGATION_OUTPUT_UNSPECIFIED = 0;
|
|
82
|
+
*/
|
|
83
|
+
PropagationOutput[PropagationOutput["UNSPECIFIED"] = 0] = "UNSPECIFIED";
|
|
84
|
+
/**
|
|
85
|
+
* @generated from enum value: PROPAGATION_OUTPUT_FINAL = 1;
|
|
86
|
+
*/
|
|
87
|
+
PropagationOutput[PropagationOutput["FINAL"] = 1] = "FINAL";
|
|
88
|
+
/**
|
|
89
|
+
* @generated from enum value: PROPAGATION_OUTPUT_JUMPING_KNOWLEDGE = 2;
|
|
90
|
+
*/
|
|
91
|
+
PropagationOutput[PropagationOutput["JUMPING_KNOWLEDGE"] = 2] = "JUMPING_KNOWLEDGE";
|
|
92
|
+
})(PropagationOutput || (PropagationOutput = {}));
|
|
93
|
+
/**
|
|
94
|
+
* Describes the enum jammi.v1.pipeline.PropagationOutput.
|
|
95
|
+
*/
|
|
96
|
+
export const PropagationOutputSchema = /*@__PURE__*/ enumDesc(file_jammi_v1_pipeline, 1);
|
|
97
|
+
/**
|
|
98
|
+
* Which permutation-invariant reduction the context-set encoder pools with.
|
|
99
|
+
* Mirrors the engine's `SetAggregator`; UNSPECIFIED maps to the engine default
|
|
100
|
+
* (`Mean`).
|
|
101
|
+
*
|
|
102
|
+
* @generated from enum jammi.v1.pipeline.SetAggregator
|
|
103
|
+
*/
|
|
104
|
+
export var SetAggregator;
|
|
105
|
+
(function (SetAggregator) {
|
|
106
|
+
/**
|
|
107
|
+
* @generated from enum value: SET_AGGREGATOR_UNSPECIFIED = 0;
|
|
108
|
+
*/
|
|
109
|
+
SetAggregator[SetAggregator["UNSPECIFIED"] = 0] = "UNSPECIFIED";
|
|
110
|
+
/**
|
|
111
|
+
* @generated from enum value: SET_AGGREGATOR_MEAN = 1;
|
|
112
|
+
*/
|
|
113
|
+
SetAggregator[SetAggregator["MEAN"] = 1] = "MEAN";
|
|
114
|
+
/**
|
|
115
|
+
* @generated from enum value: SET_AGGREGATOR_SUM = 2;
|
|
116
|
+
*/
|
|
117
|
+
SetAggregator[SetAggregator["SUM"] = 2] = "SUM";
|
|
118
|
+
/**
|
|
119
|
+
* @generated from enum value: SET_AGGREGATOR_MAX = 3;
|
|
120
|
+
*/
|
|
121
|
+
SetAggregator[SetAggregator["MAX"] = 3] = "MAX";
|
|
122
|
+
})(SetAggregator || (SetAggregator = {}));
|
|
123
|
+
/**
|
|
124
|
+
* Describes the enum jammi.v1.pipeline.SetAggregator.
|
|
125
|
+
*/
|
|
126
|
+
export const SetAggregatorSchema = /*@__PURE__*/ enumDesc(file_jammi_v1_pipeline, 2);
|
|
127
|
+
/**
|
|
128
|
+
* PipelineService — the wire surface for the engine's compute-to-data engine-
|
|
129
|
+
* state verbs that build durable graph/embedding artifacts or assemble a
|
|
130
|
+
* target's conditioning context.
|
|
131
|
+
*
|
|
132
|
+
* `BuildNeighborGraph`, `PropagateEmbeddings`, and `AssembleContext` are
|
|
133
|
+
* imperative session methods, not SQL queries, so they live as typed gRPC RPCs
|
|
134
|
+
* alongside SessionService / EmbeddingService / InferenceService / EvalService
|
|
135
|
+
* rather than on the Flight SQL surface (which carries query/result only, per
|
|
136
|
+
* ADR-01 §3.2). They are substrate primitives — materialising a k-NN graph,
|
|
137
|
+
* propagating features over a declared graph, or pooling a retrieval into a
|
|
138
|
+
* fixed-width context vector — and name no tenant-domain concept.
|
|
139
|
+
*
|
|
140
|
+
* Each verb delegates 1:1 to the engine session; the service reimplements no
|
|
141
|
+
* retrieval, graph, or aggregation logic — it is purely a wire adapter over the
|
|
142
|
+
* in-process engine. The two graph-build verbs transport only a result-table
|
|
143
|
+
* name (the compute stays server-side, so the materialised table is
|
|
144
|
+
* byte-identical to one built in-process); `AssembleContext` carries its pooled
|
|
145
|
+
* vector inline as IEEE-754 `float` (bit-exact for the engine's `Vec<f32>`).
|
|
146
|
+
*
|
|
147
|
+
* Tenant scope is read from the request's `SessionTenant` extension, set by the
|
|
148
|
+
* shared TenantInterceptor from the `jammi-session-id` header — the same
|
|
149
|
+
* mechanism every other gRPC service and Flight SQL already use.
|
|
150
|
+
*
|
|
151
|
+
* @generated from service jammi.v1.pipeline.PipelineService
|
|
152
|
+
*/
|
|
153
|
+
export const PipelineService = /*@__PURE__*/ serviceDesc(file_jammi_v1_pipeline, 0);
|
|
154
|
+
//# sourceMappingURL=pipeline_pb.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pipeline_pb.js","sourceRoot":"","sources":["../../../../src/gen/jammi/v1/pipeline_pb.ts"],"names":[],"mappings":"AAAA,iEAAiE;AACjE,0FAA0F;AAC1F,oBAAoB;AAGpB,OAAO,EAAE,QAAQ,EAAE,QAAQ,EAAE,WAAW,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAE5F,OAAO,EAAE,uBAAuB,EAAE,MAAM,gBAAgB,CAAC;AAEzD,OAAO,EAAE,uBAAuB,EAAE,MAAM,gBAAgB,CAAC;AAEzD,OAAO,EAAE,qBAAqB,EAAE,MAAM,cAAc,CAAC;AAGrD;;GAEG;AACH,MAAM,CAAC,MAAM,sBAAsB,GAAY,aAAa,CAC1D,QAAQ,CAAC,0yFAA0yF,EAAE,CAAC,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