@f-inverse/jammi-client 0.24.0 → 0.26.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/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
|
@@ -70,6 +70,233 @@ export type InferResponse = Message<"jammi.v1.inference.InferResponse"> & {
|
|
|
70
70
|
* Use `create(InferResponseSchema)` to create a new message.
|
|
71
71
|
*/
|
|
72
72
|
export declare const InferResponseSchema: GenMessage<InferResponse>;
|
|
73
|
+
/**
|
|
74
|
+
* A registered declared-edge source + the bounded-gather knobs. Mirrors the
|
|
75
|
+
* engine's `EdgeGather` over an `EdgeSourceRef::Registered` source — the
|
|
76
|
+
* "bring your own graph" case the predict binding exposes. Absent on the
|
|
77
|
+
* request = the ANN-only default (embedding-similarity context).
|
|
78
|
+
*
|
|
79
|
+
* @generated from message jammi.v1.inference.EdgeGather
|
|
80
|
+
*/
|
|
81
|
+
export type EdgeGather = Message<"jammi.v1.inference.EdgeGather"> & {
|
|
82
|
+
/**
|
|
83
|
+
* The registered source id holding the edge rows.
|
|
84
|
+
*
|
|
85
|
+
* @generated from field: string edge_source = 1;
|
|
86
|
+
*/
|
|
87
|
+
edgeSource: string;
|
|
88
|
+
/**
|
|
89
|
+
* Column holding the edge's source endpoint.
|
|
90
|
+
*
|
|
91
|
+
* @generated from field: string src_column = 2;
|
|
92
|
+
*/
|
|
93
|
+
srcColumn: string;
|
|
94
|
+
/**
|
|
95
|
+
* Column holding the edge's destination endpoint.
|
|
96
|
+
*
|
|
97
|
+
* @generated from field: string dst_column = 3;
|
|
98
|
+
*/
|
|
99
|
+
dstColumn: string;
|
|
100
|
+
/**
|
|
101
|
+
* Optional column holding the edge type (for `edge_types` filtering).
|
|
102
|
+
*
|
|
103
|
+
* @generated from field: optional string type_column = 4;
|
|
104
|
+
*/
|
|
105
|
+
typeColumn?: string | undefined;
|
|
106
|
+
/**
|
|
107
|
+
* Optional column holding the edge weight (for `min_weight` filtering).
|
|
108
|
+
*
|
|
109
|
+
* @generated from field: optional string weight_column = 5;
|
|
110
|
+
*/
|
|
111
|
+
weightColumn?: string | undefined;
|
|
112
|
+
/**
|
|
113
|
+
* Hops of bounded BFS (clamped to the engine hop cap). 0 = the engine default.
|
|
114
|
+
*
|
|
115
|
+
* @generated from field: uint32 hops = 6;
|
|
116
|
+
*/
|
|
117
|
+
hops: number;
|
|
118
|
+
/**
|
|
119
|
+
* Per-node per-hop neighbour sample cap (GraphSAGE). Unset = exact (no cap).
|
|
120
|
+
*
|
|
121
|
+
* @generated from field: optional uint32 fanout = 7;
|
|
122
|
+
*/
|
|
123
|
+
fanout?: number | undefined;
|
|
124
|
+
/**
|
|
125
|
+
* Direction the walk follows from the target.
|
|
126
|
+
*
|
|
127
|
+
* @generated from field: jammi.v1.inference.EdgeDirection direction = 8;
|
|
128
|
+
*/
|
|
129
|
+
direction: EdgeDirection;
|
|
130
|
+
/**
|
|
131
|
+
* Optional edge-type allow-list; empty = no type filter.
|
|
132
|
+
*
|
|
133
|
+
* @generated from field: repeated string edge_types = 9;
|
|
134
|
+
*/
|
|
135
|
+
edgeTypes: string[];
|
|
136
|
+
/**
|
|
137
|
+
* Optional minimum edge weight to traverse.
|
|
138
|
+
*
|
|
139
|
+
* @generated from field: optional double min_weight = 10;
|
|
140
|
+
*/
|
|
141
|
+
minWeight?: number | undefined;
|
|
142
|
+
};
|
|
143
|
+
/**
|
|
144
|
+
* Describes the message jammi.v1.inference.EdgeGather.
|
|
145
|
+
* Use `create(EdgeGatherSchema)` to create a new message.
|
|
146
|
+
*/
|
|
147
|
+
export declare const EdgeGatherSchema: GenMessage<EdgeGather>;
|
|
148
|
+
/**
|
|
149
|
+
* @generated from message jammi.v1.inference.PredictRequest
|
|
150
|
+
*/
|
|
151
|
+
export type PredictRequest = Message<"jammi.v1.inference.PredictRequest"> & {
|
|
152
|
+
/**
|
|
153
|
+
* The trained context predictor's model id.
|
|
154
|
+
*
|
|
155
|
+
* @generated from field: string model_id = 1;
|
|
156
|
+
*/
|
|
157
|
+
modelId: string;
|
|
158
|
+
/**
|
|
159
|
+
* Source whose embedding table the live context is drawn from (need not equal
|
|
160
|
+
* the training source — a predictor serves a target in any corpus of the same
|
|
161
|
+
* shape).
|
|
162
|
+
*
|
|
163
|
+
* @generated from field: string source = 2;
|
|
164
|
+
*/
|
|
165
|
+
source: string;
|
|
166
|
+
/**
|
|
167
|
+
* The target row's key (the retrieval query is its stored vector).
|
|
168
|
+
*
|
|
169
|
+
* @generated from field: string target_key = 3;
|
|
170
|
+
*/
|
|
171
|
+
targetKey: string;
|
|
172
|
+
/**
|
|
173
|
+
* Optional SQL predicate scoping the serving context; empty = whole table.
|
|
174
|
+
*
|
|
175
|
+
* @generated from field: optional string split = 4;
|
|
176
|
+
*/
|
|
177
|
+
split?: string | undefined;
|
|
178
|
+
/**
|
|
179
|
+
* Optional declared-edge gather. Absent = ANN-only embedding-similarity
|
|
180
|
+
* context. Present with no `hybrid_ann_k` = declared-edge context only;
|
|
181
|
+
* present with `hybrid_ann_k` = the union of ANN and declared-edge context.
|
|
182
|
+
*
|
|
183
|
+
* @generated from field: optional jammi.v1.inference.EdgeGather edges = 5;
|
|
184
|
+
*/
|
|
185
|
+
edges?: EdgeGather | undefined;
|
|
186
|
+
/**
|
|
187
|
+
* ANN neighbourhood size for the hybrid arm. Set only with `edges` to pool the
|
|
188
|
+
* embedding-similarity and declared-edge candidate sets.
|
|
189
|
+
*
|
|
190
|
+
* @generated from field: optional uint32 hybrid_ann_k = 6;
|
|
191
|
+
*/
|
|
192
|
+
hybridAnnK?: number | undefined;
|
|
193
|
+
};
|
|
194
|
+
/**
|
|
195
|
+
* Describes the message jammi.v1.inference.PredictRequest.
|
|
196
|
+
* Use `create(PredictRequestSchema)` to create a new message.
|
|
197
|
+
*/
|
|
198
|
+
export declare const PredictRequestSchema: GenMessage<PredictRequest>;
|
|
199
|
+
/**
|
|
200
|
+
* @generated from message jammi.v1.inference.PredictResponse
|
|
201
|
+
*/
|
|
202
|
+
export type PredictResponse = Message<"jammi.v1.inference.PredictResponse"> & {
|
|
203
|
+
/**
|
|
204
|
+
* The served predictive distribution. Mirrors the engine's
|
|
205
|
+
* `PredictedDistribution`.
|
|
206
|
+
*
|
|
207
|
+
* @generated from oneof jammi.v1.inference.PredictResponse.distribution
|
|
208
|
+
*/
|
|
209
|
+
distribution: {
|
|
210
|
+
/**
|
|
211
|
+
* @generated from field: jammi.v1.inference.PredictResponse.Gaussian gaussian = 1;
|
|
212
|
+
*/
|
|
213
|
+
value: PredictResponse_Gaussian;
|
|
214
|
+
case: "gaussian";
|
|
215
|
+
} | {
|
|
216
|
+
/**
|
|
217
|
+
* @generated from field: jammi.v1.inference.PredictResponse.Quantile quantile = 2;
|
|
218
|
+
*/
|
|
219
|
+
value: PredictResponse_Quantile;
|
|
220
|
+
case: "quantile";
|
|
221
|
+
} | {
|
|
222
|
+
case: undefined;
|
|
223
|
+
value?: undefined;
|
|
224
|
+
};
|
|
225
|
+
/**
|
|
226
|
+
* How the conditioning context was assembled ("ann" / "edges" / "hybrid").
|
|
227
|
+
*
|
|
228
|
+
* @generated from field: string source = 3;
|
|
229
|
+
*/
|
|
230
|
+
source: string;
|
|
231
|
+
/**
|
|
232
|
+
* The context member keys, in retrieval order — the neighbour provenance the
|
|
233
|
+
* coverage layer attributes the prediction by.
|
|
234
|
+
*
|
|
235
|
+
* @generated from field: repeated string context_ref = 4;
|
|
236
|
+
*/
|
|
237
|
+
contextRef: string[];
|
|
238
|
+
};
|
|
239
|
+
/**
|
|
240
|
+
* Describes the message jammi.v1.inference.PredictResponse.
|
|
241
|
+
* Use `create(PredictResponseSchema)` to create a new message.
|
|
242
|
+
*/
|
|
243
|
+
export declare const PredictResponseSchema: GenMessage<PredictResponse>;
|
|
244
|
+
/**
|
|
245
|
+
* Parametric Gaussian: predictive mean + served standard deviation.
|
|
246
|
+
*
|
|
247
|
+
* @generated from message jammi.v1.inference.PredictResponse.Gaussian
|
|
248
|
+
*/
|
|
249
|
+
export type PredictResponse_Gaussian = Message<"jammi.v1.inference.PredictResponse.Gaussian"> & {
|
|
250
|
+
/**
|
|
251
|
+
* @generated from field: double mean = 1;
|
|
252
|
+
*/
|
|
253
|
+
mean: number;
|
|
254
|
+
/**
|
|
255
|
+
* @generated from field: double std = 2;
|
|
256
|
+
*/
|
|
257
|
+
std: number;
|
|
258
|
+
};
|
|
259
|
+
/**
|
|
260
|
+
* Describes the message jammi.v1.inference.PredictResponse.Gaussian.
|
|
261
|
+
* Use `create(PredictResponse_GaussianSchema)` to create a new message.
|
|
262
|
+
*/
|
|
263
|
+
export declare const PredictResponse_GaussianSchema: GenMessage<PredictResponse_Gaussian>;
|
|
264
|
+
/**
|
|
265
|
+
* Quantile: one `(level, value)` per declared level, ascending.
|
|
266
|
+
*
|
|
267
|
+
* @generated from message jammi.v1.inference.PredictResponse.Quantile
|
|
268
|
+
*/
|
|
269
|
+
export type PredictResponse_Quantile = Message<"jammi.v1.inference.PredictResponse.Quantile"> & {
|
|
270
|
+
/**
|
|
271
|
+
* @generated from field: repeated jammi.v1.inference.PredictResponse.QuantilePoint points = 1;
|
|
272
|
+
*/
|
|
273
|
+
points: PredictResponse_QuantilePoint[];
|
|
274
|
+
};
|
|
275
|
+
/**
|
|
276
|
+
* Describes the message jammi.v1.inference.PredictResponse.Quantile.
|
|
277
|
+
* Use `create(PredictResponse_QuantileSchema)` to create a new message.
|
|
278
|
+
*/
|
|
279
|
+
export declare const PredictResponse_QuantileSchema: GenMessage<PredictResponse_Quantile>;
|
|
280
|
+
/**
|
|
281
|
+
* One served quantile estimate.
|
|
282
|
+
*
|
|
283
|
+
* @generated from message jammi.v1.inference.PredictResponse.QuantilePoint
|
|
284
|
+
*/
|
|
285
|
+
export type PredictResponse_QuantilePoint = Message<"jammi.v1.inference.PredictResponse.QuantilePoint"> & {
|
|
286
|
+
/**
|
|
287
|
+
* @generated from field: double level = 1;
|
|
288
|
+
*/
|
|
289
|
+
level: number;
|
|
290
|
+
/**
|
|
291
|
+
* @generated from field: double value = 2;
|
|
292
|
+
*/
|
|
293
|
+
value: number;
|
|
294
|
+
};
|
|
295
|
+
/**
|
|
296
|
+
* Describes the message jammi.v1.inference.PredictResponse.QuantilePoint.
|
|
297
|
+
* Use `create(PredictResponse_QuantilePointSchema)` to create a new message.
|
|
298
|
+
*/
|
|
299
|
+
export declare const PredictResponse_QuantilePointSchema: GenMessage<PredictResponse_QuantilePoint>;
|
|
73
300
|
/**
|
|
74
301
|
* Which model task `Infer` runs over the columns. Mirrors the engine's
|
|
75
302
|
* `ModelTask` (`jammi-db`); the embedding variants encode to vectors, the
|
|
@@ -111,6 +338,34 @@ export declare enum ModelTask {
|
|
|
111
338
|
* Describes the enum jammi.v1.inference.ModelTask.
|
|
112
339
|
*/
|
|
113
340
|
export declare const ModelTaskSchema: GenEnum<ModelTask>;
|
|
341
|
+
/**
|
|
342
|
+
* Which direction a declared-edge gather follows an edge from the target's
|
|
343
|
+
* perspective. Mirrors the engine's `EdgeDirection`.
|
|
344
|
+
*
|
|
345
|
+
* @generated from enum jammi.v1.inference.EdgeDirection
|
|
346
|
+
*/
|
|
347
|
+
export declare enum EdgeDirection {
|
|
348
|
+
/**
|
|
349
|
+
* @generated from enum value: EDGE_DIRECTION_UNSPECIFIED = 0;
|
|
350
|
+
*/
|
|
351
|
+
EDGE_DIRECTION_UNSPECIFIED = 0,
|
|
352
|
+
/**
|
|
353
|
+
* @generated from enum value: OUT = 1;
|
|
354
|
+
*/
|
|
355
|
+
OUT = 1,
|
|
356
|
+
/**
|
|
357
|
+
* @generated from enum value: IN = 2;
|
|
358
|
+
*/
|
|
359
|
+
IN = 2,
|
|
360
|
+
/**
|
|
361
|
+
* @generated from enum value: UNDIRECTED = 3;
|
|
362
|
+
*/
|
|
363
|
+
UNDIRECTED = 3
|
|
364
|
+
}
|
|
365
|
+
/**
|
|
366
|
+
* Describes the enum jammi.v1.inference.EdgeDirection.
|
|
367
|
+
*/
|
|
368
|
+
export declare const EdgeDirectionSchema: GenEnum<EdgeDirection>;
|
|
114
369
|
/**
|
|
115
370
|
* InferenceService — the wire surface for the engine's inference verb.
|
|
116
371
|
*
|
|
@@ -120,7 +375,7 @@ export declare const ModelTaskSchema: GenEnum<ModelTask>;
|
|
|
120
375
|
* ADR-01 §3.2). The verb is a substrate primitive: it names the act of running
|
|
121
376
|
* a model over a source, not any tenant-domain concept.
|
|
122
377
|
*
|
|
123
|
-
* The verb delegates 1:1 to the consumer-facing `Session
|
|
378
|
+
* The verb delegates 1:1 to the consumer-facing `Session`
|
|
124
379
|
* abstraction; the service reimplements no model loading, scan, or forward
|
|
125
380
|
* logic — it is purely a wire adapter over the in-process engine.
|
|
126
381
|
*
|
|
@@ -144,5 +399,21 @@ export declare const InferenceService: GenService<{
|
|
|
144
399
|
input: typeof InferRequestSchema;
|
|
145
400
|
output: typeof InferResponseSchema;
|
|
146
401
|
};
|
|
402
|
+
/**
|
|
403
|
+
* Predict one target's distribution with a trained in-context predictor (S19)
|
|
404
|
+
* by assembling its live context and running one in-context forward — no
|
|
405
|
+
* gradient update. Peer of the engine's `predict_with_context_predictor`
|
|
406
|
+
* (the provenanced form): returns the predictive distribution plus the
|
|
407
|
+
* assembly `source` fact and the context member keys, so a graph-conditioned
|
|
408
|
+
* prediction is never unattributed. Lives on InferenceService because it is a
|
|
409
|
+
* serving verb — running a model over a source — not a training submission.
|
|
410
|
+
*
|
|
411
|
+
* @generated from rpc jammi.v1.inference.InferenceService.Predict
|
|
412
|
+
*/
|
|
413
|
+
predict: {
|
|
414
|
+
methodKind: "unary";
|
|
415
|
+
input: typeof PredictRequestSchema;
|
|
416
|
+
output: typeof PredictResponseSchema;
|
|
417
|
+
};
|
|
147
418
|
}>;
|
|
148
419
|
//# sourceMappingURL=inference_pb.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"inference_pb.d.ts","sourceRoot":"","sources":["../../../../src/gen/jammi/v1/inference_pb.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,OAAO,EAAE,OAAO,EAAE,UAAU,EAAE,UAAU,EAAE,MAAM,8BAA8B,CAAC;AAE7F,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAE/C,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,oBAAoB,CAAC;AAElD;;GAEG;AACH,eAAO,MAAM,uBAAuB,EAAE,
|
|
1
|
+
{"version":3,"file":"inference_pb.d.ts","sourceRoot":"","sources":["../../../../src/gen/jammi/v1/inference_pb.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,OAAO,EAAE,OAAO,EAAE,UAAU,EAAE,UAAU,EAAE,MAAM,8BAA8B,CAAC;AAE7F,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAE/C,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,oBAAoB,CAAC;AAElD;;GAEG;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ACH,eAAO,MAAM,mBAAmB,EAAE,OAAO,CAAC,aAAa,CACjB,CAAC;AAEvC;;;;;;;;;;;;;;;;;;GAkBG;AACH,eAAO,MAAM,gBAAgB,EAAE,UAAU,CAAC;IACxC;;;;;;;OAOG;IACH,KAAK,EAAE;QACL,UAAU,EAAE,OAAO,CAAC;QACpB,KAAK,EAAE,OAAO,kBAAkB,CAAC;QACjC,MAAM,EAAE,OAAO,mBAAmB,CAAC;KACpC,CAAC;IACF;;;;;;;;;;OAUG;IACH,OAAO,EAAE;QACP,UAAU,EAAE,OAAO,CAAC;QACpB,KAAK,EAAE,OAAO,oBAAoB,CAAC;QACnC,MAAM,EAAE,OAAO,qBAAqB,CAAC;KACtC,CAAC;CACH,CACwC,CAAC"}
|
|
@@ -6,7 +6,7 @@ import { file_jammi_v1_trigger } from "./trigger_pb";
|
|
|
6
6
|
/**
|
|
7
7
|
* Describes the file jammi/v1/inference.proto.
|
|
8
8
|
*/
|
|
9
|
-
export const file_jammi_v1_inference = /*@__PURE__*/ fileDesc("
|
|
9
|
+
export const file_jammi_v1_inference = /*@__PURE__*/ fileDesc("ChhqYW1taS92MS9pbmZlcmVuY2UucHJvdG8SEmphbW1pLnYxLmluZmVyZW5jZSKYAQoMSW5mZXJSZXF1ZXN0EhEKCXNvdXJjZV9pZBgBIAEoCRIQCghtb2RlbF9pZBgCIAEoCRIrCgR0YXNrGAMgASgOMh0uamFtbWkudjEuaW5mZXJlbmNlLk1vZGVsVGFzaxIPCgdjb2x1bW5zGAQgAygJEhIKCmtleV9jb2x1bW4YBSABKAkSEQoJdGVuYW50X2lkGAYgASgJIj0KDUluZmVyUmVzcG9uc2USLAoGcmVzdWx0GAEgASgLMhwuamFtbWkudjEudHJpZ2dlci5BcnJvd0JhdGNoIsECCgpFZGdlR2F0aGVyEhMKC2VkZ2Vfc291cmNlGAEgASgJEhIKCnNyY19jb2x1bW4YAiABKAkSEgoKZHN0X2NvbHVtbhgDIAEoCRIYCgt0eXBlX2NvbHV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zdHJpYnV0aW9uKpIBCglNb2RlbFRhc2sSGgoWTU9ERUxfVEFTS19VTlNQRUNJRklFRBAAEhIKDlRFWFRfRU1CRURESU5HEAESEwoPSU1BR0VfRU1CRURESU5HEAISEwoPQVVESU9fRU1CRURESU5HEAMSEgoOQ0xBU1NJRklDQVRJT04QBBIHCgNORVIQBRIOCgpSRUdSRVNTSU9OEAYqUAoNRWRnZURpcmVjdGlvbhIeChpFREdFX0RJUkVDVElPTl9VTlNQRUNJRklFRBAAEgcKA09VVBABEgYKAklOEAISDgoKVU5ESVJFQ1RFRBADMrQBChBJbmZlcmVuY2VTZXJ2aWNlEkwKBUluZmVyEiAuamFtbWkudjEuaW5mZXJlbmNlLkluZmVyUmVxdWVzdBohLmphbW1pLnYxLmluZmVyZW5jZS5JbmZlclJlc3BvbnNlElIKB1ByZWRpY3QSIi5qYW1taS52MS5pbmZlcmVuY2UuUHJlZGljdFJlcXVlc3QaIy5qYW1taS52MS5pbmZlcmVuY2UuUHJlZGljdFJlc3BvbnNlYgZwcm90bzM", [file_jammi_v1_trigger]);
|
|
10
10
|
/**
|
|
11
11
|
* Describes the message jammi.v1.inference.InferRequest.
|
|
12
12
|
* Use `create(InferRequestSchema)` to create a new message.
|
|
@@ -17,6 +17,36 @@ export const InferRequestSchema = /*@__PURE__*/ messageDesc(file_jammi_v1_infere
|
|
|
17
17
|
* Use `create(InferResponseSchema)` to create a new message.
|
|
18
18
|
*/
|
|
19
19
|
export const InferResponseSchema = /*@__PURE__*/ messageDesc(file_jammi_v1_inference, 1);
|
|
20
|
+
/**
|
|
21
|
+
* Describes the message jammi.v1.inference.EdgeGather.
|
|
22
|
+
* Use `create(EdgeGatherSchema)` to create a new message.
|
|
23
|
+
*/
|
|
24
|
+
export const EdgeGatherSchema = /*@__PURE__*/ messageDesc(file_jammi_v1_inference, 2);
|
|
25
|
+
/**
|
|
26
|
+
* Describes the message jammi.v1.inference.PredictRequest.
|
|
27
|
+
* Use `create(PredictRequestSchema)` to create a new message.
|
|
28
|
+
*/
|
|
29
|
+
export const PredictRequestSchema = /*@__PURE__*/ messageDesc(file_jammi_v1_inference, 3);
|
|
30
|
+
/**
|
|
31
|
+
* Describes the message jammi.v1.inference.PredictResponse.
|
|
32
|
+
* Use `create(PredictResponseSchema)` to create a new message.
|
|
33
|
+
*/
|
|
34
|
+
export const PredictResponseSchema = /*@__PURE__*/ messageDesc(file_jammi_v1_inference, 4);
|
|
35
|
+
/**
|
|
36
|
+
* Describes the message jammi.v1.inference.PredictResponse.Gaussian.
|
|
37
|
+
* Use `create(PredictResponse_GaussianSchema)` to create a new message.
|
|
38
|
+
*/
|
|
39
|
+
export const PredictResponse_GaussianSchema = /*@__PURE__*/ messageDesc(file_jammi_v1_inference, 4, 0);
|
|
40
|
+
/**
|
|
41
|
+
* Describes the message jammi.v1.inference.PredictResponse.Quantile.
|
|
42
|
+
* Use `create(PredictResponse_QuantileSchema)` to create a new message.
|
|
43
|
+
*/
|
|
44
|
+
export const PredictResponse_QuantileSchema = /*@__PURE__*/ messageDesc(file_jammi_v1_inference, 4, 1);
|
|
45
|
+
/**
|
|
46
|
+
* Describes the message jammi.v1.inference.PredictResponse.QuantilePoint.
|
|
47
|
+
* Use `create(PredictResponse_QuantilePointSchema)` to create a new message.
|
|
48
|
+
*/
|
|
49
|
+
export const PredictResponse_QuantilePointSchema = /*@__PURE__*/ messageDesc(file_jammi_v1_inference, 4, 2);
|
|
20
50
|
/**
|
|
21
51
|
* Which model task `Infer` runs over the columns. Mirrors the engine's
|
|
22
52
|
* `ModelTask` (`jammi-db`); the embedding variants encode to vectors, the
|
|
@@ -59,6 +89,35 @@ export var ModelTask;
|
|
|
59
89
|
* Describes the enum jammi.v1.inference.ModelTask.
|
|
60
90
|
*/
|
|
61
91
|
export const ModelTaskSchema = /*@__PURE__*/ enumDesc(file_jammi_v1_inference, 0);
|
|
92
|
+
/**
|
|
93
|
+
* Which direction a declared-edge gather follows an edge from the target's
|
|
94
|
+
* perspective. Mirrors the engine's `EdgeDirection`.
|
|
95
|
+
*
|
|
96
|
+
* @generated from enum jammi.v1.inference.EdgeDirection
|
|
97
|
+
*/
|
|
98
|
+
export var EdgeDirection;
|
|
99
|
+
(function (EdgeDirection) {
|
|
100
|
+
/**
|
|
101
|
+
* @generated from enum value: EDGE_DIRECTION_UNSPECIFIED = 0;
|
|
102
|
+
*/
|
|
103
|
+
EdgeDirection[EdgeDirection["EDGE_DIRECTION_UNSPECIFIED"] = 0] = "EDGE_DIRECTION_UNSPECIFIED";
|
|
104
|
+
/**
|
|
105
|
+
* @generated from enum value: OUT = 1;
|
|
106
|
+
*/
|
|
107
|
+
EdgeDirection[EdgeDirection["OUT"] = 1] = "OUT";
|
|
108
|
+
/**
|
|
109
|
+
* @generated from enum value: IN = 2;
|
|
110
|
+
*/
|
|
111
|
+
EdgeDirection[EdgeDirection["IN"] = 2] = "IN";
|
|
112
|
+
/**
|
|
113
|
+
* @generated from enum value: UNDIRECTED = 3;
|
|
114
|
+
*/
|
|
115
|
+
EdgeDirection[EdgeDirection["UNDIRECTED"] = 3] = "UNDIRECTED";
|
|
116
|
+
})(EdgeDirection || (EdgeDirection = {}));
|
|
117
|
+
/**
|
|
118
|
+
* Describes the enum jammi.v1.inference.EdgeDirection.
|
|
119
|
+
*/
|
|
120
|
+
export const EdgeDirectionSchema = /*@__PURE__*/ enumDesc(file_jammi_v1_inference, 1);
|
|
62
121
|
/**
|
|
63
122
|
* InferenceService — the wire surface for the engine's inference verb.
|
|
64
123
|
*
|
|
@@ -68,7 +127,7 @@ export const ModelTaskSchema = /*@__PURE__*/ enumDesc(file_jammi_v1_inference, 0
|
|
|
68
127
|
* ADR-01 §3.2). The verb is a substrate primitive: it names the act of running
|
|
69
128
|
* a model over a source, not any tenant-domain concept.
|
|
70
129
|
*
|
|
71
|
-
* The verb delegates 1:1 to the consumer-facing `Session
|
|
130
|
+
* The verb delegates 1:1 to the consumer-facing `Session`
|
|
72
131
|
* abstraction; the service reimplements no model loading, scan, or forward
|
|
73
132
|
* logic — it is purely a wire adapter over the in-process engine.
|
|
74
133
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"inference_pb.js","sourceRoot":"","sources":["../../../../src/gen/jammi/v1/inference_pb.ts"],"names":[],"mappings":"AAAA,iEAAiE;AACjE,4FAA4F;AAC5F,oBAAoB;AAGpB,OAAO,EAAE,QAAQ,EAAE,QAAQ,EAAE,WAAW,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAE5F,OAAO,EAAE,qBAAqB,EAAE,MAAM,cAAc,CAAC;AAGrD;;GAEG;AACH,MAAM,CAAC,MAAM,uBAAuB,GAAY,aAAa,CAC3D,QAAQ,CAAC,
|
|
1
|
+
{"version":3,"file":"inference_pb.js","sourceRoot":"","sources":["../../../../src/gen/jammi/v1/inference_pb.ts"],"names":[],"mappings":"AAAA,iEAAiE;AACjE,4FAA4F;AAC5F,oBAAoB;AAGpB,OAAO,EAAE,QAAQ,EAAE,QAAQ,EAAE,WAAW,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAE5F,OAAO,EAAE,qBAAqB,EAAE,MAAM,cAAc,CAAC;AAGrD;;GAEG;AACH,MAAM,CAAC,MAAM,uBAAuB,GAAY,aAAa,CAC3D,QAAQ,CAAC,ykEAAykE,EAAE,CAAC,qBAAqB,CAAC,CAAC,CAAC;AAkD/mE;;;GAGG;AACH,MAAM,CAAC,MAAM,kBAAkB,GAA6B,aAAa,CACvE,WAAW,CAAC,uBAAuB,EAAE,CAAC,CAAC,CAAC;AAgB1C;;;GAGG;AACH,MAAM,CAAC,MAAM,mBAAmB,GAA8B,aAAa,CACzE,WAAW,CAAC,uBAAuB,EAAE,CAAC,CAAC,CAAC;AAkF1C;;;GAGG;AACH,MAAM,CAAC,MAAM,gBAAgB,GAA2B,aAAa,CACnE,WAAW,CAAC,uBAAuB,EAAE,CAAC,CAAC,CAAC;AAsD1C;;;GAGG;AACH,MAAM,CAAC,MAAM,oBAAoB,GAA+B,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