@absolutejs/rag 0.0.13 → 0.0.14

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.
Files changed (78) hide show
  1. package/dist/angular/index.js +6 -6
  2. package/dist/angular/index.js.map +5 -5
  3. package/dist/client/index.js +7 -7
  4. package/dist/client/index.js.map +5 -5
  5. package/dist/client/ui.js +7 -7
  6. package/dist/client/ui.js.map +4 -4
  7. package/dist/{rag/index.js → index.js} +38 -38
  8. package/dist/{rag/index.js.map → index.js.map} +16 -16
  9. package/dist/{rag → presentation}/ui.js +7 -7
  10. package/dist/presentation/ui.js.map +13 -0
  11. package/dist/{rag → quality}/quality.js +7 -7
  12. package/dist/quality/quality.js.map +13 -0
  13. package/dist/react/index.js +6 -6
  14. package/dist/react/index.js.map +14 -14
  15. package/dist/src/{rag/adapters → adapters}/inMemory.d.ts +1 -1
  16. package/dist/src/{rag/adapters → adapters}/postgres.d.ts +1 -1
  17. package/dist/src/{rag/adapters → adapters}/sqlite.d.ts +1 -1
  18. package/dist/src/angular/ai-rag-stream.service.d.ts +1 -1
  19. package/dist/src/angular/ai-rag-workflow.service.d.ts +1 -1
  20. package/dist/src/{rag → chat}/chat.d.ts +33 -33
  21. package/dist/src/client/index.d.ts +1 -1
  22. package/dist/src/client/ui.d.ts +4 -4
  23. package/dist/src/{rag/index.d.ts → index.d.ts} +24 -24
  24. package/dist/src/{rag → presentation}/presentation.d.ts +1 -1
  25. package/dist/src/react/useRAG.d.ts +19 -19
  26. package/dist/src/react/useRAGGrounding.d.ts +1 -1
  27. package/dist/src/react/useRAGStream.d.ts +1 -1
  28. package/dist/src/react/useRAGStreamProgress.d.ts +1 -1
  29. package/dist/src/react/useRAGWorkflow.d.ts +1 -1
  30. package/dist/src/svelte/createRAG.d.ts +19 -19
  31. package/dist/src/svelte/createRAGGrounding.d.ts +1 -1
  32. package/dist/src/svelte/createRAGStream.d.ts +1 -1
  33. package/dist/src/svelte/createRAGStreamProgress.d.ts +1 -1
  34. package/dist/src/svelte/createRAGWorkflow.d.ts +1 -1
  35. package/dist/src/{rag/types.d.ts → types.d.ts} +3 -3
  36. package/dist/src/vue/useRAG.d.ts +67 -67
  37. package/dist/src/vue/useRAGChunkPreview.d.ts +8 -8
  38. package/dist/src/vue/useRAGEvaluate.d.ts +12 -12
  39. package/dist/src/vue/useRAGGrounding.d.ts +1 -1
  40. package/dist/src/vue/useRAGSearch.d.ts +26 -26
  41. package/dist/src/vue/useRAGStream.d.ts +2 -2
  42. package/dist/src/vue/useRAGStreamProgress.d.ts +1 -1
  43. package/dist/src/vue/useRAGWorkflow.d.ts +2 -2
  44. package/dist/svelte/index.js +6 -6
  45. package/dist/svelte/index.js.map +11 -11
  46. package/dist/vue/index.js +6 -6
  47. package/dist/vue/index.js.map +11 -11
  48. package/package.json +11 -11
  49. package/dist/rag/quality.js.map +0 -13
  50. package/dist/rag/ui.js.map +0 -13
  51. /package/dist/src/{rag/adapters → adapters}/filtering.d.ts +0 -0
  52. /package/dist/src/{rag/adapters → adapters}/queryPlanning.d.ts +0 -0
  53. /package/dist/src/{rag/adapters → adapters}/utils.d.ts +0 -0
  54. /package/dist/src/{rag → ingestion}/ingestion.d.ts +0 -0
  55. /package/dist/src/{rag → internal}/accessControl.d.ts +0 -0
  56. /package/dist/src/{rag → internal}/atomicWrite.d.ts +0 -0
  57. /package/dist/src/{rag → internal}/constants.d.ts +0 -0
  58. /package/dist/src/{rag → internal}/jobState.d.ts +0 -0
  59. /package/dist/src/{rag → internal}/resolveAbsoluteSQLiteVec.d.ts +0 -0
  60. /package/dist/src/{rag → presentation}/htmxConfig.d.ts +0 -0
  61. /package/dist/src/{rag → presentation}/htmxWorkflowRenderers.d.ts +0 -0
  62. /package/dist/src/{rag → presentation}/ui.d.ts +0 -0
  63. /package/dist/src/{rag → presentation}/workflowState.d.ts +0 -0
  64. /package/dist/src/{rag → providers}/contactProviders.d.ts +0 -0
  65. /package/dist/src/{rag → providers}/emailProviders.d.ts +0 -0
  66. /package/dist/src/{rag → providers}/embeddingProviders.d.ts +0 -0
  67. /package/dist/src/{rag → providers}/extractorProviders.d.ts +0 -0
  68. /package/dist/src/{rag → providers}/rerankerProviders.d.ts +0 -0
  69. /package/dist/src/{rag → providers}/socialProviders.d.ts +0 -0
  70. /package/dist/src/{rag → quality}/quality.d.ts +0 -0
  71. /package/dist/src/{rag → retrieval}/collection.d.ts +0 -0
  72. /package/dist/src/{rag → retrieval}/embedding.d.ts +0 -0
  73. /package/dist/src/{rag → retrieval}/grounding.d.ts +0 -0
  74. /package/dist/src/{rag → retrieval}/lexical.d.ts +0 -0
  75. /package/dist/src/{rag → retrieval}/queryTransforms.d.ts +0 -0
  76. /package/dist/src/{rag → retrieval}/reranking.d.ts +0 -0
  77. /package/dist/src/{rag → retrieval}/retrievalStrategies.d.ts +0 -0
  78. /package/dist/src/{rag → sync}/sync.d.ts +0 -0
@@ -1,5 +1,5 @@
1
1
  import { createRAGVector, normalizeVector, querySimilarity } from "./utils";
2
2
  import type { RAGVectorStore } from "@absolutejs/ai";
3
- import type { InMemoryRAGStoreOptions } from "../../../types/adapters";
3
+ import type { InMemoryRAGStoreOptions } from "../../types/adapters";
4
4
  export declare const createInMemoryRAGStore: (options?: InMemoryRAGStoreOptions) => RAGVectorStore;
5
5
  export { createRAGVector, normalizeVector, querySimilarity };
@@ -1,3 +1,3 @@
1
1
  import type { RAGVectorStore } from "@absolutejs/ai";
2
- import type { PostgresRAGStoreOptions } from "../../../types/adapters";
2
+ import type { PostgresRAGStoreOptions } from "../../types/adapters";
3
3
  export declare const createPostgresRAGStore: (options?: PostgresRAGStoreOptions) => RAGVectorStore;
@@ -1,3 +1,3 @@
1
1
  import type { RAGVectorStore } from "@absolutejs/ai";
2
- import type { SQLiteRAGStoreOptions } from "../../../types/adapters";
2
+ import type { SQLiteRAGStoreOptions } from "../../types/adapters";
3
3
  export declare const createSQLiteRAGStore: (options?: SQLiteRAGStoreOptions) => RAGVectorStore;
@@ -14,7 +14,7 @@ export declare class RAGStreamService extends AIStreamService {
14
14
  isRetrieving: import("@angular/core").Signal<boolean>;
15
15
  isRunning: import("@angular/core").Signal<boolean>;
16
16
  latestAssistantMessage: import("@angular/core").Signal<import("@absolutejs/ai").AIMessage | undefined>;
17
- progress: import("@angular/core").Signal<import("../rag/presentation").RAGStreamProgress>;
17
+ progress: import("@angular/core").Signal<import("../presentation/presentation").RAGStreamProgress>;
18
18
  query: (content: string, attachments?: import("@absolutejs/ai").AIAttachment[]) => void;
19
19
  retrieval: import("@angular/core").Signal<import("@absolutejs/ai").RAGRetrievedState | null>;
20
20
  sourceGroups: import("@angular/core").Signal<import("@absolutejs/ai").RAGSourceGroup[]>;
@@ -15,7 +15,7 @@ export declare class RAGWorkflowService extends RAGStreamService {
15
15
  isRetrieving: import("@angular/core").Signal<boolean>;
16
16
  isRunning: import("@angular/core").Signal<boolean>;
17
17
  latestAssistantMessage: import("@angular/core").Signal<import("@absolutejs/ai").AIMessage | undefined>;
18
- progress: import("@angular/core").Signal<import("../rag/presentation").RAGStreamProgress>;
18
+ progress: import("@angular/core").Signal<import("../presentation/presentation").RAGStreamProgress>;
19
19
  query: (content: string, attachments?: import("@absolutejs/ai").AIAttachment[]) => void;
20
20
  retrieval: import("@angular/core").Signal<import("@absolutejs/ai").RAGRetrievedState | null>;
21
21
  sourceGroups: import("@angular/core").Signal<import("@absolutejs/ai").RAGSourceGroup[]>;
@@ -34,7 +34,7 @@ export declare const ragChat: (config: RAGChatPluginConfig) => Elysia<"", {
34
34
  query: unknown;
35
35
  headers: unknown;
36
36
  response: {
37
- 200: RAGSearchResponse | Response;
37
+ 200: Response | RAGSearchResponse;
38
38
  };
39
39
  };
40
40
  };
@@ -113,7 +113,7 @@ export declare const ragChat: (config: RAGChatPluginConfig) => Elysia<"", {
113
113
  query: unknown;
114
114
  headers: unknown;
115
115
  response: {
116
- 200: RAGMutationResponse | Response | RAGSearchTracePruneResponse;
116
+ 200: Response | RAGMutationResponse | RAGSearchTracePruneResponse;
117
117
  };
118
118
  };
119
119
  };
@@ -598,7 +598,7 @@ export declare const ragChat: (config: RAGChatPluginConfig) => Elysia<"", {
598
598
  query: unknown;
599
599
  headers: unknown;
600
600
  response: {
601
- 200: RAGMutationResponse | Response | RAGRetrievalLaneHandoffIncidentListResponse;
601
+ 200: Response | RAGMutationResponse | RAGRetrievalLaneHandoffIncidentListResponse;
602
602
  };
603
603
  };
604
604
  };
@@ -620,7 +620,7 @@ export declare const ragChat: (config: RAGChatPluginConfig) => Elysia<"", {
620
620
  query: unknown;
621
621
  headers: unknown;
622
622
  response: {
623
- 200: RAGMutationResponse | Response | RAGRetrievalLaneHandoffIncidentListResponse;
623
+ 200: Response | RAGMutationResponse | RAGRetrievalLaneHandoffIncidentListResponse;
624
624
  };
625
625
  };
626
626
  };
@@ -642,7 +642,7 @@ export declare const ragChat: (config: RAGChatPluginConfig) => Elysia<"", {
642
642
  query: unknown;
643
643
  headers: unknown;
644
644
  response: {
645
- 200: RAGMutationResponse | Response | RAGRetrievalLaneHandoffIncidentListResponse;
645
+ 200: Response | RAGMutationResponse | RAGRetrievalLaneHandoffIncidentListResponse;
646
646
  };
647
647
  };
648
648
  };
@@ -663,7 +663,7 @@ export declare const ragChat: (config: RAGChatPluginConfig) => Elysia<"", {
663
663
  query: unknown;
664
664
  headers: unknown;
665
665
  response: {
666
- 200: RAGMutationResponse | Response | RAGRetrievalLaneHandoffDecisionResponse;
666
+ 200: Response | RAGMutationResponse | RAGRetrievalLaneHandoffDecisionResponse;
667
667
  };
668
668
  };
669
669
  };
@@ -743,7 +743,7 @@ export declare const ragChat: (config: RAGChatPluginConfig) => Elysia<"", {
743
743
  query: unknown;
744
744
  headers: unknown;
745
745
  response: {
746
- 200: RAGMutationResponse | Response | RAGRetrievalIncidentRemediationDecisionListResponse;
746
+ 200: Response | RAGMutationResponse | RAGRetrievalIncidentRemediationDecisionListResponse;
747
747
  };
748
748
  };
749
749
  };
@@ -764,7 +764,7 @@ export declare const ragChat: (config: RAGChatPluginConfig) => Elysia<"", {
764
764
  query: unknown;
765
765
  headers: unknown;
766
766
  response: {
767
- 200: RAGMutationResponse | Response | RAGRetrievalIncidentRemediationExecutionResponse;
767
+ 200: Response | RAGMutationResponse | RAGRetrievalIncidentRemediationExecutionResponse;
768
768
  };
769
769
  };
770
770
  };
@@ -787,7 +787,7 @@ export declare const ragChat: (config: RAGChatPluginConfig) => Elysia<"", {
787
787
  query: unknown;
788
788
  headers: unknown;
789
789
  response: {
790
- 200: RAGMutationResponse | Response | RAGRetrievalIncidentRemediationBulkExecutionResponse;
790
+ 200: Response | RAGMutationResponse | RAGRetrievalIncidentRemediationBulkExecutionResponse;
791
791
  };
792
792
  };
793
793
  };
@@ -809,7 +809,7 @@ export declare const ragChat: (config: RAGChatPluginConfig) => Elysia<"", {
809
809
  query: unknown;
810
810
  headers: unknown;
811
811
  response: {
812
- 200: RAGMutationResponse | Response | RAGRetrievalReleaseIncidentListResponse;
812
+ 200: Response | RAGMutationResponse | RAGRetrievalReleaseIncidentListResponse;
813
813
  };
814
814
  };
815
815
  };
@@ -829,7 +829,7 @@ export declare const ragChat: (config: RAGChatPluginConfig) => Elysia<"", {
829
829
  query: unknown;
830
830
  headers: unknown;
831
831
  response: {
832
- 200: RAGMutationResponse | Response | RAGRetrievalReleaseIncidentListResponse;
832
+ 200: Response | RAGMutationResponse | RAGRetrievalReleaseIncidentListResponse;
833
833
  };
834
834
  };
835
835
  };
@@ -849,7 +849,7 @@ export declare const ragChat: (config: RAGChatPluginConfig) => Elysia<"", {
849
849
  query: unknown;
850
850
  headers: unknown;
851
851
  response: {
852
- 200: RAGMutationResponse | Response | RAGRetrievalReleaseIncidentListResponse;
852
+ 200: Response | RAGMutationResponse | RAGRetrievalReleaseIncidentListResponse;
853
853
  };
854
854
  };
855
855
  };
@@ -887,7 +887,7 @@ export declare const ragChat: (config: RAGChatPluginConfig) => Elysia<"", {
887
887
  query: unknown;
888
888
  headers: unknown;
889
889
  response: {
890
- 200: RAGMutationResponse | Response | RAGRetrievalReleaseDecisionListResponse;
890
+ 200: Response | RAGMutationResponse | RAGRetrievalReleaseDecisionListResponse;
891
891
  };
892
892
  };
893
893
  };
@@ -907,7 +907,7 @@ export declare const ragChat: (config: RAGChatPluginConfig) => Elysia<"", {
907
907
  query: unknown;
908
908
  headers: unknown;
909
909
  response: {
910
- 200: RAGMutationResponse | Response | RAGRetrievalReleaseDecisionListResponse;
910
+ 200: Response | RAGMutationResponse | RAGRetrievalReleaseDecisionListResponse;
911
911
  };
912
912
  };
913
913
  };
@@ -927,7 +927,7 @@ export declare const ragChat: (config: RAGChatPluginConfig) => Elysia<"", {
927
927
  query: unknown;
928
928
  headers: unknown;
929
929
  response: {
930
- 200: RAGMutationResponse | Response | RAGRetrievalBaselineResponse;
930
+ 200: Response | RAGMutationResponse | RAGRetrievalBaselineResponse;
931
931
  };
932
932
  };
933
933
  };
@@ -947,7 +947,7 @@ export declare const ragChat: (config: RAGChatPluginConfig) => Elysia<"", {
947
947
  query: unknown;
948
948
  headers: unknown;
949
949
  response: {
950
- 200: RAGMutationResponse | Response | RAGRetrievalBaselineResponse;
950
+ 200: Response | RAGMutationResponse | RAGRetrievalBaselineResponse;
951
951
  };
952
952
  };
953
953
  };
@@ -967,7 +967,7 @@ export declare const ragChat: (config: RAGChatPluginConfig) => Elysia<"", {
967
967
  query: unknown;
968
968
  headers: unknown;
969
969
  response: {
970
- 200: RAGMutationResponse | Response | RAGRetrievalBaselineResponse;
970
+ 200: Response | RAGMutationResponse | RAGRetrievalBaselineResponse;
971
971
  };
972
972
  };
973
973
  };
@@ -987,7 +987,7 @@ export declare const ragChat: (config: RAGChatPluginConfig) => Elysia<"", {
987
987
  query: unknown;
988
988
  headers: unknown;
989
989
  response: {
990
- 200: RAGMutationResponse | Response | RAGRetrievalBaselineResponse;
990
+ 200: Response | RAGMutationResponse | RAGRetrievalBaselineResponse;
991
991
  };
992
992
  };
993
993
  };
@@ -1023,7 +1023,7 @@ export declare const ragChat: (config: RAGChatPluginConfig) => Elysia<"", {
1023
1023
  query: unknown;
1024
1024
  headers: unknown;
1025
1025
  response: {
1026
- 200: RAGOperationsResponse | Response;
1026
+ 200: Response | RAGOperationsResponse;
1027
1027
  };
1028
1028
  };
1029
1029
  };
@@ -1270,7 +1270,7 @@ export declare const ragChat: (config: RAGChatPluginConfig) => Elysia<"", {
1270
1270
  query: unknown;
1271
1271
  headers: unknown;
1272
1272
  response: {
1273
- 200: RAGOperationsResponse | Response;
1273
+ 200: Response | RAGOperationsResponse;
1274
1274
  };
1275
1275
  };
1276
1276
  };
@@ -1301,7 +1301,7 @@ export declare const ragChat: (config: RAGChatPluginConfig) => Elysia<"", {
1301
1301
  query: unknown;
1302
1302
  headers: unknown;
1303
1303
  response: {
1304
- 200: RAGMutationResponse | Response;
1304
+ 200: Response | RAGMutationResponse;
1305
1305
  };
1306
1306
  };
1307
1307
  };
@@ -1375,7 +1375,7 @@ export declare const ragChat: (config: RAGChatPluginConfig) => Elysia<"", {
1375
1375
  query: unknown;
1376
1376
  headers: unknown;
1377
1377
  response: {
1378
- 200: RAGMutationResponse | Response | RAGSyncResponse;
1378
+ 200: Response | RAGMutationResponse | RAGSyncResponse;
1379
1379
  };
1380
1380
  };
1381
1381
  };
@@ -1392,7 +1392,7 @@ export declare const ragChat: (config: RAGChatPluginConfig) => Elysia<"", {
1392
1392
  query: unknown;
1393
1393
  headers: unknown;
1394
1394
  response: {
1395
- 200: RAGMutationResponse | Response | RAGSyncResponse;
1395
+ 200: Response | RAGMutationResponse | RAGSyncResponse;
1396
1396
  422: {
1397
1397
  type: "validation";
1398
1398
  on: string;
@@ -1416,7 +1416,7 @@ export declare const ragChat: (config: RAGChatPluginConfig) => Elysia<"", {
1416
1416
  query: unknown;
1417
1417
  headers: unknown;
1418
1418
  response: {
1419
- 200: RAGMutationResponse | Response | {
1419
+ 200: Response | RAGMutationResponse | {
1420
1420
  count?: number;
1421
1421
  documentCount?: number;
1422
1422
  ok: boolean;
@@ -1450,7 +1450,7 @@ export declare const ragChat: (config: RAGChatPluginConfig) => Elysia<"", {
1450
1450
  query: unknown;
1451
1451
  headers: unknown;
1452
1452
  response: {
1453
- 200: RAGMutationResponse | Response;
1453
+ 200: Response | RAGMutationResponse;
1454
1454
  };
1455
1455
  };
1456
1456
  };
@@ -1466,7 +1466,7 @@ export declare const ragChat: (config: RAGChatPluginConfig) => Elysia<"", {
1466
1466
  query: unknown;
1467
1467
  headers: unknown;
1468
1468
  response: {
1469
- 200: RAGMutationResponse | Response;
1469
+ 200: Response | RAGMutationResponse;
1470
1470
  };
1471
1471
  };
1472
1472
  };
@@ -1484,7 +1484,7 @@ export declare const ragChat: (config: RAGChatPluginConfig) => Elysia<"", {
1484
1484
  query: unknown;
1485
1485
  headers: unknown;
1486
1486
  response: {
1487
- 200: RAGMutationResponse | Response;
1487
+ 200: Response | RAGMutationResponse;
1488
1488
  422: {
1489
1489
  type: "validation";
1490
1490
  on: string;
@@ -1512,7 +1512,7 @@ export declare const ragChat: (config: RAGChatPluginConfig) => Elysia<"", {
1512
1512
  query: unknown;
1513
1513
  headers: unknown;
1514
1514
  response: {
1515
- 200: RAGMutationResponse | Response;
1515
+ 200: Response | RAGMutationResponse;
1516
1516
  422: {
1517
1517
  type: "validation";
1518
1518
  on: string;
@@ -1538,7 +1538,7 @@ export declare const ragChat: (config: RAGChatPluginConfig) => Elysia<"", {
1538
1538
  query: unknown;
1539
1539
  headers: unknown;
1540
1540
  response: {
1541
- 200: RAGMutationResponse | Response;
1541
+ 200: Response | RAGMutationResponse;
1542
1542
  };
1543
1543
  };
1544
1544
  };
@@ -1553,7 +1553,7 @@ export declare const ragChat: (config: RAGChatPluginConfig) => Elysia<"", {
1553
1553
  query: unknown;
1554
1554
  headers: unknown;
1555
1555
  response: {
1556
- 200: RAGMutationResponse | Response;
1556
+ 200: Response | RAGMutationResponse;
1557
1557
  };
1558
1558
  };
1559
1559
  };
@@ -1567,7 +1567,7 @@ export declare const ragChat: (config: RAGChatPluginConfig) => Elysia<"", {
1567
1567
  query: unknown;
1568
1568
  headers: unknown;
1569
1569
  response: {
1570
- 200: RAGMutationResponse | Response;
1570
+ 200: Response | RAGMutationResponse;
1571
1571
  };
1572
1572
  };
1573
1573
  };
@@ -1697,8 +1697,8 @@ export declare const ragChat: (config: RAGChatPluginConfig) => Elysia<"", {
1697
1697
  post: {
1698
1698
  body: unknown;
1699
1699
  params: {
1700
- conversationId: string;
1701
1700
  messageId: string;
1701
+ conversationId: string;
1702
1702
  } & {};
1703
1703
  query: unknown;
1704
1704
  headers: unknown;
@@ -1727,8 +1727,8 @@ export declare const ragChat: (config: RAGChatPluginConfig) => Elysia<"", {
1727
1727
  get: {
1728
1728
  body: unknown;
1729
1729
  params: {
1730
- conversationId: string;
1731
1730
  messageId: string;
1731
+ conversationId: string;
1732
1732
  } & {};
1733
1733
  query: unknown;
1734
1734
  headers: unknown;
@@ -6,4 +6,4 @@ export type { CreateRAGStream } from "./createRAGStream";
6
6
  export { buildRAGMaintenanceOverview, createRAGClient } from "./ragClient";
7
7
  export type { RAGClient } from "./ragClient";
8
8
  export type { RAGClientOptions, RAGDetailedSearchResponse, RAGMaintenanceActionDescriptor, RAGMaintenanceOverview, RAGMaintenancePayload, } from "../../types/client";
9
- export { buildRAGEvaluationLeaderboard, createRAGEvaluationSuite, runRAGEvaluationSuite, } from "../rag/quality";
9
+ export { buildRAGEvaluationLeaderboard, createRAGEvaluationSuite, runRAGEvaluationSuite, } from "../quality/quality";
@@ -1,5 +1,5 @@
1
- export { buildRAGAnswerWorkflowState, buildRAGSourceGroups, buildRAGSourceSummaries, buildRAGStreamProgress, getLatestAssistantMessage, resolveRAGStreamStage, } from "../rag/workflowState";
2
- export { buildRAGStreamProgress as getRAGStreamProgress } from "../rag/workflowState";
3
- export { buildRAGCitationReferenceMap, buildRAGChunkExcerpts, buildRAGChunkGraphNavigation, buildRAGChunkGraph, buildRAGChunkPreviewGraph, buildRAGChunkPreviewNavigation, buildRAGGroundedAnswer, buildRAGGroundedAnswerSectionSummaries, buildRAGGroundingReferences, buildRAGSectionRetrievalDiagnostics, } from "../rag/presentation";
4
- export type { RAGStreamProgress, RAGStreamProgressState, } from "../rag/workflowState";
1
+ export { buildRAGAnswerWorkflowState, buildRAGSourceGroups, buildRAGSourceSummaries, buildRAGStreamProgress, getLatestAssistantMessage, resolveRAGStreamStage, } from "../presentation/workflowState";
2
+ export { buildRAGStreamProgress as getRAGStreamProgress } from "../presentation/workflowState";
3
+ export { buildRAGCitationReferenceMap, buildRAGChunkExcerpts, buildRAGChunkGraphNavigation, buildRAGChunkGraph, buildRAGChunkPreviewGraph, buildRAGChunkPreviewNavigation, buildRAGGroundedAnswer, buildRAGGroundedAnswerSectionSummaries, buildRAGGroundingReferences, buildRAGSectionRetrievalDiagnostics, } from "../presentation/presentation";
4
+ export type { RAGStreamProgress, RAGStreamProgressState, } from "../presentation/workflowState";
5
5
  export type { RAGAnswerWorkflowState } from "@absolutejs/ai";
@@ -1,32 +1,32 @@
1
- export { ragChat, ragChat as ragPlugin } from "./chat";
2
- export { createRAGHTMXConfig, createRAGHTMXWorkflowRenderConfig, } from "./htmxConfig";
3
- export { createRAGEmbeddingProvider, resolveRAGEmbeddingProvider, validateRAGEmbeddingDimensions, } from "./embedding";
4
- export { applyRAGReranking, createHeuristicRAGReranker, createRAGReranker, resolveRAGReranker, } from "./reranking";
5
- export { createCohereRAGReranker, createJinaRAGReranker, createVoyageRAGReranker, } from "./rerankerProviders";
6
- export { applyRAGQueryTransform, createHeuristicRAGQueryTransform, createRAGQueryTransform, resolveRAGQueryTransform, } from "./queryTransforms";
7
- export { createHeuristicRAGRetrievalStrategy } from "./retrievalStrategies";
8
- export { createRAGAccessControl } from "./accessControl";
9
- export { buildRAGLexicalHaystack, fuseRAGQueryResults, resolveRAGHybridSearchOptions, scoreRAGLexicalMatch, } from "./lexical";
10
- export { alibabaEmbeddings, deepseekEmbeddings, geminiEmbeddings, googleEmbeddings, metaEmbeddings, mistralaiEmbeddings, moonshotEmbeddings, ollamaEmbeddings, openaiCompatibleEmbeddings, openaiEmbeddings, xaiEmbeddings, } from "./embeddingProviders";
11
- export { anthropicOCR, geminiOCR, ollamaOCR, ollamaTranscriber, openaiCompatibleOCR, openaiCompatibleTranscriber, openaiOCR, openaiTranscriber, } from "./extractorProviders";
12
- export { createRAGGmailEmailSyncClient, createRAGLinkedGmailEmailSyncClient, createRAGGraphEmailSyncClient, createRAGIMAPEmailSyncClient, } from "./emailProviders";
13
- export { createRAGGoogleContactsConnector } from "./contactProviders";
14
- export { createRAGFacebookPageConnector, createRAGInstagramBusinessConnector, } from "./socialProviders";
15
- export { buildRAGUpsertInputFromDirectory, buildRAGUpsertInputFromDocuments, buildRAGUpsertInputFromUploads, createBuiltinArchiveExpander, createEmailExtractor, createEPUBExtractor, createLegacyDocumentExtractor, createRAGPDFOCRExtractor, createRAGArchiveExpander, createRAGArchiveFileExtractor, createOfficeDocumentExtractor, createPDFFileExtractor, createRAGFileExtractor, createRAGFileExtractorRegistry, createRAGChunkingRegistry, createRAGImageOCRExtractor, createRAGMediaFileExtractor, createRAGMediaTranscriber, createRAGOCRProvider, createTextFileExtractor, loadRAGDocumentFromURL, loadRAGDocumentUpload, loadRAGDocumentsFromUploads, buildRAGUpsertInputFromURLs, loadRAGDocumentFile, loadRAGDocumentsFromDirectory, loadRAGDocumentsFromURLs, prepareRAGDirectoryDocuments, prepareRAGDocument, prepareRAGDocumentFile, prepareRAGDocuments, } from "./ingestion";
1
+ export { ragChat, ragChat as ragPlugin } from "./chat/chat";
2
+ export { createRAGHTMXConfig, createRAGHTMXWorkflowRenderConfig, } from "./presentation/htmxConfig";
3
+ export { createRAGEmbeddingProvider, resolveRAGEmbeddingProvider, validateRAGEmbeddingDimensions, } from "./retrieval/embedding";
4
+ export { applyRAGReranking, createHeuristicRAGReranker, createRAGReranker, resolveRAGReranker, } from "./retrieval/reranking";
5
+ export { createCohereRAGReranker, createJinaRAGReranker, createVoyageRAGReranker, } from "./providers/rerankerProviders";
6
+ export { applyRAGQueryTransform, createHeuristicRAGQueryTransform, createRAGQueryTransform, resolveRAGQueryTransform, } from "./retrieval/queryTransforms";
7
+ export { createHeuristicRAGRetrievalStrategy } from "./retrieval/retrievalStrategies";
8
+ export { createRAGAccessControl } from "./internal/accessControl";
9
+ export { buildRAGLexicalHaystack, fuseRAGQueryResults, resolveRAGHybridSearchOptions, scoreRAGLexicalMatch, } from "./retrieval/lexical";
10
+ export { alibabaEmbeddings, deepseekEmbeddings, geminiEmbeddings, googleEmbeddings, metaEmbeddings, mistralaiEmbeddings, moonshotEmbeddings, ollamaEmbeddings, openaiCompatibleEmbeddings, openaiEmbeddings, xaiEmbeddings, } from "./providers/embeddingProviders";
11
+ export { anthropicOCR, geminiOCR, ollamaOCR, ollamaTranscriber, openaiCompatibleOCR, openaiCompatibleTranscriber, openaiOCR, openaiTranscriber, } from "./providers/extractorProviders";
12
+ export { createRAGGmailEmailSyncClient, createRAGLinkedGmailEmailSyncClient, createRAGGraphEmailSyncClient, createRAGIMAPEmailSyncClient, } from "./providers/emailProviders";
13
+ export { createRAGGoogleContactsConnector } from "./providers/contactProviders";
14
+ export { createRAGFacebookPageConnector, createRAGInstagramBusinessConnector, } from "./providers/socialProviders";
15
+ export { buildRAGUpsertInputFromDirectory, buildRAGUpsertInputFromDocuments, buildRAGUpsertInputFromUploads, createBuiltinArchiveExpander, createEmailExtractor, createEPUBExtractor, createLegacyDocumentExtractor, createRAGPDFOCRExtractor, createRAGArchiveExpander, createRAGArchiveFileExtractor, createOfficeDocumentExtractor, createPDFFileExtractor, createRAGFileExtractor, createRAGFileExtractorRegistry, createRAGChunkingRegistry, createRAGImageOCRExtractor, createRAGMediaFileExtractor, createRAGMediaTranscriber, createRAGOCRProvider, createTextFileExtractor, loadRAGDocumentFromURL, loadRAGDocumentUpload, loadRAGDocumentsFromUploads, buildRAGUpsertInputFromURLs, loadRAGDocumentFile, loadRAGDocumentsFromDirectory, loadRAGDocumentsFromURLs, prepareRAGDirectoryDocuments, prepareRAGDocument, prepareRAGDocumentFile, prepareRAGDocuments, } from "./ingestion/ingestion";
16
16
  export { buildRAGContext } from "./types";
17
- export { buildRAGEvaluationLeaderboard, buildRAGEvaluationResponse, buildRAGEvaluationEntityQualityView, compareRAGRetrievalStrategies, compareRAGRerankers, buildRAGAnswerGroundingCaseDifficultyLeaderboard, buildRAGAnswerGroundingCaseDifficultyRunDiff, buildRAGAnswerGroundingEvaluationLeaderboard, buildRAGAnswerGroundingEvaluationResponse, buildRAGAnswerGroundingEntityQualityView, buildRAGAnswerGroundingEvaluationRunDiff, buildRAGRetrievalComparisonDecisionSummary, buildRAGRetrievalReleaseVerdict, createRAGFileAnswerGroundingCaseDifficultyHistoryStore, createRAGFileAnswerGroundingEvaluationHistoryStore, createRAGFileEvaluationHistoryStore, createRAGSQLiteAnswerGroundingEvaluationHistoryStore, createRAGSQLiteEvaluationHistoryStore, createRAGFileRetrievalBaselineStore, createRAGFileRetrievalComparisonHistoryStore, createRAGFileRetrievalLaneHandoffDecisionStore, createRAGFileRetrievalLaneHandoffIncidentStore, createRAGFileRetrievalLaneHandoffIncidentHistoryStore, createRAGFileRetrievalIncidentRemediationDecisionStore, createRAGFileRetrievalIncidentRemediationExecutionHistoryStore, createRAGFileRetrievalLaneHandoffAutoCompletePolicyHistoryStore, createRAGFileRetrievalReleaseLanePolicyHistoryStore, createRAGFileRetrievalBaselineGatePolicyHistoryStore, createRAGFileRetrievalReleaseLaneEscalationPolicyHistoryStore, createRAGFileRetrievalReleaseDecisionStore, createRAGFileRetrievalReleaseIncidentStore, createRAGFileSearchTraceStore, createRAGFileSearchTracePruneHistoryStore, createRAGSQLiteGovernanceStores, inspectRAGSQLiteStoreMigrations, applyRAGSQLiteStoreMigrations, createRAGSQLiteRetrievalBaselineStore, createRAGSQLiteRetrievalComparisonHistoryStore, createRAGSQLiteRetrievalLaneHandoffDecisionStore, createRAGSQLiteRetrievalLaneHandoffIncidentStore, createRAGSQLiteRetrievalLaneHandoffIncidentHistoryStore, createRAGSQLiteRetrievalLaneHandoffAutoCompletePolicyHistoryStore, createRAGSQLiteRetrievalIncidentRemediationDecisionStore, createRAGSQLiteRetrievalIncidentRemediationExecutionHistoryStore, createRAGSQLiteRetrievalReleaseLanePolicyHistoryStore, createRAGSQLiteRetrievalBaselineGatePolicyHistoryStore, createRAGSQLiteRetrievalReleaseLaneEscalationPolicyHistoryStore, createRAGSQLiteRetrievalReleaseIncidentStore, createRAGSQLiteRetrievalReleaseDecisionStore, createRAGSQLiteSearchTraceStore, createRAGSQLiteSearchTracePruneHistoryStore, createRAGSQLiteEvaluationSuiteSnapshotHistoryStore, createRAGFileEvaluationSuiteSnapshotHistoryStore, createRAGEvaluationSuite, addRAGEvaluationSuiteCase, addRAGEvaluationSuiteCaseHardNegative, createRAGEvaluationSuiteSnapshot, createRAGAdaptiveNativePlannerBenchmarkSuite, createRAGAdaptiveNativePlannerBenchmarkSnapshot, createRAGNativeBackendBenchmarkCorpus, createRAGNativeBackendBenchmarkMockEmbedding, createRAGNativeBackendComparisonBenchmarkSuite, createRAGNativeBackendComparisonBenchmarkSnapshot, createRAGPresentationCueBenchmarkSuite, createRAGPresentationCueBenchmarkSnapshot, createRAGSpreadsheetCueBenchmarkSuite, createRAGSpreadsheetCueBenchmarkSnapshot, setRAGEvaluationSuiteCaseGoldenSet, updateRAGEvaluationSuiteCase, buildRAGEvaluationSuiteSnapshotDiff, removeRAGEvaluationSuiteCase, removeRAGEvaluationSuiteCaseHardNegative, reorderRAGEvaluationSuiteCases, summarizeRAGEvaluationSuiteDataset, generateRAGEvaluationSuiteFromDocuments, evaluateRAGAnswerGrounding, evaluateRAGAnswerGroundingCase, evaluateRAGCollection, executeDryRunRAGEvaluation, loadRAGAnswerGroundingCaseDifficultyHistory, loadRAGAnswerGroundingEvaluationHistory, loadRAGEvaluationHistory, loadRAGEvaluationSuiteSnapshotHistory, loadRAGRetrievalBaselines, loadRAGRetrievalComparisonHistory, loadRAGRetrievalLaneHandoffDecisions, loadRAGRetrievalLaneHandoffIncidents, loadRAGRetrievalLaneHandoffIncidentHistory, loadRAGRetrievalIncidentRemediationDecisions, loadRAGRetrievalIncidentRemediationExecutionHistory, loadRAGRetrievalLaneHandoffAutoCompletePolicyHistory, loadRAGRetrievalReleaseLanePolicyHistory, loadRAGRetrievalBaselineGatePolicyHistory, loadRAGRetrievalReleaseLaneEscalationPolicyHistory, loadRAGRetrievalReleaseDecisions, loadRAGRetrievalReleaseIncidents, loadRAGSearchTraceGroupHistory, loadRAGSearchTraceHistory, loadRAGSearchTracePruneHistory, previewRAGSearchTraceStorePrune, persistRAGRetrievalBaseline, persistRAGRetrievalComparisonRun, persistRAGRetrievalLaneHandoffDecision, persistRAGRetrievalLaneHandoffIncident, persistRAGRetrievalLaneHandoffIncidentHistory, persistRAGRetrievalIncidentRemediationDecision, persistRAGRetrievalIncidentRemediationExecutionHistory, persistRAGRetrievalLaneHandoffAutoCompletePolicyHistory, persistRAGRetrievalReleaseLanePolicyHistory, persistRAGRetrievalBaselineGatePolicyHistory, persistRAGRetrievalReleaseLaneEscalationPolicyHistory, persistRAGRetrievalReleaseDecision, persistRAGRetrievalReleaseIncident, persistRAGSearchTracePruneRun, pruneRAGSearchTraceStore, summarizeRAGSearchTraceStore, buildRAGRetrievalTraceHistoryTrend, persistRAGAnswerGroundingCaseDifficultyRun, persistRAGAnswerGroundingEvaluationRun, persistRAGEvaluationSuiteRun, persistRAGSearchTraceRecord, runRAGEvaluationSuite, summarizeRAGEvaluationCase, summarizeRAGRerankerComparison, compareRAGRetrievalTraceSummaries, summarizeRAGRetrievalTraces, buildRAGEvaluationRunDiff, buildRAGSearchTraceDiff, buildRAGSearchTraceRecord, } from "./quality";
18
- export { buildRAGAdminActionPresentation, buildRAGAdminActionPresentations, buildRAGAdminJobPresentation, buildRAGAdminJobPresentations, buildRAGAnswerGroundingCaseSnapshotPresentations, buildRAGAnswerGroundingEntityQualityPresentation, buildRAGAnswerGroundingHistoryPresentation, buildRAGAnswerGroundingHistoryRows, buildRAGCitations, buildRAGCitationReferenceMap, buildRAGChunkExcerpts, buildRAGChunkGraphNavigation, buildRAGChunkPreviewGraph, buildRAGChunkPreviewNavigation, buildRAGChunkGraph, buildRAGComparisonTraceDiffRows, buildRAGComparisonTraceSummaryRows, buildRAGCorpusHealthPresentation, buildRAGEvaluationCaseTracePresentations, buildRAGEvaluationEntityQualityPresentation, buildRAGEvaluationHistoryPresentation, buildRAGEvaluationHistoryRows, buildRAGEvaluationSuiteSnapshotHistoryPresentation, buildRAGEvaluationSuiteSnapshotPresentations, buildRAGEvaluationSuiteSnapshotRows, buildRAGGroundedAnswer, buildRAGGroundedAnswerSectionSummaries, buildRAGGroundingOverviewPresentation, buildRAGGroundingProviderCaseComparisonPresentations, buildRAGGroundingProviderOverviewPresentation, buildRAGGroundingProviderPresentations, buildRAGGroundingReferences, buildRAGQualityOverviewPresentation, buildRAGReadinessPresentation, buildRAGSourceLabels, buildRAGSectionRetrievalDiagnostics, buildRAGRerankerComparisonOverviewPresentation, buildRAGRerankerComparisonPresentations, buildRAGRerankerOverviewPresentation, buildRAGRetrievalComparisonOverviewPresentation, buildRAGRetrievalComparisonPresentations, buildRAGRetrievalOverviewPresentation, buildRAGRetrievalTracePresentation, buildRAGSourceGroups, buildRAGSourceSummaries, buildRAGSyncOverviewPresentation, buildRAGSyncSourcePresentation, buildRAGSyncSourcePresentations, } from "./ui";
19
- export { createRAGBunS3SyncClient, createRAGDirectorySyncSource, createRAGEmailSyncSource, createRAGFeedSyncSource, createRAGFileSyncStateStore, createRAGGitHubSyncSource, createRAGLinkedConnectorSyncSource, createRAGLinkedGmailEmailSyncSource, createRAGSiteDiscoverySyncSource, createRAGSitemapSyncSource, createRAGStaticEmailSyncClient, previewRAGSyncConflictResolutions, previewRAGSyncExtractionRecovery, resolveRAGSyncExtractionRecovery, resolveRAGSyncConflictResolutions, createRAGStorageSyncSource, createRAGSyncManager, createRAGSyncScheduler, createRAGUrlSyncSource, } from "./sync";
20
- export { createRAGFileJobStateStore } from "./jobState";
21
- export { createRAGCollection, ingestDocuments, ingestRAGDocuments, searchDocuments, } from "./collection";
17
+ export { buildRAGEvaluationLeaderboard, buildRAGEvaluationResponse, buildRAGEvaluationEntityQualityView, compareRAGRetrievalStrategies, compareRAGRerankers, buildRAGAnswerGroundingCaseDifficultyLeaderboard, buildRAGAnswerGroundingCaseDifficultyRunDiff, buildRAGAnswerGroundingEvaluationLeaderboard, buildRAGAnswerGroundingEvaluationResponse, buildRAGAnswerGroundingEntityQualityView, buildRAGAnswerGroundingEvaluationRunDiff, buildRAGRetrievalComparisonDecisionSummary, buildRAGRetrievalReleaseVerdict, createRAGFileAnswerGroundingCaseDifficultyHistoryStore, createRAGFileAnswerGroundingEvaluationHistoryStore, createRAGFileEvaluationHistoryStore, createRAGSQLiteAnswerGroundingEvaluationHistoryStore, createRAGSQLiteEvaluationHistoryStore, createRAGFileRetrievalBaselineStore, createRAGFileRetrievalComparisonHistoryStore, createRAGFileRetrievalLaneHandoffDecisionStore, createRAGFileRetrievalLaneHandoffIncidentStore, createRAGFileRetrievalLaneHandoffIncidentHistoryStore, createRAGFileRetrievalIncidentRemediationDecisionStore, createRAGFileRetrievalIncidentRemediationExecutionHistoryStore, createRAGFileRetrievalLaneHandoffAutoCompletePolicyHistoryStore, createRAGFileRetrievalReleaseLanePolicyHistoryStore, createRAGFileRetrievalBaselineGatePolicyHistoryStore, createRAGFileRetrievalReleaseLaneEscalationPolicyHistoryStore, createRAGFileRetrievalReleaseDecisionStore, createRAGFileRetrievalReleaseIncidentStore, createRAGFileSearchTraceStore, createRAGFileSearchTracePruneHistoryStore, createRAGSQLiteGovernanceStores, inspectRAGSQLiteStoreMigrations, applyRAGSQLiteStoreMigrations, createRAGSQLiteRetrievalBaselineStore, createRAGSQLiteRetrievalComparisonHistoryStore, createRAGSQLiteRetrievalLaneHandoffDecisionStore, createRAGSQLiteRetrievalLaneHandoffIncidentStore, createRAGSQLiteRetrievalLaneHandoffIncidentHistoryStore, createRAGSQLiteRetrievalLaneHandoffAutoCompletePolicyHistoryStore, createRAGSQLiteRetrievalIncidentRemediationDecisionStore, createRAGSQLiteRetrievalIncidentRemediationExecutionHistoryStore, createRAGSQLiteRetrievalReleaseLanePolicyHistoryStore, createRAGSQLiteRetrievalBaselineGatePolicyHistoryStore, createRAGSQLiteRetrievalReleaseLaneEscalationPolicyHistoryStore, createRAGSQLiteRetrievalReleaseIncidentStore, createRAGSQLiteRetrievalReleaseDecisionStore, createRAGSQLiteSearchTraceStore, createRAGSQLiteSearchTracePruneHistoryStore, createRAGSQLiteEvaluationSuiteSnapshotHistoryStore, createRAGFileEvaluationSuiteSnapshotHistoryStore, createRAGEvaluationSuite, addRAGEvaluationSuiteCase, addRAGEvaluationSuiteCaseHardNegative, createRAGEvaluationSuiteSnapshot, createRAGAdaptiveNativePlannerBenchmarkSuite, createRAGAdaptiveNativePlannerBenchmarkSnapshot, createRAGNativeBackendBenchmarkCorpus, createRAGNativeBackendBenchmarkMockEmbedding, createRAGNativeBackendComparisonBenchmarkSuite, createRAGNativeBackendComparisonBenchmarkSnapshot, createRAGPresentationCueBenchmarkSuite, createRAGPresentationCueBenchmarkSnapshot, createRAGSpreadsheetCueBenchmarkSuite, createRAGSpreadsheetCueBenchmarkSnapshot, setRAGEvaluationSuiteCaseGoldenSet, updateRAGEvaluationSuiteCase, buildRAGEvaluationSuiteSnapshotDiff, removeRAGEvaluationSuiteCase, removeRAGEvaluationSuiteCaseHardNegative, reorderRAGEvaluationSuiteCases, summarizeRAGEvaluationSuiteDataset, generateRAGEvaluationSuiteFromDocuments, evaluateRAGAnswerGrounding, evaluateRAGAnswerGroundingCase, evaluateRAGCollection, executeDryRunRAGEvaluation, loadRAGAnswerGroundingCaseDifficultyHistory, loadRAGAnswerGroundingEvaluationHistory, loadRAGEvaluationHistory, loadRAGEvaluationSuiteSnapshotHistory, loadRAGRetrievalBaselines, loadRAGRetrievalComparisonHistory, loadRAGRetrievalLaneHandoffDecisions, loadRAGRetrievalLaneHandoffIncidents, loadRAGRetrievalLaneHandoffIncidentHistory, loadRAGRetrievalIncidentRemediationDecisions, loadRAGRetrievalIncidentRemediationExecutionHistory, loadRAGRetrievalLaneHandoffAutoCompletePolicyHistory, loadRAGRetrievalReleaseLanePolicyHistory, loadRAGRetrievalBaselineGatePolicyHistory, loadRAGRetrievalReleaseLaneEscalationPolicyHistory, loadRAGRetrievalReleaseDecisions, loadRAGRetrievalReleaseIncidents, loadRAGSearchTraceGroupHistory, loadRAGSearchTraceHistory, loadRAGSearchTracePruneHistory, previewRAGSearchTraceStorePrune, persistRAGRetrievalBaseline, persistRAGRetrievalComparisonRun, persistRAGRetrievalLaneHandoffDecision, persistRAGRetrievalLaneHandoffIncident, persistRAGRetrievalLaneHandoffIncidentHistory, persistRAGRetrievalIncidentRemediationDecision, persistRAGRetrievalIncidentRemediationExecutionHistory, persistRAGRetrievalLaneHandoffAutoCompletePolicyHistory, persistRAGRetrievalReleaseLanePolicyHistory, persistRAGRetrievalBaselineGatePolicyHistory, persistRAGRetrievalReleaseLaneEscalationPolicyHistory, persistRAGRetrievalReleaseDecision, persistRAGRetrievalReleaseIncident, persistRAGSearchTracePruneRun, pruneRAGSearchTraceStore, summarizeRAGSearchTraceStore, buildRAGRetrievalTraceHistoryTrend, persistRAGAnswerGroundingCaseDifficultyRun, persistRAGAnswerGroundingEvaluationRun, persistRAGEvaluationSuiteRun, persistRAGSearchTraceRecord, runRAGEvaluationSuite, summarizeRAGEvaluationCase, summarizeRAGRerankerComparison, compareRAGRetrievalTraceSummaries, summarizeRAGRetrievalTraces, buildRAGEvaluationRunDiff, buildRAGSearchTraceDiff, buildRAGSearchTraceRecord, } from "./quality/quality";
18
+ export { buildRAGAdminActionPresentation, buildRAGAdminActionPresentations, buildRAGAdminJobPresentation, buildRAGAdminJobPresentations, buildRAGAnswerGroundingCaseSnapshotPresentations, buildRAGAnswerGroundingEntityQualityPresentation, buildRAGAnswerGroundingHistoryPresentation, buildRAGAnswerGroundingHistoryRows, buildRAGCitations, buildRAGCitationReferenceMap, buildRAGChunkExcerpts, buildRAGChunkGraphNavigation, buildRAGChunkPreviewGraph, buildRAGChunkPreviewNavigation, buildRAGChunkGraph, buildRAGComparisonTraceDiffRows, buildRAGComparisonTraceSummaryRows, buildRAGCorpusHealthPresentation, buildRAGEvaluationCaseTracePresentations, buildRAGEvaluationEntityQualityPresentation, buildRAGEvaluationHistoryPresentation, buildRAGEvaluationHistoryRows, buildRAGEvaluationSuiteSnapshotHistoryPresentation, buildRAGEvaluationSuiteSnapshotPresentations, buildRAGEvaluationSuiteSnapshotRows, buildRAGGroundedAnswer, buildRAGGroundedAnswerSectionSummaries, buildRAGGroundingOverviewPresentation, buildRAGGroundingProviderCaseComparisonPresentations, buildRAGGroundingProviderOverviewPresentation, buildRAGGroundingProviderPresentations, buildRAGGroundingReferences, buildRAGQualityOverviewPresentation, buildRAGReadinessPresentation, buildRAGSourceLabels, buildRAGSectionRetrievalDiagnostics, buildRAGRerankerComparisonOverviewPresentation, buildRAGRerankerComparisonPresentations, buildRAGRerankerOverviewPresentation, buildRAGRetrievalComparisonOverviewPresentation, buildRAGRetrievalComparisonPresentations, buildRAGRetrievalOverviewPresentation, buildRAGRetrievalTracePresentation, buildRAGSourceGroups, buildRAGSourceSummaries, buildRAGSyncOverviewPresentation, buildRAGSyncSourcePresentation, buildRAGSyncSourcePresentations, } from "./presentation/ui";
19
+ export { createRAGBunS3SyncClient, createRAGDirectorySyncSource, createRAGEmailSyncSource, createRAGFeedSyncSource, createRAGFileSyncStateStore, createRAGGitHubSyncSource, createRAGLinkedConnectorSyncSource, createRAGLinkedGmailEmailSyncSource, createRAGSiteDiscoverySyncSource, createRAGSitemapSyncSource, createRAGStaticEmailSyncClient, previewRAGSyncConflictResolutions, previewRAGSyncExtractionRecovery, resolveRAGSyncExtractionRecovery, resolveRAGSyncConflictResolutions, createRAGStorageSyncSource, createRAGSyncManager, createRAGSyncScheduler, createRAGUrlSyncSource, } from "./sync/sync";
20
+ export { createRAGFileJobStateStore } from "./internal/jobState";
21
+ export { createRAGCollection, ingestDocuments, ingestRAGDocuments, searchDocuments, } from "./retrieval/collection";
22
22
  export { createInMemoryRAGStore } from "./adapters/inMemory";
23
23
  export { createPostgresRAGStore } from "./adapters/postgres";
24
24
  export { createSQLiteRAGStore } from "./adapters/sqlite";
25
- export { resolveAbsoluteSQLiteVec, resolveAbsoluteSQLiteVecExtensionPath, } from "./resolveAbsoluteSQLiteVec";
25
+ export { resolveAbsoluteSQLiteVec, resolveAbsoluteSQLiteVecExtensionPath, } from "./internal/resolveAbsoluteSQLiteVec";
26
26
  export { createRAGVector, normalizeVector, querySimilarity, } from "./adapters/utils";
27
- export type { SQLiteRAGSearchTraceStoreOptions } from "./quality";
28
- export type { AnthropicOCRConfig, CrossEncoderRerankerConfig, GeminiEmbeddingsConfig, GeminiOCRConfig, GmailEmailSyncConfig, GraphEmailSyncConfig, IMAPEmailSyncConfig, OllamaEmbeddingsConfig, OllamaOCRConfig, OllamaTranscriptionConfig, OpenAICompatibleEmbeddingsConfig, OpenAICompatibleOCRConfig, OpenAICompatibleTranscriptionConfig, OpenAIEmbeddingsConfig, OpenAIOCRConfig, OpenAITranscriptionConfig, } from "../../types/providers";
29
- export type { NativeSQLiteRAGStoreOptions, SQLiteRAGStoreOptions, } from "../../types/adapters";
27
+ export type { SQLiteRAGSearchTraceStoreOptions } from "./quality/quality";
28
+ export type { AnthropicOCRConfig, CrossEncoderRerankerConfig, GeminiEmbeddingsConfig, GeminiOCRConfig, GmailEmailSyncConfig, GraphEmailSyncConfig, IMAPEmailSyncConfig, OllamaEmbeddingsConfig, OllamaOCRConfig, OllamaTranscriptionConfig, OpenAICompatibleEmbeddingsConfig, OpenAICompatibleOCRConfig, OpenAICompatibleTranscriptionConfig, OpenAIEmbeddingsConfig, OpenAIOCRConfig, OpenAITranscriptionConfig, } from "../types/providers";
29
+ export type { NativeSQLiteRAGStoreOptions, SQLiteRAGStoreOptions, } from "../types/adapters";
30
30
  export type { AIHTMXRenderConfig, RAGAnswerWorkflowState, RAGBackendCapabilities, RAGCitation, RAGCitationReferenceMap, RAGGroundedAnswer, RAGGroundedAnswerPart, RAGGroundingReference, RAGChunkingOptions, RAGChunkingStrategy, RAGDocumentChunk, RAGDocumentChunkPreview, RAGArchiveEntry, RAGArchiveExpander, RAGArchiveExpansionResult, RAGExtractedFileDocument, RAGFileExtractionInput, RAGFileExtractor, RAGPDFOCRExtractorOptions, RAGDocumentFileInput, RAGDirectoryIngestInput, RAGDocumentIngestInput, RAGDocumentUploadIngestInput, RAGDocumentUploadInput, RAGDocumentUrlIngestInput, RAGDocumentUrlInput, RAGEmailSyncAttachment, RAGEmailSyncClient, RAGEmailSyncListInput, RAGEmailSyncListResult, RAGEmailSyncMessage, RAGEmailSyncSourceOptions, RAGLinkedConnectorSyncSourceOptions, RAGConnectorCheckpoint, RAGConnectorItem, RAGConnectorRuntime, RAGConnectorSyncInput, RAGConnectorSyncResult, RAGFeedSyncInput, RAGFeedSyncSourceOptions, RAGGitHubRepoSyncInput, RAGGitHubSyncSourceOptions, RAGSitemapSyncInput, RAGSitemapSyncSourceOptions, RAGSiteDiscoveryInput, RAGSiteDiscoverySyncSourceOptions, RAGStorageSyncClient, RAGStorageSyncFile, RAGStorageSyncListInput, RAGStorageSyncListResult, RAGStorageSyncObject, RAGStorageSyncSourceOptions, RAGEmbeddingFunction, RAGEmbeddingInput, RAGEmbeddingProvider, RAGEmbeddingProviderLike, RAGBackendDescriptor, RAGCollection, RAGCollectionSearchParams, RAGContentFormat, RAGAnswerGroundingEvaluationCase, RAGAnswerGroundingEvaluationCaseResult, RAGAnswerGroundingEvaluationInput, RAGAnswerGroundingEvaluationResponse, RAGAnswerGroundingEvaluationSummary, RAGEvaluationCase, RAGEvaluationCaseResult, RAGEvaluationLeaderboardEntry, RAGEvaluationInput, RAGEvaluationResponse, RAGEvaluationSummary, RAGEvaluationSuite, RAGEvaluationSuiteRun, RAGRetrievalCandidate, RAGRetrievalComparison, RAGRetrievalComparisonEntry, RAGRetrievalComparisonSummary, RAGHTMXConfig, RAGHTMXWorkflowRenderConfig, RAGIngestDocument, RAGIngestResponse, RAGIndexedDocument, RAGHybridFusionMode, RAGHybridRetrievalMode, RAGHybridSearchOptions, RAGMediaTranscriber, RAGMediaTranscriptSegment, RAGMediaTranscriptionResult, RAGMutationResponse, RAGLexicalQueryInput, RAGOCRProvider, RAGOCRResult, RAGQueryInput, RAGQueryResult, RAGQueryTransformInput, RAGQueryTransformProvider, RAGQueryTransformProviderLike, RAGQueryTransformResult, RAGQueryTransformer, RAGPreparedDocument, RAGReranker, RAGRerankerCandidate, RAGRerankerComparison, RAGRerankerComparisonEntry, RAGRerankerComparisonSummary, RAGRerankerInput, RAGRerankerProvider, RAGRerankerProviderLike, RAGSearchRequest, RAGSyncManager, RAGSyncSchedule, RAGSyncScheduler, RAGSyncResponse, RAGSyncRunOptions, RAGSyncStateStore, RAGSyncSourceContext, RAGSyncSourceDefinition, RAGSyncSourceRecord, RAGSyncSourceRunResult, RAGDirectorySyncSourceOptions, RAGUrlSyncSourceOptions, RAGSource, RAGSourceGroup, RAGSourceSummary, RAGSQLiteNativeDiagnostics, RAGStatusResponse, RAGUpsertInput, RAGVectorStore, RAGVectorStoreStatus, SQLiteVecResolution, } from "./types";
31
31
  export type { RAGJobState, RAGJobStateStore, RAGPostgresNativeDiagnostics, RAGRetrievalComparisonCandidateInput, RAGRetrievalComparisonHistoryResponse, RAGRetrievalComparisonHistoryStore, RAGRetrievalComparisonRequest, RAGRetrievalComparisonResponse, RAGRetrievalComparisonRun, RAGSearchTraceGroupHistoryResponse, RAGSearchTraceHistoryResponse, RAGSearchTracePrunePreviewResponse, RAGSearchTracePruneHistoryResponse, RAGSearchTracePruneResponse, RAGSearchTracePruneInput, RAGSearchTracePrunePreview, RAGSearchTracePruneResult, RAGSearchTracePruneHistoryStore, RAGSearchTracePruneRun, RAGSearchTraceRetentionRuntime, RAGSearchTraceRetentionSchedule, RAGSearchTraceStats, RAGSearchTraceStatsResponse, } from "@absolutejs/ai";
32
32
  export type * from "@absolutejs/ai";
@@ -1,7 +1,7 @@
1
1
  import type { RAGAdminActionPresentation, RAGAdminActionRecord, RAGAdminJobPresentation, RAGAdminJobRecord, AIMessage, RAGAnswerGroundingCaseSnapshotPresentation, RAGAnswerGroundingEvaluationHistory, RAGAnswerGroundingEntityQualityView, RAGAnswerGroundingEvaluationResponse, RAGCorpusHealth, RAGCorpusHealthPresentation, RAGExtractorReadiness, RAGReadinessPresentation, RAGGroundingOverviewPresentation, RAGGroundingProviderCaseComparisonPresentation, RAGGroundingProviderOverviewPresentation, RAGGroundingProviderPresentation, RAGComparisonOverviewPresentation, RAGComparisonPresentation, RAGChunkGraph, RAGChunkExcerpts, RAGExcerptModeCounts, RAGExcerptSelection, RAGChunkGraphNavigation, RAGChunkStructure, RAGDocumentChunkPreview, RAGLabelValueRow, RAGRerankerComparisonEntry, RAGRetrievalComparison, RAGRetrievalComparisonEntry, RAGRetrievalComparisonRun, RAGRetrievalReleaseGroupHistoryPresentation, RAGRetrievalReleaseTimelineSummary, RAGRetrievalTrace, RAGQualityOverviewPresentation, RAGSectionRetrievalDiagnostic, RAGEvaluationCaseTracePresentation, RAGEvaluationEntityQualityView, RAGEvaluationHistory, RAGAnswerGroundingHistoryPresentation, RAGEvaluationHistoryPresentation, RAGEvaluationSuiteSnapshotHistory, RAGEvaluationSuiteSnapshotHistoryPresentation, RAGEvaluationSuiteSnapshotPresentation, RAGEntityQualityViewPresentation, RAGRerankerComparison, RAGAnswerWorkflowState, RAGRetrievalTracePresentation, RAGSource, RAGSourceLabels, RAGSourceGroup, RAGSourceSummary, RAGSyncOverviewPresentation, RAGSyncSourcePresentation, RAGSyncSourceRecord } from "@absolutejs/ai";
2
2
  import type { RAGStreamProgress } from "../../types/presentation";
3
3
  export type { RAGStreamProgress } from "../../types/presentation";
4
- import { buildRAGCitationReferenceMap, buildRAGCitations, buildRAGGroundedAnswer, buildRAGGroundedAnswerSectionSummaries, buildRAGGroundingReferences } from "./grounding";
4
+ import { buildRAGCitationReferenceMap, buildRAGCitations, buildRAGGroundedAnswer, buildRAGGroundedAnswerSectionSummaries, buildRAGGroundingReferences } from "../retrieval/grounding";
5
5
  export { buildRAGCitationReferenceMap, buildRAGCitations, buildRAGGroundedAnswer, buildRAGGroundedAnswerSectionSummaries, buildRAGGroundingReferences, };
6
6
  export declare const buildRAGRetrievalTracePresentation: (trace?: RAGRetrievalTrace) => RAGRetrievalTracePresentation;
7
7
  export declare const buildRAGAdminJobPresentation: (job: RAGAdminJobRecord) => RAGAdminJobPresentation;
@@ -65,7 +65,7 @@ export declare const useRAG: (path: string, options?: UseRAGOptions) => {
65
65
  suites: import("@absolutejs/ai").RAGEvaluationSuite[];
66
66
  };
67
67
  grounding: {
68
- coverage: "grounded" | "partial" | "ungrounded";
68
+ coverage: "partial" | "grounded" | "ungrounded";
69
69
  groundedAnswer: import("@absolutejs/ai").RAGGroundedAnswer;
70
70
  hasCitations: boolean;
71
71
  hasGrounding: boolean;
@@ -168,44 +168,44 @@ export declare const useRAG: (path: string, options?: UseRAGOptions) => {
168
168
  reset: () => void;
169
169
  results: import("@absolutejs/ai").RAGSource[];
170
170
  search: (input: {
171
- filter?: Record<string, unknown> | undefined;
172
171
  query: string;
173
- candidateTopK?: number | undefined;
174
- retrieval?: (import("@absolutejs/ai").RAGHybridSearchOptions | import("@absolutejs/ai").RAGHybridRetrievalMode) | undefined;
175
- model?: string | undefined;
176
- topK?: number | undefined;
177
- scoreThreshold?: number | undefined;
178
172
  nativeQueryProfile?: import("@absolutejs/ai").RAGNativeQueryProfile | undefined;
179
- nativeQueryMultiplier?: number | undefined;
180
173
  nativeCandidateLimit?: number | undefined;
181
174
  nativeMaxBackfills?: number | undefined;
182
175
  nativeMinResults?: number | undefined;
183
176
  nativeFillPolicy?: "strict_topk" | "satisfy_min_results" | undefined;
177
+ filter?: Record<string, unknown> | undefined;
184
178
  queryTransform?: import("@absolutejs/ai").RAGQueryTransformProviderLike | undefined;
185
- retrievalStrategy?: import("@absolutejs/ai").RAGRetrievalStrategyProviderLike | undefined;
179
+ candidateTopK?: number | undefined;
180
+ topK?: number | undefined;
181
+ scoreThreshold?: number | undefined;
182
+ retrieval?: (import("@absolutejs/ai").RAGHybridSearchOptions | import("@absolutejs/ai").RAGHybridRetrievalMode) | undefined;
183
+ model?: string | undefined;
184
+ nativeQueryMultiplier?: number | undefined;
186
185
  persistTrace?: boolean | undefined;
187
186
  traceGroupKey?: string | undefined;
188
187
  traceTags?: string[] | undefined;
188
+ retrievalStrategy?: import("@absolutejs/ai").RAGRetrievalStrategyProviderLike | undefined;
189
189
  }) => Promise<import("@absolutejs/ai").RAGSource[]>;
190
190
  searchWithTrace: (input: {
191
- filter?: Record<string, unknown> | undefined;
192
191
  query: string;
193
- candidateTopK?: number | undefined;
194
- retrieval?: (import("@absolutejs/ai").RAGHybridSearchOptions | import("@absolutejs/ai").RAGHybridRetrievalMode) | undefined;
195
- model?: string | undefined;
196
- topK?: number | undefined;
197
- scoreThreshold?: number | undefined;
198
192
  nativeQueryProfile?: import("@absolutejs/ai").RAGNativeQueryProfile | undefined;
199
- nativeQueryMultiplier?: number | undefined;
200
193
  nativeCandidateLimit?: number | undefined;
201
194
  nativeMaxBackfills?: number | undefined;
202
195
  nativeMinResults?: number | undefined;
203
196
  nativeFillPolicy?: "strict_topk" | "satisfy_min_results" | undefined;
197
+ filter?: Record<string, unknown> | undefined;
204
198
  queryTransform?: import("@absolutejs/ai").RAGQueryTransformProviderLike | undefined;
205
- retrievalStrategy?: import("@absolutejs/ai").RAGRetrievalStrategyProviderLike | undefined;
199
+ candidateTopK?: number | undefined;
200
+ topK?: number | undefined;
201
+ scoreThreshold?: number | undefined;
202
+ retrieval?: (import("@absolutejs/ai").RAGHybridSearchOptions | import("@absolutejs/ai").RAGHybridRetrievalMode) | undefined;
203
+ model?: string | undefined;
204
+ nativeQueryMultiplier?: number | undefined;
206
205
  persistTrace?: boolean | undefined;
207
206
  traceGroupKey?: string | undefined;
208
207
  traceTags?: string[] | undefined;
208
+ retrievalStrategy?: import("@absolutejs/ai").RAGRetrievalStrategyProviderLike | undefined;
209
209
  }) => Promise<import("../client").RAGDetailedSearchResponse>;
210
210
  setResults: import("react").Dispatch<import("react").SetStateAction<import("@absolutejs/ai").RAGSource[]>>;
211
211
  trace: import("@absolutejs/ai").RAGRetrievalTrace | undefined;
@@ -233,7 +233,7 @@ export declare const useRAG: (path: string, options?: UseRAGOptions) => {
233
233
  state: import("@absolutejs/ai").RAGAnswerWorkflowState;
234
234
  citationReferenceMap: import("@absolutejs/ai").RAGCitationReferenceMap;
235
235
  citations: import("@absolutejs/ai").RAGCitation[];
236
- coverage: "grounded" | "partial" | "ungrounded";
236
+ coverage: "partial" | "grounded" | "ungrounded";
237
237
  groundedAnswer: import("@absolutejs/ai").RAGGroundedAnswer;
238
238
  groundingReferences: import("@absolutejs/ai").RAGGroundingReference[];
239
239
  hasGrounding: boolean;
@@ -287,7 +287,7 @@ export declare const useRAG: (path: string, options?: UseRAGOptions) => {
287
287
  state: import("@absolutejs/ai").RAGAnswerWorkflowState;
288
288
  citationReferenceMap: import("@absolutejs/ai").RAGCitationReferenceMap;
289
289
  citations: import("@absolutejs/ai").RAGCitation[];
290
- coverage: "grounded" | "partial" | "ungrounded";
290
+ coverage: "partial" | "grounded" | "ungrounded";
291
291
  groundedAnswer: import("@absolutejs/ai").RAGGroundedAnswer;
292
292
  groundingReferences: import("@absolutejs/ai").RAGGroundingReference[];
293
293
  hasGrounding: boolean;
@@ -1,6 +1,6 @@
1
1
  import type { RAGSource } from "@absolutejs/ai";
2
2
  export declare const useRAGGrounding: (content: string, sources: RAGSource[]) => {
3
- coverage: "grounded" | "partial" | "ungrounded";
3
+ coverage: "partial" | "grounded" | "ungrounded";
4
4
  groundedAnswer: import("@absolutejs/ai").RAGGroundedAnswer;
5
5
  hasCitations: boolean;
6
6
  hasGrounding: boolean;
@@ -2,7 +2,7 @@ import type { AIAttachment } from "@absolutejs/ai";
2
2
  export declare const useRAGStream: (path?: string, conversationId?: string) => {
3
3
  citationReferenceMap: import("@absolutejs/ai").RAGCitationReferenceMap;
4
4
  citations: import("@absolutejs/ai").RAGCitation[];
5
- coverage: "grounded" | "partial" | "ungrounded";
5
+ coverage: "partial" | "grounded" | "ungrounded";
6
6
  groundedAnswer: import("@absolutejs/ai").RAGGroundedAnswer;
7
7
  groundingReferences: import("@absolutejs/ai").RAGGroundingReference[];
8
8
  hasGrounding: boolean;
@@ -1,5 +1,5 @@
1
1
  import type { AIMessage } from "@absolutejs/ai";
2
- import { type RAGStreamProgress } from "../rag/workflowState";
2
+ import { type RAGStreamProgress } from "../presentation/workflowState";
3
3
  export declare const useRAGStreamProgress: (params: {
4
4
  error: string | null;
5
5
  isStreaming: boolean;
@@ -2,7 +2,7 @@ export declare const useRAGWorkflow: (path?: string, conversationId?: string) =>
2
2
  state: import("@absolutejs/ai").RAGAnswerWorkflowState;
3
3
  citationReferenceMap: import("@absolutejs/ai").RAGCitationReferenceMap;
4
4
  citations: import("@absolutejs/ai").RAGCitation[];
5
- coverage: "grounded" | "partial" | "ungrounded";
5
+ coverage: "partial" | "grounded" | "ungrounded";
6
6
  groundedAnswer: import("@absolutejs/ai").RAGGroundedAnswer;
7
7
  groundingReferences: import("@absolutejs/ai").RAGGroundingReference[];
8
8
  hasGrounding: boolean;