@memnexus-ai/typescript-sdk 1.20.9 → 1.21.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/dist/index.cjs +44 -4
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +325 -0
- package/dist/index.d.ts +325 -0
- package/dist/index.js +44 -4
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -302,6 +302,16 @@ declare const memory: z.ZodObject<{
|
|
|
302
302
|
confidenceBasis: z.ZodOptional<z.ZodEnum<["direct-statement", "repeated-mention", "single-mention", "hedged", "inference", "external-source", "contradicted"]>>;
|
|
303
303
|
/** Effective state of the memory in the narrative */
|
|
304
304
|
effectiveState: z.ZodOptional<z.ZodEnum<["current", "superseded", "contradicted"]>>;
|
|
305
|
+
/** Status of automatic content extraction */
|
|
306
|
+
extractionStatus: z.ZodOptional<z.ZodEnum<["pending", "completed", "failed", "skipped"]>>;
|
|
307
|
+
/** When extraction was completed */
|
|
308
|
+
extractionCompletedAt: z.ZodOptional<z.ZodString>;
|
|
309
|
+
/** Number of topics extracted from content */
|
|
310
|
+
extractedTopicCount: z.ZodOptional<z.ZodNumber>;
|
|
311
|
+
/** Number of facts extracted from content */
|
|
312
|
+
extractedFactCount: z.ZodOptional<z.ZodNumber>;
|
|
313
|
+
/** Number of entities extracted from content */
|
|
314
|
+
extractedEntityCount: z.ZodOptional<z.ZodNumber>;
|
|
305
315
|
}, "strip", z.ZodTypeAny, {
|
|
306
316
|
id: string;
|
|
307
317
|
content: string;
|
|
@@ -317,6 +327,11 @@ declare const memory: z.ZodObject<{
|
|
|
317
327
|
confidenceScore?: number | undefined;
|
|
318
328
|
confidenceBasis?: "direct-statement" | "repeated-mention" | "single-mention" | "hedged" | "inference" | "external-source" | "contradicted" | undefined;
|
|
319
329
|
effectiveState?: "contradicted" | "current" | "superseded" | undefined;
|
|
330
|
+
extractionStatus?: "pending" | "completed" | "failed" | "skipped" | undefined;
|
|
331
|
+
extractionCompletedAt?: string | undefined;
|
|
332
|
+
extractedTopicCount?: number | undefined;
|
|
333
|
+
extractedFactCount?: number | undefined;
|
|
334
|
+
extractedEntityCount?: number | undefined;
|
|
320
335
|
}, {
|
|
321
336
|
id: string;
|
|
322
337
|
content: string;
|
|
@@ -332,6 +347,11 @@ declare const memory: z.ZodObject<{
|
|
|
332
347
|
confidenceScore?: number | undefined;
|
|
333
348
|
confidenceBasis?: "direct-statement" | "repeated-mention" | "single-mention" | "hedged" | "inference" | "external-source" | "contradicted" | undefined;
|
|
334
349
|
effectiveState?: "contradicted" | "current" | "superseded" | undefined;
|
|
350
|
+
extractionStatus?: "pending" | "completed" | "failed" | "skipped" | undefined;
|
|
351
|
+
extractionCompletedAt?: string | undefined;
|
|
352
|
+
extractedTopicCount?: number | undefined;
|
|
353
|
+
extractedFactCount?: number | undefined;
|
|
354
|
+
extractedEntityCount?: number | undefined;
|
|
335
355
|
}>;
|
|
336
356
|
declare const createMemoryRequest: z.ZodObject<{
|
|
337
357
|
/** Conversation ID - use "NEW" to create a new conversation or provide existing conversation ID */
|
|
@@ -446,6 +466,16 @@ declare const createMemoryResponse: z.ZodLazy<z.ZodObject<{
|
|
|
446
466
|
confidenceBasis: z.ZodOptional<z.ZodEnum<["direct-statement", "repeated-mention", "single-mention", "hedged", "inference", "external-source", "contradicted"]>>;
|
|
447
467
|
/** Effective state of the memory in the narrative */
|
|
448
468
|
effectiveState: z.ZodOptional<z.ZodEnum<["current", "superseded", "contradicted"]>>;
|
|
469
|
+
/** Status of automatic content extraction */
|
|
470
|
+
extractionStatus: z.ZodOptional<z.ZodEnum<["pending", "completed", "failed", "skipped"]>>;
|
|
471
|
+
/** When extraction was completed */
|
|
472
|
+
extractionCompletedAt: z.ZodOptional<z.ZodString>;
|
|
473
|
+
/** Number of topics extracted from content */
|
|
474
|
+
extractedTopicCount: z.ZodOptional<z.ZodNumber>;
|
|
475
|
+
/** Number of facts extracted from content */
|
|
476
|
+
extractedFactCount: z.ZodOptional<z.ZodNumber>;
|
|
477
|
+
/** Number of entities extracted from content */
|
|
478
|
+
extractedEntityCount: z.ZodOptional<z.ZodNumber>;
|
|
449
479
|
}, "strip", z.ZodTypeAny, {
|
|
450
480
|
id: string;
|
|
451
481
|
content: string;
|
|
@@ -461,6 +491,11 @@ declare const createMemoryResponse: z.ZodLazy<z.ZodObject<{
|
|
|
461
491
|
confidenceScore?: number | undefined;
|
|
462
492
|
confidenceBasis?: "direct-statement" | "repeated-mention" | "single-mention" | "hedged" | "inference" | "external-source" | "contradicted" | undefined;
|
|
463
493
|
effectiveState?: "contradicted" | "current" | "superseded" | undefined;
|
|
494
|
+
extractionStatus?: "pending" | "completed" | "failed" | "skipped" | undefined;
|
|
495
|
+
extractionCompletedAt?: string | undefined;
|
|
496
|
+
extractedTopicCount?: number | undefined;
|
|
497
|
+
extractedFactCount?: number | undefined;
|
|
498
|
+
extractedEntityCount?: number | undefined;
|
|
464
499
|
}, {
|
|
465
500
|
id: string;
|
|
466
501
|
content: string;
|
|
@@ -476,6 +511,11 @@ declare const createMemoryResponse: z.ZodLazy<z.ZodObject<{
|
|
|
476
511
|
confidenceScore?: number | undefined;
|
|
477
512
|
confidenceBasis?: "direct-statement" | "repeated-mention" | "single-mention" | "hedged" | "inference" | "external-source" | "contradicted" | undefined;
|
|
478
513
|
effectiveState?: "contradicted" | "current" | "superseded" | undefined;
|
|
514
|
+
extractionStatus?: "pending" | "completed" | "failed" | "skipped" | undefined;
|
|
515
|
+
extractionCompletedAt?: string | undefined;
|
|
516
|
+
extractedTopicCount?: number | undefined;
|
|
517
|
+
extractedFactCount?: number | undefined;
|
|
518
|
+
extractedEntityCount?: number | undefined;
|
|
479
519
|
}>;
|
|
480
520
|
meta: z.ZodObject<{
|
|
481
521
|
/** Conversation ID (actual ID if "NEW" was provided) */
|
|
@@ -513,6 +553,11 @@ declare const createMemoryResponse: z.ZodLazy<z.ZodObject<{
|
|
|
513
553
|
confidenceScore?: number | undefined;
|
|
514
554
|
confidenceBasis?: "direct-statement" | "repeated-mention" | "single-mention" | "hedged" | "inference" | "external-source" | "contradicted" | undefined;
|
|
515
555
|
effectiveState?: "contradicted" | "current" | "superseded" | undefined;
|
|
556
|
+
extractionStatus?: "pending" | "completed" | "failed" | "skipped" | undefined;
|
|
557
|
+
extractionCompletedAt?: string | undefined;
|
|
558
|
+
extractedTopicCount?: number | undefined;
|
|
559
|
+
extractedFactCount?: number | undefined;
|
|
560
|
+
extractedEntityCount?: number | undefined;
|
|
516
561
|
};
|
|
517
562
|
meta: {
|
|
518
563
|
conversationId: string;
|
|
@@ -536,6 +581,11 @@ declare const createMemoryResponse: z.ZodLazy<z.ZodObject<{
|
|
|
536
581
|
confidenceScore?: number | undefined;
|
|
537
582
|
confidenceBasis?: "direct-statement" | "repeated-mention" | "single-mention" | "hedged" | "inference" | "external-source" | "contradicted" | undefined;
|
|
538
583
|
effectiveState?: "contradicted" | "current" | "superseded" | undefined;
|
|
584
|
+
extractionStatus?: "pending" | "completed" | "failed" | "skipped" | undefined;
|
|
585
|
+
extractionCompletedAt?: string | undefined;
|
|
586
|
+
extractedTopicCount?: number | undefined;
|
|
587
|
+
extractedFactCount?: number | undefined;
|
|
588
|
+
extractedEntityCount?: number | undefined;
|
|
539
589
|
};
|
|
540
590
|
meta: {
|
|
541
591
|
conversationId: string;
|
|
@@ -574,6 +624,16 @@ declare const relatedMemoryResult: z.ZodObject<{
|
|
|
574
624
|
confidenceBasis: z.ZodOptional<z.ZodEnum<["direct-statement", "repeated-mention", "single-mention", "hedged", "inference", "external-source", "contradicted"]>>;
|
|
575
625
|
/** Effective state of the memory in the narrative */
|
|
576
626
|
effectiveState: z.ZodOptional<z.ZodEnum<["current", "superseded", "contradicted"]>>;
|
|
627
|
+
/** Status of automatic content extraction */
|
|
628
|
+
extractionStatus: z.ZodOptional<z.ZodEnum<["pending", "completed", "failed", "skipped"]>>;
|
|
629
|
+
/** When extraction was completed */
|
|
630
|
+
extractionCompletedAt: z.ZodOptional<z.ZodString>;
|
|
631
|
+
/** Number of topics extracted from content */
|
|
632
|
+
extractedTopicCount: z.ZodOptional<z.ZodNumber>;
|
|
633
|
+
/** Number of facts extracted from content */
|
|
634
|
+
extractedFactCount: z.ZodOptional<z.ZodNumber>;
|
|
635
|
+
/** Number of entities extracted from content */
|
|
636
|
+
extractedEntityCount: z.ZodOptional<z.ZodNumber>;
|
|
577
637
|
}, "strip", z.ZodTypeAny, {
|
|
578
638
|
id: string;
|
|
579
639
|
content: string;
|
|
@@ -589,6 +649,11 @@ declare const relatedMemoryResult: z.ZodObject<{
|
|
|
589
649
|
confidenceScore?: number | undefined;
|
|
590
650
|
confidenceBasis?: "direct-statement" | "repeated-mention" | "single-mention" | "hedged" | "inference" | "external-source" | "contradicted" | undefined;
|
|
591
651
|
effectiveState?: "contradicted" | "current" | "superseded" | undefined;
|
|
652
|
+
extractionStatus?: "pending" | "completed" | "failed" | "skipped" | undefined;
|
|
653
|
+
extractionCompletedAt?: string | undefined;
|
|
654
|
+
extractedTopicCount?: number | undefined;
|
|
655
|
+
extractedFactCount?: number | undefined;
|
|
656
|
+
extractedEntityCount?: number | undefined;
|
|
592
657
|
}, {
|
|
593
658
|
id: string;
|
|
594
659
|
content: string;
|
|
@@ -604,6 +669,11 @@ declare const relatedMemoryResult: z.ZodObject<{
|
|
|
604
669
|
confidenceScore?: number | undefined;
|
|
605
670
|
confidenceBasis?: "direct-statement" | "repeated-mention" | "single-mention" | "hedged" | "inference" | "external-source" | "contradicted" | undefined;
|
|
606
671
|
effectiveState?: "contradicted" | "current" | "superseded" | undefined;
|
|
672
|
+
extractionStatus?: "pending" | "completed" | "failed" | "skipped" | undefined;
|
|
673
|
+
extractionCompletedAt?: string | undefined;
|
|
674
|
+
extractedTopicCount?: number | undefined;
|
|
675
|
+
extractedFactCount?: number | undefined;
|
|
676
|
+
extractedEntityCount?: number | undefined;
|
|
607
677
|
}>;
|
|
608
678
|
/** Relevance score (0-1). For similar: semantic similarity. For related: topic overlap ratio. For conversation: position score. */
|
|
609
679
|
score: z.ZodNumber;
|
|
@@ -627,6 +697,11 @@ declare const relatedMemoryResult: z.ZodObject<{
|
|
|
627
697
|
confidenceScore?: number | undefined;
|
|
628
698
|
confidenceBasis?: "direct-statement" | "repeated-mention" | "single-mention" | "hedged" | "inference" | "external-source" | "contradicted" | undefined;
|
|
629
699
|
effectiveState?: "contradicted" | "current" | "superseded" | undefined;
|
|
700
|
+
extractionStatus?: "pending" | "completed" | "failed" | "skipped" | undefined;
|
|
701
|
+
extractionCompletedAt?: string | undefined;
|
|
702
|
+
extractedTopicCount?: number | undefined;
|
|
703
|
+
extractedFactCount?: number | undefined;
|
|
704
|
+
extractedEntityCount?: number | undefined;
|
|
630
705
|
};
|
|
631
706
|
score: number;
|
|
632
707
|
relationship: string;
|
|
@@ -647,6 +722,11 @@ declare const relatedMemoryResult: z.ZodObject<{
|
|
|
647
722
|
confidenceScore?: number | undefined;
|
|
648
723
|
confidenceBasis?: "direct-statement" | "repeated-mention" | "single-mention" | "hedged" | "inference" | "external-source" | "contradicted" | undefined;
|
|
649
724
|
effectiveState?: "contradicted" | "current" | "superseded" | undefined;
|
|
725
|
+
extractionStatus?: "pending" | "completed" | "failed" | "skipped" | undefined;
|
|
726
|
+
extractionCompletedAt?: string | undefined;
|
|
727
|
+
extractedTopicCount?: number | undefined;
|
|
728
|
+
extractedFactCount?: number | undefined;
|
|
729
|
+
extractedEntityCount?: number | undefined;
|
|
650
730
|
};
|
|
651
731
|
score: number;
|
|
652
732
|
relationship: string;
|
|
@@ -685,6 +765,16 @@ declare const getMemoryResponse: z.ZodLazy<z.ZodObject<{
|
|
|
685
765
|
confidenceBasis: z.ZodOptional<z.ZodEnum<["direct-statement", "repeated-mention", "single-mention", "hedged", "inference", "external-source", "contradicted"]>>;
|
|
686
766
|
/** Effective state of the memory in the narrative */
|
|
687
767
|
effectiveState: z.ZodOptional<z.ZodEnum<["current", "superseded", "contradicted"]>>;
|
|
768
|
+
/** Status of automatic content extraction */
|
|
769
|
+
extractionStatus: z.ZodOptional<z.ZodEnum<["pending", "completed", "failed", "skipped"]>>;
|
|
770
|
+
/** When extraction was completed */
|
|
771
|
+
extractionCompletedAt: z.ZodOptional<z.ZodString>;
|
|
772
|
+
/** Number of topics extracted from content */
|
|
773
|
+
extractedTopicCount: z.ZodOptional<z.ZodNumber>;
|
|
774
|
+
/** Number of facts extracted from content */
|
|
775
|
+
extractedFactCount: z.ZodOptional<z.ZodNumber>;
|
|
776
|
+
/** Number of entities extracted from content */
|
|
777
|
+
extractedEntityCount: z.ZodOptional<z.ZodNumber>;
|
|
688
778
|
}, "strip", z.ZodTypeAny, {
|
|
689
779
|
id: string;
|
|
690
780
|
content: string;
|
|
@@ -700,6 +790,11 @@ declare const getMemoryResponse: z.ZodLazy<z.ZodObject<{
|
|
|
700
790
|
confidenceScore?: number | undefined;
|
|
701
791
|
confidenceBasis?: "direct-statement" | "repeated-mention" | "single-mention" | "hedged" | "inference" | "external-source" | "contradicted" | undefined;
|
|
702
792
|
effectiveState?: "contradicted" | "current" | "superseded" | undefined;
|
|
793
|
+
extractionStatus?: "pending" | "completed" | "failed" | "skipped" | undefined;
|
|
794
|
+
extractionCompletedAt?: string | undefined;
|
|
795
|
+
extractedTopicCount?: number | undefined;
|
|
796
|
+
extractedFactCount?: number | undefined;
|
|
797
|
+
extractedEntityCount?: number | undefined;
|
|
703
798
|
}, {
|
|
704
799
|
id: string;
|
|
705
800
|
content: string;
|
|
@@ -715,6 +810,11 @@ declare const getMemoryResponse: z.ZodLazy<z.ZodObject<{
|
|
|
715
810
|
confidenceScore?: number | undefined;
|
|
716
811
|
confidenceBasis?: "direct-statement" | "repeated-mention" | "single-mention" | "hedged" | "inference" | "external-source" | "contradicted" | undefined;
|
|
717
812
|
effectiveState?: "contradicted" | "current" | "superseded" | undefined;
|
|
813
|
+
extractionStatus?: "pending" | "completed" | "failed" | "skipped" | undefined;
|
|
814
|
+
extractionCompletedAt?: string | undefined;
|
|
815
|
+
extractedTopicCount?: number | undefined;
|
|
816
|
+
extractedFactCount?: number | undefined;
|
|
817
|
+
extractedEntityCount?: number | undefined;
|
|
718
818
|
}>;
|
|
719
819
|
}, "strip", z.ZodTypeAny, {
|
|
720
820
|
data: {
|
|
@@ -732,6 +832,11 @@ declare const getMemoryResponse: z.ZodLazy<z.ZodObject<{
|
|
|
732
832
|
confidenceScore?: number | undefined;
|
|
733
833
|
confidenceBasis?: "direct-statement" | "repeated-mention" | "single-mention" | "hedged" | "inference" | "external-source" | "contradicted" | undefined;
|
|
734
834
|
effectiveState?: "contradicted" | "current" | "superseded" | undefined;
|
|
835
|
+
extractionStatus?: "pending" | "completed" | "failed" | "skipped" | undefined;
|
|
836
|
+
extractionCompletedAt?: string | undefined;
|
|
837
|
+
extractedTopicCount?: number | undefined;
|
|
838
|
+
extractedFactCount?: number | undefined;
|
|
839
|
+
extractedEntityCount?: number | undefined;
|
|
735
840
|
};
|
|
736
841
|
}, {
|
|
737
842
|
data: {
|
|
@@ -749,6 +854,11 @@ declare const getMemoryResponse: z.ZodLazy<z.ZodObject<{
|
|
|
749
854
|
confidenceScore?: number | undefined;
|
|
750
855
|
confidenceBasis?: "direct-statement" | "repeated-mention" | "single-mention" | "hedged" | "inference" | "external-source" | "contradicted" | undefined;
|
|
751
856
|
effectiveState?: "contradicted" | "current" | "superseded" | undefined;
|
|
857
|
+
extractionStatus?: "pending" | "completed" | "failed" | "skipped" | undefined;
|
|
858
|
+
extractionCompletedAt?: string | undefined;
|
|
859
|
+
extractedTopicCount?: number | undefined;
|
|
860
|
+
extractedFactCount?: number | undefined;
|
|
861
|
+
extractedEntityCount?: number | undefined;
|
|
752
862
|
};
|
|
753
863
|
}>>;
|
|
754
864
|
declare const batchGetMemoriesRequest: z.ZodObject<{
|
|
@@ -808,6 +918,16 @@ declare const batchGetMemoriesResponse: z.ZodLazy<z.ZodObject<{
|
|
|
808
918
|
confidenceBasis: z.ZodOptional<z.ZodEnum<["direct-statement", "repeated-mention", "single-mention", "hedged", "inference", "external-source", "contradicted"]>>;
|
|
809
919
|
/** Effective state of the memory in the narrative */
|
|
810
920
|
effectiveState: z.ZodOptional<z.ZodEnum<["current", "superseded", "contradicted"]>>;
|
|
921
|
+
/** Status of automatic content extraction */
|
|
922
|
+
extractionStatus: z.ZodOptional<z.ZodEnum<["pending", "completed", "failed", "skipped"]>>;
|
|
923
|
+
/** When extraction was completed */
|
|
924
|
+
extractionCompletedAt: z.ZodOptional<z.ZodString>;
|
|
925
|
+
/** Number of topics extracted from content */
|
|
926
|
+
extractedTopicCount: z.ZodOptional<z.ZodNumber>;
|
|
927
|
+
/** Number of facts extracted from content */
|
|
928
|
+
extractedFactCount: z.ZodOptional<z.ZodNumber>;
|
|
929
|
+
/** Number of entities extracted from content */
|
|
930
|
+
extractedEntityCount: z.ZodOptional<z.ZodNumber>;
|
|
811
931
|
}, "strip", z.ZodTypeAny, {
|
|
812
932
|
id: string;
|
|
813
933
|
content: string;
|
|
@@ -823,6 +943,11 @@ declare const batchGetMemoriesResponse: z.ZodLazy<z.ZodObject<{
|
|
|
823
943
|
confidenceScore?: number | undefined;
|
|
824
944
|
confidenceBasis?: "direct-statement" | "repeated-mention" | "single-mention" | "hedged" | "inference" | "external-source" | "contradicted" | undefined;
|
|
825
945
|
effectiveState?: "contradicted" | "current" | "superseded" | undefined;
|
|
946
|
+
extractionStatus?: "pending" | "completed" | "failed" | "skipped" | undefined;
|
|
947
|
+
extractionCompletedAt?: string | undefined;
|
|
948
|
+
extractedTopicCount?: number | undefined;
|
|
949
|
+
extractedFactCount?: number | undefined;
|
|
950
|
+
extractedEntityCount?: number | undefined;
|
|
826
951
|
}, {
|
|
827
952
|
id: string;
|
|
828
953
|
content: string;
|
|
@@ -838,6 +963,11 @@ declare const batchGetMemoriesResponse: z.ZodLazy<z.ZodObject<{
|
|
|
838
963
|
confidenceScore?: number | undefined;
|
|
839
964
|
confidenceBasis?: "direct-statement" | "repeated-mention" | "single-mention" | "hedged" | "inference" | "external-source" | "contradicted" | undefined;
|
|
840
965
|
effectiveState?: "contradicted" | "current" | "superseded" | undefined;
|
|
966
|
+
extractionStatus?: "pending" | "completed" | "failed" | "skipped" | undefined;
|
|
967
|
+
extractionCompletedAt?: string | undefined;
|
|
968
|
+
extractedTopicCount?: number | undefined;
|
|
969
|
+
extractedFactCount?: number | undefined;
|
|
970
|
+
extractedEntityCount?: number | undefined;
|
|
841
971
|
}>, "many">;
|
|
842
972
|
meta: z.ZodObject<{
|
|
843
973
|
/** Number of IDs requested */
|
|
@@ -871,6 +1001,11 @@ declare const batchGetMemoriesResponse: z.ZodLazy<z.ZodObject<{
|
|
|
871
1001
|
confidenceScore?: number | undefined;
|
|
872
1002
|
confidenceBasis?: "direct-statement" | "repeated-mention" | "single-mention" | "hedged" | "inference" | "external-source" | "contradicted" | undefined;
|
|
873
1003
|
effectiveState?: "contradicted" | "current" | "superseded" | undefined;
|
|
1004
|
+
extractionStatus?: "pending" | "completed" | "failed" | "skipped" | undefined;
|
|
1005
|
+
extractionCompletedAt?: string | undefined;
|
|
1006
|
+
extractedTopicCount?: number | undefined;
|
|
1007
|
+
extractedFactCount?: number | undefined;
|
|
1008
|
+
extractedEntityCount?: number | undefined;
|
|
874
1009
|
}[];
|
|
875
1010
|
meta: {
|
|
876
1011
|
requested: number;
|
|
@@ -893,6 +1028,11 @@ declare const batchGetMemoriesResponse: z.ZodLazy<z.ZodObject<{
|
|
|
893
1028
|
confidenceScore?: number | undefined;
|
|
894
1029
|
confidenceBasis?: "direct-statement" | "repeated-mention" | "single-mention" | "hedged" | "inference" | "external-source" | "contradicted" | undefined;
|
|
895
1030
|
effectiveState?: "contradicted" | "current" | "superseded" | undefined;
|
|
1031
|
+
extractionStatus?: "pending" | "completed" | "failed" | "skipped" | undefined;
|
|
1032
|
+
extractionCompletedAt?: string | undefined;
|
|
1033
|
+
extractedTopicCount?: number | undefined;
|
|
1034
|
+
extractedFactCount?: number | undefined;
|
|
1035
|
+
extractedEntityCount?: number | undefined;
|
|
896
1036
|
}[];
|
|
897
1037
|
meta: {
|
|
898
1038
|
requested: number;
|
|
@@ -958,6 +1098,16 @@ declare const graphRAGQueryResponse: z.ZodLazy<z.ZodObject<{
|
|
|
958
1098
|
confidenceBasis: z.ZodOptional<z.ZodEnum<["direct-statement", "repeated-mention", "single-mention", "hedged", "inference", "external-source", "contradicted"]>>;
|
|
959
1099
|
/** Effective state of the memory in the narrative */
|
|
960
1100
|
effectiveState: z.ZodOptional<z.ZodEnum<["current", "superseded", "contradicted"]>>;
|
|
1101
|
+
/** Status of automatic content extraction */
|
|
1102
|
+
extractionStatus: z.ZodOptional<z.ZodEnum<["pending", "completed", "failed", "skipped"]>>;
|
|
1103
|
+
/** When extraction was completed */
|
|
1104
|
+
extractionCompletedAt: z.ZodOptional<z.ZodString>;
|
|
1105
|
+
/** Number of topics extracted from content */
|
|
1106
|
+
extractedTopicCount: z.ZodOptional<z.ZodNumber>;
|
|
1107
|
+
/** Number of facts extracted from content */
|
|
1108
|
+
extractedFactCount: z.ZodOptional<z.ZodNumber>;
|
|
1109
|
+
/** Number of entities extracted from content */
|
|
1110
|
+
extractedEntityCount: z.ZodOptional<z.ZodNumber>;
|
|
961
1111
|
}, "strip", z.ZodTypeAny, {
|
|
962
1112
|
id: string;
|
|
963
1113
|
content: string;
|
|
@@ -973,6 +1123,11 @@ declare const graphRAGQueryResponse: z.ZodLazy<z.ZodObject<{
|
|
|
973
1123
|
confidenceScore?: number | undefined;
|
|
974
1124
|
confidenceBasis?: "direct-statement" | "repeated-mention" | "single-mention" | "hedged" | "inference" | "external-source" | "contradicted" | undefined;
|
|
975
1125
|
effectiveState?: "contradicted" | "current" | "superseded" | undefined;
|
|
1126
|
+
extractionStatus?: "pending" | "completed" | "failed" | "skipped" | undefined;
|
|
1127
|
+
extractionCompletedAt?: string | undefined;
|
|
1128
|
+
extractedTopicCount?: number | undefined;
|
|
1129
|
+
extractedFactCount?: number | undefined;
|
|
1130
|
+
extractedEntityCount?: number | undefined;
|
|
976
1131
|
}, {
|
|
977
1132
|
id: string;
|
|
978
1133
|
content: string;
|
|
@@ -988,6 +1143,11 @@ declare const graphRAGQueryResponse: z.ZodLazy<z.ZodObject<{
|
|
|
988
1143
|
confidenceScore?: number | undefined;
|
|
989
1144
|
confidenceBasis?: "direct-statement" | "repeated-mention" | "single-mention" | "hedged" | "inference" | "external-source" | "contradicted" | undefined;
|
|
990
1145
|
effectiveState?: "contradicted" | "current" | "superseded" | undefined;
|
|
1146
|
+
extractionStatus?: "pending" | "completed" | "failed" | "skipped" | undefined;
|
|
1147
|
+
extractionCompletedAt?: string | undefined;
|
|
1148
|
+
extractedTopicCount?: number | undefined;
|
|
1149
|
+
extractedFactCount?: number | undefined;
|
|
1150
|
+
extractedEntityCount?: number | undefined;
|
|
991
1151
|
}>;
|
|
992
1152
|
/** Relevance score from full-text search */
|
|
993
1153
|
score: z.ZodNumber;
|
|
@@ -1014,6 +1174,11 @@ declare const graphRAGQueryResponse: z.ZodLazy<z.ZodObject<{
|
|
|
1014
1174
|
confidenceScore?: number | undefined;
|
|
1015
1175
|
confidenceBasis?: "direct-statement" | "repeated-mention" | "single-mention" | "hedged" | "inference" | "external-source" | "contradicted" | undefined;
|
|
1016
1176
|
effectiveState?: "contradicted" | "current" | "superseded" | undefined;
|
|
1177
|
+
extractionStatus?: "pending" | "completed" | "failed" | "skipped" | undefined;
|
|
1178
|
+
extractionCompletedAt?: string | undefined;
|
|
1179
|
+
extractedTopicCount?: number | undefined;
|
|
1180
|
+
extractedFactCount?: number | undefined;
|
|
1181
|
+
extractedEntityCount?: number | undefined;
|
|
1017
1182
|
};
|
|
1018
1183
|
score: number;
|
|
1019
1184
|
entities: z.objectOutputType<{}, z.ZodNullable<z.ZodUnknown>, "strip">[];
|
|
@@ -1035,6 +1200,11 @@ declare const graphRAGQueryResponse: z.ZodLazy<z.ZodObject<{
|
|
|
1035
1200
|
confidenceScore?: number | undefined;
|
|
1036
1201
|
confidenceBasis?: "direct-statement" | "repeated-mention" | "single-mention" | "hedged" | "inference" | "external-source" | "contradicted" | undefined;
|
|
1037
1202
|
effectiveState?: "contradicted" | "current" | "superseded" | undefined;
|
|
1203
|
+
extractionStatus?: "pending" | "completed" | "failed" | "skipped" | undefined;
|
|
1204
|
+
extractionCompletedAt?: string | undefined;
|
|
1205
|
+
extractedTopicCount?: number | undefined;
|
|
1206
|
+
extractedFactCount?: number | undefined;
|
|
1207
|
+
extractedEntityCount?: number | undefined;
|
|
1038
1208
|
};
|
|
1039
1209
|
score: number;
|
|
1040
1210
|
entities: z.objectInputType<{}, z.ZodNullable<z.ZodUnknown>, "strip">[];
|
|
@@ -1086,6 +1256,11 @@ declare const graphRAGQueryResponse: z.ZodLazy<z.ZodObject<{
|
|
|
1086
1256
|
confidenceScore?: number | undefined;
|
|
1087
1257
|
confidenceBasis?: "direct-statement" | "repeated-mention" | "single-mention" | "hedged" | "inference" | "external-source" | "contradicted" | undefined;
|
|
1088
1258
|
effectiveState?: "contradicted" | "current" | "superseded" | undefined;
|
|
1259
|
+
extractionStatus?: "pending" | "completed" | "failed" | "skipped" | undefined;
|
|
1260
|
+
extractionCompletedAt?: string | undefined;
|
|
1261
|
+
extractedTopicCount?: number | undefined;
|
|
1262
|
+
extractedFactCount?: number | undefined;
|
|
1263
|
+
extractedEntityCount?: number | undefined;
|
|
1089
1264
|
};
|
|
1090
1265
|
score: number;
|
|
1091
1266
|
entities: z.objectOutputType<{}, z.ZodNullable<z.ZodUnknown>, "strip">[];
|
|
@@ -1116,6 +1291,11 @@ declare const graphRAGQueryResponse: z.ZodLazy<z.ZodObject<{
|
|
|
1116
1291
|
confidenceScore?: number | undefined;
|
|
1117
1292
|
confidenceBasis?: "direct-statement" | "repeated-mention" | "single-mention" | "hedged" | "inference" | "external-source" | "contradicted" | undefined;
|
|
1118
1293
|
effectiveState?: "contradicted" | "current" | "superseded" | undefined;
|
|
1294
|
+
extractionStatus?: "pending" | "completed" | "failed" | "skipped" | undefined;
|
|
1295
|
+
extractionCompletedAt?: string | undefined;
|
|
1296
|
+
extractedTopicCount?: number | undefined;
|
|
1297
|
+
extractedFactCount?: number | undefined;
|
|
1298
|
+
extractedEntityCount?: number | undefined;
|
|
1119
1299
|
};
|
|
1120
1300
|
score: number;
|
|
1121
1301
|
entities: z.objectInputType<{}, z.ZodNullable<z.ZodUnknown>, "strip">[];
|
|
@@ -1447,6 +1627,16 @@ declare const searchResult: z.ZodLazy<z.ZodObject<{
|
|
|
1447
1627
|
confidenceBasis: z.ZodOptional<z.ZodEnum<["direct-statement", "repeated-mention", "single-mention", "hedged", "inference", "external-source", "contradicted"]>>;
|
|
1448
1628
|
/** Effective state of the memory in the narrative */
|
|
1449
1629
|
effectiveState: z.ZodOptional<z.ZodEnum<["current", "superseded", "contradicted"]>>;
|
|
1630
|
+
/** Status of automatic content extraction */
|
|
1631
|
+
extractionStatus: z.ZodOptional<z.ZodEnum<["pending", "completed", "failed", "skipped"]>>;
|
|
1632
|
+
/** When extraction was completed */
|
|
1633
|
+
extractionCompletedAt: z.ZodOptional<z.ZodString>;
|
|
1634
|
+
/** Number of topics extracted from content */
|
|
1635
|
+
extractedTopicCount: z.ZodOptional<z.ZodNumber>;
|
|
1636
|
+
/** Number of facts extracted from content */
|
|
1637
|
+
extractedFactCount: z.ZodOptional<z.ZodNumber>;
|
|
1638
|
+
/** Number of entities extracted from content */
|
|
1639
|
+
extractedEntityCount: z.ZodOptional<z.ZodNumber>;
|
|
1450
1640
|
}, "strip", z.ZodTypeAny, {
|
|
1451
1641
|
id: string;
|
|
1452
1642
|
content: string;
|
|
@@ -1462,6 +1652,11 @@ declare const searchResult: z.ZodLazy<z.ZodObject<{
|
|
|
1462
1652
|
confidenceScore?: number | undefined;
|
|
1463
1653
|
confidenceBasis?: "direct-statement" | "repeated-mention" | "single-mention" | "hedged" | "inference" | "external-source" | "contradicted" | undefined;
|
|
1464
1654
|
effectiveState?: "contradicted" | "current" | "superseded" | undefined;
|
|
1655
|
+
extractionStatus?: "pending" | "completed" | "failed" | "skipped" | undefined;
|
|
1656
|
+
extractionCompletedAt?: string | undefined;
|
|
1657
|
+
extractedTopicCount?: number | undefined;
|
|
1658
|
+
extractedFactCount?: number | undefined;
|
|
1659
|
+
extractedEntityCount?: number | undefined;
|
|
1465
1660
|
}, {
|
|
1466
1661
|
id: string;
|
|
1467
1662
|
content: string;
|
|
@@ -1477,6 +1672,11 @@ declare const searchResult: z.ZodLazy<z.ZodObject<{
|
|
|
1477
1672
|
confidenceScore?: number | undefined;
|
|
1478
1673
|
confidenceBasis?: "direct-statement" | "repeated-mention" | "single-mention" | "hedged" | "inference" | "external-source" | "contradicted" | undefined;
|
|
1479
1674
|
effectiveState?: "contradicted" | "current" | "superseded" | undefined;
|
|
1675
|
+
extractionStatus?: "pending" | "completed" | "failed" | "skipped" | undefined;
|
|
1676
|
+
extractionCompletedAt?: string | undefined;
|
|
1677
|
+
extractedTopicCount?: number | undefined;
|
|
1678
|
+
extractedFactCount?: number | undefined;
|
|
1679
|
+
extractedEntityCount?: number | undefined;
|
|
1480
1680
|
}>;
|
|
1481
1681
|
/** Relevance score for this result */
|
|
1482
1682
|
score: z.ZodNumber;
|
|
@@ -1559,6 +1759,11 @@ declare const searchResult: z.ZodLazy<z.ZodObject<{
|
|
|
1559
1759
|
confidenceScore?: number | undefined;
|
|
1560
1760
|
confidenceBasis?: "direct-statement" | "repeated-mention" | "single-mention" | "hedged" | "inference" | "external-source" | "contradicted" | undefined;
|
|
1561
1761
|
effectiveState?: "contradicted" | "current" | "superseded" | undefined;
|
|
1762
|
+
extractionStatus?: "pending" | "completed" | "failed" | "skipped" | undefined;
|
|
1763
|
+
extractionCompletedAt?: string | undefined;
|
|
1764
|
+
extractedTopicCount?: number | undefined;
|
|
1765
|
+
extractedFactCount?: number | undefined;
|
|
1766
|
+
extractedEntityCount?: number | undefined;
|
|
1562
1767
|
};
|
|
1563
1768
|
score: number;
|
|
1564
1769
|
topics?: {
|
|
@@ -1598,6 +1803,11 @@ declare const searchResult: z.ZodLazy<z.ZodObject<{
|
|
|
1598
1803
|
confidenceScore?: number | undefined;
|
|
1599
1804
|
confidenceBasis?: "direct-statement" | "repeated-mention" | "single-mention" | "hedged" | "inference" | "external-source" | "contradicted" | undefined;
|
|
1600
1805
|
effectiveState?: "contradicted" | "current" | "superseded" | undefined;
|
|
1806
|
+
extractionStatus?: "pending" | "completed" | "failed" | "skipped" | undefined;
|
|
1807
|
+
extractionCompletedAt?: string | undefined;
|
|
1808
|
+
extractedTopicCount?: number | undefined;
|
|
1809
|
+
extractedFactCount?: number | undefined;
|
|
1810
|
+
extractedEntityCount?: number | undefined;
|
|
1601
1811
|
};
|
|
1602
1812
|
score: number;
|
|
1603
1813
|
topics?: {
|
|
@@ -1719,6 +1929,16 @@ declare const searchResponse: z.ZodLazy<z.ZodObject<{
|
|
|
1719
1929
|
confidenceBasis: z.ZodOptional<z.ZodEnum<["direct-statement", "repeated-mention", "single-mention", "hedged", "inference", "external-source", "contradicted"]>>;
|
|
1720
1930
|
/** Effective state of the memory in the narrative */
|
|
1721
1931
|
effectiveState: z.ZodOptional<z.ZodEnum<["current", "superseded", "contradicted"]>>;
|
|
1932
|
+
/** Status of automatic content extraction */
|
|
1933
|
+
extractionStatus: z.ZodOptional<z.ZodEnum<["pending", "completed", "failed", "skipped"]>>;
|
|
1934
|
+
/** When extraction was completed */
|
|
1935
|
+
extractionCompletedAt: z.ZodOptional<z.ZodString>;
|
|
1936
|
+
/** Number of topics extracted from content */
|
|
1937
|
+
extractedTopicCount: z.ZodOptional<z.ZodNumber>;
|
|
1938
|
+
/** Number of facts extracted from content */
|
|
1939
|
+
extractedFactCount: z.ZodOptional<z.ZodNumber>;
|
|
1940
|
+
/** Number of entities extracted from content */
|
|
1941
|
+
extractedEntityCount: z.ZodOptional<z.ZodNumber>;
|
|
1722
1942
|
}, "strip", z.ZodTypeAny, {
|
|
1723
1943
|
id: string;
|
|
1724
1944
|
content: string;
|
|
@@ -1734,6 +1954,11 @@ declare const searchResponse: z.ZodLazy<z.ZodObject<{
|
|
|
1734
1954
|
confidenceScore?: number | undefined;
|
|
1735
1955
|
confidenceBasis?: "direct-statement" | "repeated-mention" | "single-mention" | "hedged" | "inference" | "external-source" | "contradicted" | undefined;
|
|
1736
1956
|
effectiveState?: "contradicted" | "current" | "superseded" | undefined;
|
|
1957
|
+
extractionStatus?: "pending" | "completed" | "failed" | "skipped" | undefined;
|
|
1958
|
+
extractionCompletedAt?: string | undefined;
|
|
1959
|
+
extractedTopicCount?: number | undefined;
|
|
1960
|
+
extractedFactCount?: number | undefined;
|
|
1961
|
+
extractedEntityCount?: number | undefined;
|
|
1737
1962
|
}, {
|
|
1738
1963
|
id: string;
|
|
1739
1964
|
content: string;
|
|
@@ -1749,6 +1974,11 @@ declare const searchResponse: z.ZodLazy<z.ZodObject<{
|
|
|
1749
1974
|
confidenceScore?: number | undefined;
|
|
1750
1975
|
confidenceBasis?: "direct-statement" | "repeated-mention" | "single-mention" | "hedged" | "inference" | "external-source" | "contradicted" | undefined;
|
|
1751
1976
|
effectiveState?: "contradicted" | "current" | "superseded" | undefined;
|
|
1977
|
+
extractionStatus?: "pending" | "completed" | "failed" | "skipped" | undefined;
|
|
1978
|
+
extractionCompletedAt?: string | undefined;
|
|
1979
|
+
extractedTopicCount?: number | undefined;
|
|
1980
|
+
extractedFactCount?: number | undefined;
|
|
1981
|
+
extractedEntityCount?: number | undefined;
|
|
1752
1982
|
}>;
|
|
1753
1983
|
/** Relevance score for this result */
|
|
1754
1984
|
score: z.ZodNumber;
|
|
@@ -1831,6 +2061,11 @@ declare const searchResponse: z.ZodLazy<z.ZodObject<{
|
|
|
1831
2061
|
confidenceScore?: number | undefined;
|
|
1832
2062
|
confidenceBasis?: "direct-statement" | "repeated-mention" | "single-mention" | "hedged" | "inference" | "external-source" | "contradicted" | undefined;
|
|
1833
2063
|
effectiveState?: "contradicted" | "current" | "superseded" | undefined;
|
|
2064
|
+
extractionStatus?: "pending" | "completed" | "failed" | "skipped" | undefined;
|
|
2065
|
+
extractionCompletedAt?: string | undefined;
|
|
2066
|
+
extractedTopicCount?: number | undefined;
|
|
2067
|
+
extractedFactCount?: number | undefined;
|
|
2068
|
+
extractedEntityCount?: number | undefined;
|
|
1834
2069
|
};
|
|
1835
2070
|
score: number;
|
|
1836
2071
|
topics?: {
|
|
@@ -1870,6 +2105,11 @@ declare const searchResponse: z.ZodLazy<z.ZodObject<{
|
|
|
1870
2105
|
confidenceScore?: number | undefined;
|
|
1871
2106
|
confidenceBasis?: "direct-statement" | "repeated-mention" | "single-mention" | "hedged" | "inference" | "external-source" | "contradicted" | undefined;
|
|
1872
2107
|
effectiveState?: "contradicted" | "current" | "superseded" | undefined;
|
|
2108
|
+
extractionStatus?: "pending" | "completed" | "failed" | "skipped" | undefined;
|
|
2109
|
+
extractionCompletedAt?: string | undefined;
|
|
2110
|
+
extractedTopicCount?: number | undefined;
|
|
2111
|
+
extractedFactCount?: number | undefined;
|
|
2112
|
+
extractedEntityCount?: number | undefined;
|
|
1873
2113
|
};
|
|
1874
2114
|
score: number;
|
|
1875
2115
|
topics?: {
|
|
@@ -1992,6 +2232,11 @@ declare const searchResponse: z.ZodLazy<z.ZodObject<{
|
|
|
1992
2232
|
confidenceScore?: number | undefined;
|
|
1993
2233
|
confidenceBasis?: "direct-statement" | "repeated-mention" | "single-mention" | "hedged" | "inference" | "external-source" | "contradicted" | undefined;
|
|
1994
2234
|
effectiveState?: "contradicted" | "current" | "superseded" | undefined;
|
|
2235
|
+
extractionStatus?: "pending" | "completed" | "failed" | "skipped" | undefined;
|
|
2236
|
+
extractionCompletedAt?: string | undefined;
|
|
2237
|
+
extractedTopicCount?: number | undefined;
|
|
2238
|
+
extractedFactCount?: number | undefined;
|
|
2239
|
+
extractedEntityCount?: number | undefined;
|
|
1995
2240
|
};
|
|
1996
2241
|
score: number;
|
|
1997
2242
|
topics?: {
|
|
@@ -2054,6 +2299,11 @@ declare const searchResponse: z.ZodLazy<z.ZodObject<{
|
|
|
2054
2299
|
confidenceScore?: number | undefined;
|
|
2055
2300
|
confidenceBasis?: "direct-statement" | "repeated-mention" | "single-mention" | "hedged" | "inference" | "external-source" | "contradicted" | undefined;
|
|
2056
2301
|
effectiveState?: "contradicted" | "current" | "superseded" | undefined;
|
|
2302
|
+
extractionStatus?: "pending" | "completed" | "failed" | "skipped" | undefined;
|
|
2303
|
+
extractionCompletedAt?: string | undefined;
|
|
2304
|
+
extractedTopicCount?: number | undefined;
|
|
2305
|
+
extractedFactCount?: number | undefined;
|
|
2306
|
+
extractedEntityCount?: number | undefined;
|
|
2057
2307
|
};
|
|
2058
2308
|
score: number;
|
|
2059
2309
|
topics?: {
|
|
@@ -2578,6 +2828,16 @@ declare const narrativeMemory: z.ZodObject<{
|
|
|
2578
2828
|
confidenceBasis: z.ZodOptional<z.ZodEnum<["direct-statement", "repeated-mention", "single-mention", "hedged", "inference", "external-source", "contradicted"]>>;
|
|
2579
2829
|
/** Effective state of the memory in the narrative */
|
|
2580
2830
|
effectiveState: z.ZodOptional<z.ZodEnum<["current", "superseded", "contradicted"]>>;
|
|
2831
|
+
/** Status of automatic content extraction */
|
|
2832
|
+
extractionStatus: z.ZodOptional<z.ZodEnum<["pending", "completed", "failed", "skipped"]>>;
|
|
2833
|
+
/** When extraction was completed */
|
|
2834
|
+
extractionCompletedAt: z.ZodOptional<z.ZodString>;
|
|
2835
|
+
/** Number of topics extracted from content */
|
|
2836
|
+
extractedTopicCount: z.ZodOptional<z.ZodNumber>;
|
|
2837
|
+
/** Number of facts extracted from content */
|
|
2838
|
+
extractedFactCount: z.ZodOptional<z.ZodNumber>;
|
|
2839
|
+
/** Number of entities extracted from content */
|
|
2840
|
+
extractedEntityCount: z.ZodOptional<z.ZodNumber>;
|
|
2581
2841
|
}, "strip", z.ZodTypeAny, {
|
|
2582
2842
|
id: string;
|
|
2583
2843
|
content: string;
|
|
@@ -2593,6 +2853,11 @@ declare const narrativeMemory: z.ZodObject<{
|
|
|
2593
2853
|
confidenceScore?: number | undefined;
|
|
2594
2854
|
confidenceBasis?: "direct-statement" | "repeated-mention" | "single-mention" | "hedged" | "inference" | "external-source" | "contradicted" | undefined;
|
|
2595
2855
|
effectiveState?: "contradicted" | "current" | "superseded" | undefined;
|
|
2856
|
+
extractionStatus?: "pending" | "completed" | "failed" | "skipped" | undefined;
|
|
2857
|
+
extractionCompletedAt?: string | undefined;
|
|
2858
|
+
extractedTopicCount?: number | undefined;
|
|
2859
|
+
extractedFactCount?: number | undefined;
|
|
2860
|
+
extractedEntityCount?: number | undefined;
|
|
2596
2861
|
}, {
|
|
2597
2862
|
id: string;
|
|
2598
2863
|
content: string;
|
|
@@ -2608,6 +2873,11 @@ declare const narrativeMemory: z.ZodObject<{
|
|
|
2608
2873
|
confidenceScore?: number | undefined;
|
|
2609
2874
|
confidenceBasis?: "direct-statement" | "repeated-mention" | "single-mention" | "hedged" | "inference" | "external-source" | "contradicted" | undefined;
|
|
2610
2875
|
effectiveState?: "contradicted" | "current" | "superseded" | undefined;
|
|
2876
|
+
extractionStatus?: "pending" | "completed" | "failed" | "skipped" | undefined;
|
|
2877
|
+
extractionCompletedAt?: string | undefined;
|
|
2878
|
+
extractedTopicCount?: number | undefined;
|
|
2879
|
+
extractedFactCount?: number | undefined;
|
|
2880
|
+
extractedEntityCount?: number | undefined;
|
|
2611
2881
|
}>;
|
|
2612
2882
|
/** Position of this memory in the narrative (0-indexed) */
|
|
2613
2883
|
position: z.ZodNumber;
|
|
@@ -2629,6 +2899,11 @@ declare const narrativeMemory: z.ZodObject<{
|
|
|
2629
2899
|
confidenceScore?: number | undefined;
|
|
2630
2900
|
confidenceBasis?: "direct-statement" | "repeated-mention" | "single-mention" | "hedged" | "inference" | "external-source" | "contradicted" | undefined;
|
|
2631
2901
|
effectiveState?: "contradicted" | "current" | "superseded" | undefined;
|
|
2902
|
+
extractionStatus?: "pending" | "completed" | "failed" | "skipped" | undefined;
|
|
2903
|
+
extractionCompletedAt?: string | undefined;
|
|
2904
|
+
extractedTopicCount?: number | undefined;
|
|
2905
|
+
extractedFactCount?: number | undefined;
|
|
2906
|
+
extractedEntityCount?: number | undefined;
|
|
2632
2907
|
};
|
|
2633
2908
|
position: number;
|
|
2634
2909
|
effectiveState?: "contradicted" | "current" | "superseded" | undefined;
|
|
@@ -2648,6 +2923,11 @@ declare const narrativeMemory: z.ZodObject<{
|
|
|
2648
2923
|
confidenceScore?: number | undefined;
|
|
2649
2924
|
confidenceBasis?: "direct-statement" | "repeated-mention" | "single-mention" | "hedged" | "inference" | "external-source" | "contradicted" | undefined;
|
|
2650
2925
|
effectiveState?: "contradicted" | "current" | "superseded" | undefined;
|
|
2926
|
+
extractionStatus?: "pending" | "completed" | "failed" | "skipped" | undefined;
|
|
2927
|
+
extractionCompletedAt?: string | undefined;
|
|
2928
|
+
extractedTopicCount?: number | undefined;
|
|
2929
|
+
extractedFactCount?: number | undefined;
|
|
2930
|
+
extractedEntityCount?: number | undefined;
|
|
2651
2931
|
};
|
|
2652
2932
|
position: number;
|
|
2653
2933
|
effectiveState?: "contradicted" | "current" | "superseded" | undefined;
|
|
@@ -2683,6 +2963,16 @@ declare const narrativeTimelineResponse: z.ZodLazy<z.ZodObject<{
|
|
|
2683
2963
|
confidenceBasis: z.ZodOptional<z.ZodEnum<["direct-statement", "repeated-mention", "single-mention", "hedged", "inference", "external-source", "contradicted"]>>;
|
|
2684
2964
|
/** Effective state of the memory in the narrative */
|
|
2685
2965
|
effectiveState: z.ZodOptional<z.ZodEnum<["current", "superseded", "contradicted"]>>;
|
|
2966
|
+
/** Status of automatic content extraction */
|
|
2967
|
+
extractionStatus: z.ZodOptional<z.ZodEnum<["pending", "completed", "failed", "skipped"]>>;
|
|
2968
|
+
/** When extraction was completed */
|
|
2969
|
+
extractionCompletedAt: z.ZodOptional<z.ZodString>;
|
|
2970
|
+
/** Number of topics extracted from content */
|
|
2971
|
+
extractedTopicCount: z.ZodOptional<z.ZodNumber>;
|
|
2972
|
+
/** Number of facts extracted from content */
|
|
2973
|
+
extractedFactCount: z.ZodOptional<z.ZodNumber>;
|
|
2974
|
+
/** Number of entities extracted from content */
|
|
2975
|
+
extractedEntityCount: z.ZodOptional<z.ZodNumber>;
|
|
2686
2976
|
}, "strip", z.ZodTypeAny, {
|
|
2687
2977
|
id: string;
|
|
2688
2978
|
content: string;
|
|
@@ -2698,6 +2988,11 @@ declare const narrativeTimelineResponse: z.ZodLazy<z.ZodObject<{
|
|
|
2698
2988
|
confidenceScore?: number | undefined;
|
|
2699
2989
|
confidenceBasis?: "direct-statement" | "repeated-mention" | "single-mention" | "hedged" | "inference" | "external-source" | "contradicted" | undefined;
|
|
2700
2990
|
effectiveState?: "contradicted" | "current" | "superseded" | undefined;
|
|
2991
|
+
extractionStatus?: "pending" | "completed" | "failed" | "skipped" | undefined;
|
|
2992
|
+
extractionCompletedAt?: string | undefined;
|
|
2993
|
+
extractedTopicCount?: number | undefined;
|
|
2994
|
+
extractedFactCount?: number | undefined;
|
|
2995
|
+
extractedEntityCount?: number | undefined;
|
|
2701
2996
|
}, {
|
|
2702
2997
|
id: string;
|
|
2703
2998
|
content: string;
|
|
@@ -2713,6 +3008,11 @@ declare const narrativeTimelineResponse: z.ZodLazy<z.ZodObject<{
|
|
|
2713
3008
|
confidenceScore?: number | undefined;
|
|
2714
3009
|
confidenceBasis?: "direct-statement" | "repeated-mention" | "single-mention" | "hedged" | "inference" | "external-source" | "contradicted" | undefined;
|
|
2715
3010
|
effectiveState?: "contradicted" | "current" | "superseded" | undefined;
|
|
3011
|
+
extractionStatus?: "pending" | "completed" | "failed" | "skipped" | undefined;
|
|
3012
|
+
extractionCompletedAt?: string | undefined;
|
|
3013
|
+
extractedTopicCount?: number | undefined;
|
|
3014
|
+
extractedFactCount?: number | undefined;
|
|
3015
|
+
extractedEntityCount?: number | undefined;
|
|
2716
3016
|
}>;
|
|
2717
3017
|
/** Position of this memory in the narrative (0-indexed) */
|
|
2718
3018
|
position: z.ZodNumber;
|
|
@@ -2734,6 +3034,11 @@ declare const narrativeTimelineResponse: z.ZodLazy<z.ZodObject<{
|
|
|
2734
3034
|
confidenceScore?: number | undefined;
|
|
2735
3035
|
confidenceBasis?: "direct-statement" | "repeated-mention" | "single-mention" | "hedged" | "inference" | "external-source" | "contradicted" | undefined;
|
|
2736
3036
|
effectiveState?: "contradicted" | "current" | "superseded" | undefined;
|
|
3037
|
+
extractionStatus?: "pending" | "completed" | "failed" | "skipped" | undefined;
|
|
3038
|
+
extractionCompletedAt?: string | undefined;
|
|
3039
|
+
extractedTopicCount?: number | undefined;
|
|
3040
|
+
extractedFactCount?: number | undefined;
|
|
3041
|
+
extractedEntityCount?: number | undefined;
|
|
2737
3042
|
};
|
|
2738
3043
|
position: number;
|
|
2739
3044
|
effectiveState?: "contradicted" | "current" | "superseded" | undefined;
|
|
@@ -2753,6 +3058,11 @@ declare const narrativeTimelineResponse: z.ZodLazy<z.ZodObject<{
|
|
|
2753
3058
|
confidenceScore?: number | undefined;
|
|
2754
3059
|
confidenceBasis?: "direct-statement" | "repeated-mention" | "single-mention" | "hedged" | "inference" | "external-source" | "contradicted" | undefined;
|
|
2755
3060
|
effectiveState?: "contradicted" | "current" | "superseded" | undefined;
|
|
3061
|
+
extractionStatus?: "pending" | "completed" | "failed" | "skipped" | undefined;
|
|
3062
|
+
extractionCompletedAt?: string | undefined;
|
|
3063
|
+
extractedTopicCount?: number | undefined;
|
|
3064
|
+
extractedFactCount?: number | undefined;
|
|
3065
|
+
extractedEntityCount?: number | undefined;
|
|
2756
3066
|
};
|
|
2757
3067
|
position: number;
|
|
2758
3068
|
effectiveState?: "contradicted" | "current" | "superseded" | undefined;
|
|
@@ -2835,6 +3145,11 @@ declare const narrativeTimelineResponse: z.ZodLazy<z.ZodObject<{
|
|
|
2835
3145
|
confidenceScore?: number | undefined;
|
|
2836
3146
|
confidenceBasis?: "direct-statement" | "repeated-mention" | "single-mention" | "hedged" | "inference" | "external-source" | "contradicted" | undefined;
|
|
2837
3147
|
effectiveState?: "contradicted" | "current" | "superseded" | undefined;
|
|
3148
|
+
extractionStatus?: "pending" | "completed" | "failed" | "skipped" | undefined;
|
|
3149
|
+
extractionCompletedAt?: string | undefined;
|
|
3150
|
+
extractedTopicCount?: number | undefined;
|
|
3151
|
+
extractedFactCount?: number | undefined;
|
|
3152
|
+
extractedEntityCount?: number | undefined;
|
|
2838
3153
|
};
|
|
2839
3154
|
position: number;
|
|
2840
3155
|
effectiveState?: "contradicted" | "current" | "superseded" | undefined;
|
|
@@ -2874,6 +3189,11 @@ declare const narrativeTimelineResponse: z.ZodLazy<z.ZodObject<{
|
|
|
2874
3189
|
confidenceScore?: number | undefined;
|
|
2875
3190
|
confidenceBasis?: "direct-statement" | "repeated-mention" | "single-mention" | "hedged" | "inference" | "external-source" | "contradicted" | undefined;
|
|
2876
3191
|
effectiveState?: "contradicted" | "current" | "superseded" | undefined;
|
|
3192
|
+
extractionStatus?: "pending" | "completed" | "failed" | "skipped" | undefined;
|
|
3193
|
+
extractionCompletedAt?: string | undefined;
|
|
3194
|
+
extractedTopicCount?: number | undefined;
|
|
3195
|
+
extractedFactCount?: number | undefined;
|
|
3196
|
+
extractedEntityCount?: number | undefined;
|
|
2877
3197
|
};
|
|
2878
3198
|
position: number;
|
|
2879
3199
|
effectiveState?: "contradicted" | "current" | "superseded" | undefined;
|
|
@@ -4472,6 +4792,11 @@ declare class MemoriesService extends BaseService {
|
|
|
4472
4792
|
confidenceScore?: number;
|
|
4473
4793
|
confidenceBasis?: 'direct-statement' | 'repeated-mention' | 'single-mention' | 'hedged' | 'inference' | 'external-source' | 'contradicted';
|
|
4474
4794
|
effectiveState?: 'current' | 'superseded' | 'contradicted';
|
|
4795
|
+
extractionStatus?: 'pending' | 'completed' | 'failed' | 'skipped';
|
|
4796
|
+
extractionCompletedAt?: string;
|
|
4797
|
+
extractedTopicCount?: number;
|
|
4798
|
+
extractedFactCount?: number;
|
|
4799
|
+
extractedEntityCount?: number;
|
|
4475
4800
|
};
|
|
4476
4801
|
score: number;
|
|
4477
4802
|
relationship: string;
|