@tenphi/akno-protocol 0.6.0 → 0.7.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/dist/common.d.ts +228 -0
- package/dist/common.d.ts.map +1 -1
- package/dist/common.js +35 -1
- package/dist/common.js.map +1 -1
- package/dist/ops/answer.d.ts +104 -0
- package/dist/ops/answer.d.ts.map +1 -1
- package/dist/ops/answer.js +24 -0
- package/dist/ops/answer.js.map +1 -1
- package/dist/ops/context.d.ts +83 -0
- package/dist/ops/context.d.ts.map +1 -1
- package/dist/ops/graph.d.ts +11 -2
- package/dist/ops/graph.d.ts.map +1 -1
- package/dist/ops/read.d.ts +70 -0
- package/dist/ops/read.d.ts.map +1 -1
- package/dist/ops/recall.d.ts +45 -0
- package/dist/ops/recall.d.ts.map +1 -1
- package/dist/ops/retain.d.ts +3 -3
- package/dist/registry.d.ts +223 -2
- package/dist/registry.d.ts.map +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +3 -3
- package/dist/version.js.map +1 -1
- package/package.json +1 -1
package/dist/ops/graph.d.ts
CHANGED
|
@@ -24,6 +24,7 @@ export declare const GraphInput: z.ZodObject<{
|
|
|
24
24
|
related_entity: "related_entity";
|
|
25
25
|
owns_document: "owns_document";
|
|
26
26
|
participates_in: "participates_in";
|
|
27
|
+
derived_from: "derived_from";
|
|
27
28
|
}>>>;
|
|
28
29
|
max_hops: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>>;
|
|
29
30
|
limit: z.ZodOptional<z.ZodNumber>;
|
|
@@ -43,6 +44,7 @@ export declare const GraphEdgeRef: z.ZodObject<{
|
|
|
43
44
|
related_entity: "related_entity";
|
|
44
45
|
owns_document: "owns_document";
|
|
45
46
|
participates_in: "participates_in";
|
|
47
|
+
derived_from: "derived_from";
|
|
46
48
|
}>;
|
|
47
49
|
predicate: z.ZodOptional<z.ZodString>;
|
|
48
50
|
confidence: z.ZodNumber;
|
|
@@ -76,8 +78,8 @@ export declare const GraphEdgeRef: z.ZodObject<{
|
|
|
76
78
|
export type GraphEdgeRef = z.infer<typeof GraphEdgeRef>;
|
|
77
79
|
export declare const GraphSeed: z.ZodObject<{
|
|
78
80
|
form: z.ZodEnum<{
|
|
79
|
-
entity: "entity";
|
|
80
81
|
slug: "slug";
|
|
82
|
+
entity: "entity";
|
|
81
83
|
query: "query";
|
|
82
84
|
}>;
|
|
83
85
|
value: z.ZodString;
|
|
@@ -115,6 +117,7 @@ export declare const GraphAmbiguity: z.ZodObject<{
|
|
|
115
117
|
kind: z.ZodEnum<{
|
|
116
118
|
event: "event";
|
|
117
119
|
fact: "fact";
|
|
120
|
+
observation: "observation";
|
|
118
121
|
entity: "entity";
|
|
119
122
|
page: "page";
|
|
120
123
|
document: "document";
|
|
@@ -140,6 +143,7 @@ export declare const GraphAmbiguity: z.ZodObject<{
|
|
|
140
143
|
document: z.ZodOptional<z.ZodString>;
|
|
141
144
|
fact: z.ZodOptional<z.ZodString>;
|
|
142
145
|
event: z.ZodOptional<z.ZodString>;
|
|
146
|
+
observation: z.ZodOptional<z.ZodString>;
|
|
143
147
|
date: z.ZodOptional<z.ZodString>;
|
|
144
148
|
line_start: z.ZodOptional<z.ZodNumber>;
|
|
145
149
|
line_end: z.ZodOptional<z.ZodNumber>;
|
|
@@ -188,8 +192,8 @@ export declare const GraphOutput: z.ZodObject<{
|
|
|
188
192
|
note: z.ZodOptional<z.ZodString>;
|
|
189
193
|
seeds: z.ZodArray<z.ZodObject<{
|
|
190
194
|
form: z.ZodEnum<{
|
|
191
|
-
entity: "entity";
|
|
192
195
|
slug: "slug";
|
|
196
|
+
entity: "entity";
|
|
193
197
|
query: "query";
|
|
194
198
|
}>;
|
|
195
199
|
value: z.ZodString;
|
|
@@ -200,6 +204,7 @@ export declare const GraphOutput: z.ZodObject<{
|
|
|
200
204
|
kind: z.ZodEnum<{
|
|
201
205
|
event: "event";
|
|
202
206
|
fact: "fact";
|
|
207
|
+
observation: "observation";
|
|
203
208
|
entity: "entity";
|
|
204
209
|
page: "page";
|
|
205
210
|
document: "document";
|
|
@@ -225,6 +230,7 @@ export declare const GraphOutput: z.ZodObject<{
|
|
|
225
230
|
document: z.ZodOptional<z.ZodString>;
|
|
226
231
|
fact: z.ZodOptional<z.ZodString>;
|
|
227
232
|
event: z.ZodOptional<z.ZodString>;
|
|
233
|
+
observation: z.ZodOptional<z.ZodString>;
|
|
228
234
|
date: z.ZodOptional<z.ZodString>;
|
|
229
235
|
line_start: z.ZodOptional<z.ZodNumber>;
|
|
230
236
|
line_end: z.ZodOptional<z.ZodNumber>;
|
|
@@ -247,6 +253,7 @@ export declare const GraphOutput: z.ZodObject<{
|
|
|
247
253
|
related_entity: "related_entity";
|
|
248
254
|
owns_document: "owns_document";
|
|
249
255
|
participates_in: "participates_in";
|
|
256
|
+
derived_from: "derived_from";
|
|
250
257
|
}>;
|
|
251
258
|
predicate: z.ZodOptional<z.ZodString>;
|
|
252
259
|
confidence: z.ZodNumber;
|
|
@@ -307,6 +314,7 @@ export declare const GraphOutput: z.ZodObject<{
|
|
|
307
314
|
kind: z.ZodEnum<{
|
|
308
315
|
event: "event";
|
|
309
316
|
fact: "fact";
|
|
317
|
+
observation: "observation";
|
|
310
318
|
entity: "entity";
|
|
311
319
|
page: "page";
|
|
312
320
|
document: "document";
|
|
@@ -332,6 +340,7 @@ export declare const GraphOutput: z.ZodObject<{
|
|
|
332
340
|
document: z.ZodOptional<z.ZodString>;
|
|
333
341
|
fact: z.ZodOptional<z.ZodString>;
|
|
334
342
|
event: z.ZodOptional<z.ZodString>;
|
|
343
|
+
observation: z.ZodOptional<z.ZodString>;
|
|
335
344
|
date: z.ZodOptional<z.ZodString>;
|
|
336
345
|
line_start: z.ZodOptional<z.ZodNumber>;
|
|
337
346
|
line_end: z.ZodOptional<z.ZodNumber>;
|
package/dist/ops/graph.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"graph.d.ts","sourceRoot":"","sources":["../../src/ops/graph.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,eAAO,MAAM,cAAc;;;;EAAgC,CAAC;AAC5D,MAAM,MAAM,cAAc,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;AAE5D,mFAAmF;AACnF,eAAO,MAAM,UAAU
|
|
1
|
+
{"version":3,"file":"graph.d.ts","sourceRoot":"","sources":["../../src/ops/graph.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,eAAO,MAAM,cAAc;;;;EAAgC,CAAC;AAC5D,MAAM,MAAM,cAAc,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;AAE5D,mFAAmF;AACnF,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;iBAcnB,CAAC;AACL,MAAM,MAAM,UAAU,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,UAAU,CAAC,CAAC;AAEpD,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAavB,CAAC;AACH,MAAM,MAAM,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,YAAY,CAAC,CAAC;AAExD,eAAO,MAAM,SAAS;;;;;;;;iBAIpB,CAAC;AACH,MAAM,MAAM,SAAS,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,SAAS,CAAC,CAAC;AAElD,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;iBAOpB,CAAC;AACH,MAAM,MAAM,SAAS,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,SAAS,CAAC,CAAC;AAElD,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAIzB,CAAC;AACH,MAAM,MAAM,cAAc,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;AAE5D,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAStB,CAAC;AACH,MAAM,MAAM,WAAW,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,WAAW,CAAC,CAAC;AAEtD,OAAO,EAAE,oBAAoB,EAAE,YAAY,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC;AACjF,YAAY,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC"}
|
package/dist/ops/read.d.ts
CHANGED
|
@@ -25,6 +25,10 @@ export declare const PageBody: z.ZodObject<{
|
|
|
25
25
|
deny: "deny";
|
|
26
26
|
integrate: "integrate";
|
|
27
27
|
}>>;
|
|
28
|
+
observe: z.ZodOptional<z.ZodEnum<{
|
|
29
|
+
deny: "deny";
|
|
30
|
+
integrate: "integrate";
|
|
31
|
+
}>>;
|
|
28
32
|
dream: z.ZodOptional<z.ZodEnum<{
|
|
29
33
|
none: "none";
|
|
30
34
|
hygiene: "hygiene";
|
|
@@ -150,6 +154,37 @@ export declare const PageBody: z.ZodObject<{
|
|
|
150
154
|
id: z.ZodString;
|
|
151
155
|
answer_eligible: z.ZodLiteral<false>;
|
|
152
156
|
}, z.core.$strip>], "status">>;
|
|
157
|
+
observation: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
158
|
+
status: z.ZodLiteral<"eligible">;
|
|
159
|
+
id: z.ZodString;
|
|
160
|
+
level: z.ZodLiteral<2>;
|
|
161
|
+
subject: z.ZodString;
|
|
162
|
+
disposition: z.ZodEnum<{
|
|
163
|
+
active: "active";
|
|
164
|
+
superseded: "superseded";
|
|
165
|
+
weakened: "weakened";
|
|
166
|
+
retracted: "retracted";
|
|
167
|
+
}>;
|
|
168
|
+
proof_count: z.ZodNumber;
|
|
169
|
+
evidence: z.ZodArray<z.ZodObject<{
|
|
170
|
+
fact: z.ZodString;
|
|
171
|
+
slug: z.ZodString;
|
|
172
|
+
line: z.ZodNumber;
|
|
173
|
+
line_hash: z.ZodString;
|
|
174
|
+
proof_groups: z.ZodArray<z.ZodString>;
|
|
175
|
+
}, z.core.$strip>>;
|
|
176
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
177
|
+
status: z.ZodLiteral<"ineligible">;
|
|
178
|
+
id: z.ZodString;
|
|
179
|
+
level: z.ZodLiteral<2>;
|
|
180
|
+
disposition: z.ZodEnum<{
|
|
181
|
+
active: "active";
|
|
182
|
+
superseded: "superseded";
|
|
183
|
+
weakened: "weakened";
|
|
184
|
+
retracted: "retracted";
|
|
185
|
+
}>;
|
|
186
|
+
reason: z.ZodString;
|
|
187
|
+
}, z.core.$strip>], "status">>;
|
|
153
188
|
fact: z.ZodOptional<z.ZodString>;
|
|
154
189
|
}, z.core.$strip>>;
|
|
155
190
|
source_fence_line: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
@@ -270,6 +305,10 @@ export declare const ReadOutput: z.ZodObject<{
|
|
|
270
305
|
deny: "deny";
|
|
271
306
|
integrate: "integrate";
|
|
272
307
|
}>>;
|
|
308
|
+
observe: z.ZodOptional<z.ZodEnum<{
|
|
309
|
+
deny: "deny";
|
|
310
|
+
integrate: "integrate";
|
|
311
|
+
}>>;
|
|
273
312
|
dream: z.ZodOptional<z.ZodEnum<{
|
|
274
313
|
none: "none";
|
|
275
314
|
hygiene: "hygiene";
|
|
@@ -395,6 +434,37 @@ export declare const ReadOutput: z.ZodObject<{
|
|
|
395
434
|
id: z.ZodString;
|
|
396
435
|
answer_eligible: z.ZodLiteral<false>;
|
|
397
436
|
}, z.core.$strip>], "status">>;
|
|
437
|
+
observation: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
438
|
+
status: z.ZodLiteral<"eligible">;
|
|
439
|
+
id: z.ZodString;
|
|
440
|
+
level: z.ZodLiteral<2>;
|
|
441
|
+
subject: z.ZodString;
|
|
442
|
+
disposition: z.ZodEnum<{
|
|
443
|
+
active: "active";
|
|
444
|
+
superseded: "superseded";
|
|
445
|
+
weakened: "weakened";
|
|
446
|
+
retracted: "retracted";
|
|
447
|
+
}>;
|
|
448
|
+
proof_count: z.ZodNumber;
|
|
449
|
+
evidence: z.ZodArray<z.ZodObject<{
|
|
450
|
+
fact: z.ZodString;
|
|
451
|
+
slug: z.ZodString;
|
|
452
|
+
line: z.ZodNumber;
|
|
453
|
+
line_hash: z.ZodString;
|
|
454
|
+
proof_groups: z.ZodArray<z.ZodString>;
|
|
455
|
+
}, z.core.$strip>>;
|
|
456
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
457
|
+
status: z.ZodLiteral<"ineligible">;
|
|
458
|
+
id: z.ZodString;
|
|
459
|
+
level: z.ZodLiteral<2>;
|
|
460
|
+
disposition: z.ZodEnum<{
|
|
461
|
+
active: "active";
|
|
462
|
+
superseded: "superseded";
|
|
463
|
+
weakened: "weakened";
|
|
464
|
+
retracted: "retracted";
|
|
465
|
+
}>;
|
|
466
|
+
reason: z.ZodString;
|
|
467
|
+
}, z.core.$strip>], "status">>;
|
|
398
468
|
fact: z.ZodOptional<z.ZodString>;
|
|
399
469
|
}, z.core.$strip>>;
|
|
400
470
|
source_fence_line: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
package/dist/ops/read.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"read.d.ts","sourceRoot":"","sources":["../../src/ops/read.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAWxB,oFAAoF;AACpF,eAAO,MAAM,SAAS;;;;;;iBAelB,CAAC;AACL,MAAM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;;iBAGrB,CAAC;AACH,MAAM,MAAM,UAAU,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,UAAU,CAAC,CAAC"}
|
package/dist/ops/recall.d.ts
CHANGED
|
@@ -210,6 +210,37 @@ export declare const RecallOutput: z.ZodObject<{
|
|
|
210
210
|
id: z.ZodString;
|
|
211
211
|
answer_eligible: z.ZodLiteral<false>;
|
|
212
212
|
}, z.core.$strip>], "status">>;
|
|
213
|
+
observation: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
214
|
+
status: z.ZodLiteral<"eligible">;
|
|
215
|
+
id: z.ZodString;
|
|
216
|
+
level: z.ZodLiteral<2>;
|
|
217
|
+
subject: z.ZodString;
|
|
218
|
+
disposition: z.ZodEnum<{
|
|
219
|
+
active: "active";
|
|
220
|
+
superseded: "superseded";
|
|
221
|
+
weakened: "weakened";
|
|
222
|
+
retracted: "retracted";
|
|
223
|
+
}>;
|
|
224
|
+
proof_count: z.ZodNumber;
|
|
225
|
+
evidence: z.ZodArray<z.ZodObject<{
|
|
226
|
+
fact: z.ZodString;
|
|
227
|
+
slug: z.ZodString;
|
|
228
|
+
line: z.ZodNumber;
|
|
229
|
+
line_hash: z.ZodString;
|
|
230
|
+
proof_groups: z.ZodArray<z.ZodString>;
|
|
231
|
+
}, z.core.$strip>>;
|
|
232
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
233
|
+
status: z.ZodLiteral<"ineligible">;
|
|
234
|
+
id: z.ZodString;
|
|
235
|
+
level: z.ZodLiteral<2>;
|
|
236
|
+
disposition: z.ZodEnum<{
|
|
237
|
+
active: "active";
|
|
238
|
+
superseded: "superseded";
|
|
239
|
+
weakened: "weakened";
|
|
240
|
+
retracted: "retracted";
|
|
241
|
+
}>;
|
|
242
|
+
reason: z.ZodString;
|
|
243
|
+
}, z.core.$strip>], "status">>;
|
|
213
244
|
fact: z.ZodOptional<z.ZodString>;
|
|
214
245
|
}, z.core.$strip>>;
|
|
215
246
|
superseded: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -255,6 +286,7 @@ export declare const RecallOutput: z.ZodObject<{
|
|
|
255
286
|
kind: z.ZodEnum<{
|
|
256
287
|
event: "event";
|
|
257
288
|
fact: "fact";
|
|
289
|
+
observation: "observation";
|
|
258
290
|
entity: "entity";
|
|
259
291
|
page: "page";
|
|
260
292
|
document: "document";
|
|
@@ -280,6 +312,7 @@ export declare const RecallOutput: z.ZodObject<{
|
|
|
280
312
|
document: z.ZodOptional<z.ZodString>;
|
|
281
313
|
fact: z.ZodOptional<z.ZodString>;
|
|
282
314
|
event: z.ZodOptional<z.ZodString>;
|
|
315
|
+
observation: z.ZodOptional<z.ZodString>;
|
|
283
316
|
date: z.ZodOptional<z.ZodString>;
|
|
284
317
|
line_start: z.ZodOptional<z.ZodNumber>;
|
|
285
318
|
line_end: z.ZodOptional<z.ZodNumber>;
|
|
@@ -294,6 +327,7 @@ export declare const RecallOutput: z.ZodObject<{
|
|
|
294
327
|
kind: z.ZodEnum<{
|
|
295
328
|
event: "event";
|
|
296
329
|
fact: "fact";
|
|
330
|
+
observation: "observation";
|
|
297
331
|
entity: "entity";
|
|
298
332
|
page: "page";
|
|
299
333
|
document: "document";
|
|
@@ -319,6 +353,7 @@ export declare const RecallOutput: z.ZodObject<{
|
|
|
319
353
|
document: z.ZodOptional<z.ZodString>;
|
|
320
354
|
fact: z.ZodOptional<z.ZodString>;
|
|
321
355
|
event: z.ZodOptional<z.ZodString>;
|
|
356
|
+
observation: z.ZodOptional<z.ZodString>;
|
|
322
357
|
date: z.ZodOptional<z.ZodString>;
|
|
323
358
|
line_start: z.ZodOptional<z.ZodNumber>;
|
|
324
359
|
line_end: z.ZodOptional<z.ZodNumber>;
|
|
@@ -333,6 +368,7 @@ export declare const RecallOutput: z.ZodObject<{
|
|
|
333
368
|
kind: z.ZodEnum<{
|
|
334
369
|
event: "event";
|
|
335
370
|
fact: "fact";
|
|
371
|
+
observation: "observation";
|
|
336
372
|
entity: "entity";
|
|
337
373
|
page: "page";
|
|
338
374
|
document: "document";
|
|
@@ -358,6 +394,7 @@ export declare const RecallOutput: z.ZodObject<{
|
|
|
358
394
|
document: z.ZodOptional<z.ZodString>;
|
|
359
395
|
fact: z.ZodOptional<z.ZodString>;
|
|
360
396
|
event: z.ZodOptional<z.ZodString>;
|
|
397
|
+
observation: z.ZodOptional<z.ZodString>;
|
|
361
398
|
date: z.ZodOptional<z.ZodString>;
|
|
362
399
|
line_start: z.ZodOptional<z.ZodNumber>;
|
|
363
400
|
line_end: z.ZodOptional<z.ZodNumber>;
|
|
@@ -376,6 +413,7 @@ export declare const RecallOutput: z.ZodObject<{
|
|
|
376
413
|
related_entity: "related_entity";
|
|
377
414
|
owns_document: "owns_document";
|
|
378
415
|
participates_in: "participates_in";
|
|
416
|
+
derived_from: "derived_from";
|
|
379
417
|
}>>;
|
|
380
418
|
hops: z.ZodNumber;
|
|
381
419
|
confidence: z.ZodNumber;
|
|
@@ -465,6 +503,7 @@ export declare const RecallOutput: z.ZodObject<{
|
|
|
465
503
|
kind: z.ZodEnum<{
|
|
466
504
|
event: "event";
|
|
467
505
|
fact: "fact";
|
|
506
|
+
observation: "observation";
|
|
468
507
|
entity: "entity";
|
|
469
508
|
page: "page";
|
|
470
509
|
document: "document";
|
|
@@ -490,6 +529,7 @@ export declare const RecallOutput: z.ZodObject<{
|
|
|
490
529
|
document: z.ZodOptional<z.ZodString>;
|
|
491
530
|
fact: z.ZodOptional<z.ZodString>;
|
|
492
531
|
event: z.ZodOptional<z.ZodString>;
|
|
532
|
+
observation: z.ZodOptional<z.ZodString>;
|
|
493
533
|
date: z.ZodOptional<z.ZodString>;
|
|
494
534
|
line_start: z.ZodOptional<z.ZodNumber>;
|
|
495
535
|
line_end: z.ZodOptional<z.ZodNumber>;
|
|
@@ -504,6 +544,7 @@ export declare const RecallOutput: z.ZodObject<{
|
|
|
504
544
|
kind: z.ZodEnum<{
|
|
505
545
|
event: "event";
|
|
506
546
|
fact: "fact";
|
|
547
|
+
observation: "observation";
|
|
507
548
|
entity: "entity";
|
|
508
549
|
page: "page";
|
|
509
550
|
document: "document";
|
|
@@ -529,6 +570,7 @@ export declare const RecallOutput: z.ZodObject<{
|
|
|
529
570
|
document: z.ZodOptional<z.ZodString>;
|
|
530
571
|
fact: z.ZodOptional<z.ZodString>;
|
|
531
572
|
event: z.ZodOptional<z.ZodString>;
|
|
573
|
+
observation: z.ZodOptional<z.ZodString>;
|
|
532
574
|
date: z.ZodOptional<z.ZodString>;
|
|
533
575
|
line_start: z.ZodOptional<z.ZodNumber>;
|
|
534
576
|
line_end: z.ZodOptional<z.ZodNumber>;
|
|
@@ -543,6 +585,7 @@ export declare const RecallOutput: z.ZodObject<{
|
|
|
543
585
|
kind: z.ZodEnum<{
|
|
544
586
|
event: "event";
|
|
545
587
|
fact: "fact";
|
|
588
|
+
observation: "observation";
|
|
546
589
|
entity: "entity";
|
|
547
590
|
page: "page";
|
|
548
591
|
document: "document";
|
|
@@ -568,6 +611,7 @@ export declare const RecallOutput: z.ZodObject<{
|
|
|
568
611
|
document: z.ZodOptional<z.ZodString>;
|
|
569
612
|
fact: z.ZodOptional<z.ZodString>;
|
|
570
613
|
event: z.ZodOptional<z.ZodString>;
|
|
614
|
+
observation: z.ZodOptional<z.ZodString>;
|
|
571
615
|
date: z.ZodOptional<z.ZodString>;
|
|
572
616
|
line_start: z.ZodOptional<z.ZodNumber>;
|
|
573
617
|
line_end: z.ZodOptional<z.ZodNumber>;
|
|
@@ -586,6 +630,7 @@ export declare const RecallOutput: z.ZodObject<{
|
|
|
586
630
|
related_entity: "related_entity";
|
|
587
631
|
owns_document: "owns_document";
|
|
588
632
|
participates_in: "participates_in";
|
|
633
|
+
derived_from: "derived_from";
|
|
589
634
|
}>>;
|
|
590
635
|
hops: z.ZodNumber;
|
|
591
636
|
confidence: z.ZodNumber;
|
package/dist/ops/recall.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"recall.d.ts","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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBA4BvB,CAAC;AACH,MAAM,MAAM,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,YAAY,CAAC,CAAC"}
|
package/dist/ops/retain.d.ts
CHANGED
|
@@ -659,11 +659,11 @@ export type RetainModelCallReceipt = z.infer<typeof RetainModelCallReceipt>;
|
|
|
659
659
|
export declare const RetainCandidateResult: z.ZodObject<{
|
|
660
660
|
candidate_id: z.ZodString;
|
|
661
661
|
outcome: z.ZodEnum<{
|
|
662
|
+
retracted: "retracted";
|
|
662
663
|
not_found: "not_found";
|
|
663
664
|
written: "written";
|
|
664
665
|
duplicate: "duplicate";
|
|
665
666
|
support_added: "support_added";
|
|
666
|
-
retracted: "retracted";
|
|
667
667
|
held: "held";
|
|
668
668
|
}>;
|
|
669
669
|
memory_id: z.ZodOptional<z.ZodString>;
|
|
@@ -699,11 +699,11 @@ export declare const RetainSourceResult: z.ZodObject<{
|
|
|
699
699
|
candidates: z.ZodArray<z.ZodObject<{
|
|
700
700
|
candidate_id: z.ZodString;
|
|
701
701
|
outcome: z.ZodEnum<{
|
|
702
|
+
retracted: "retracted";
|
|
702
703
|
not_found: "not_found";
|
|
703
704
|
written: "written";
|
|
704
705
|
duplicate: "duplicate";
|
|
705
706
|
support_added: "support_added";
|
|
706
|
-
retracted: "retracted";
|
|
707
707
|
held: "held";
|
|
708
708
|
}>;
|
|
709
709
|
memory_id: z.ZodOptional<z.ZodString>;
|
|
@@ -851,11 +851,11 @@ export declare const RetainOutput: z.ZodObject<{
|
|
|
851
851
|
candidates: z.ZodArray<z.ZodObject<{
|
|
852
852
|
candidate_id: z.ZodString;
|
|
853
853
|
outcome: z.ZodEnum<{
|
|
854
|
+
retracted: "retracted";
|
|
854
855
|
not_found: "not_found";
|
|
855
856
|
written: "written";
|
|
856
857
|
duplicate: "duplicate";
|
|
857
858
|
support_added: "support_added";
|
|
858
|
-
retracted: "retracted";
|
|
859
859
|
held: "held";
|
|
860
860
|
}>;
|
|
861
861
|
memory_id: z.ZodOptional<z.ZodString>;
|