@retrivora-ai/rag-engine 0.1.7 → 0.1.9

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 (63) hide show
  1. package/dist/{ChromaDBProvider-QNI7UCX4.mjs → ChromaDBProvider-T7TK3ONZ.mjs} +2 -2
  2. package/dist/{MilvusProvider-OO6QGZDZ.mjs → MilvusProvider-Y5FV5EAE.mjs} +2 -2
  3. package/dist/{MongoDBProvider-WWVJG3WT.mjs → MongoDBProvider-QHMGD2LZ.mjs} +2 -2
  4. package/dist/{PineconeProvider-ZRAFNFEC.mjs → PineconeProvider-A47MRRYJ.mjs} +2 -2
  5. package/dist/{PostgreSQLProvider-ZNXA67IM.mjs → PostgreSQLProvider-PJ5ER5Z4.mjs} +1 -1
  6. package/dist/{QdrantProvider-VAED5VA7.mjs → QdrantProvider-OLPJK7CY.mjs} +2 -2
  7. package/dist/{RagConfig-hBGXJmSx.d.mts → RagConfig-D_rSf8ep.d.mts} +1 -1
  8. package/dist/{RagConfig-hBGXJmSx.d.ts → RagConfig-D_rSf8ep.d.ts} +1 -1
  9. package/dist/{RedisProvider-ASONNYBI.mjs → RedisProvider-ANEJ3BHR.mjs} +2 -2
  10. package/dist/UniversalVectorProvider-QJIV2AJJ.mjs +9 -0
  11. package/dist/{WeaviateProvider-PSDCUGC7.mjs → WeaviateProvider-WIK2QN23.mjs} +2 -2
  12. package/dist/{chunk-7YQWGERZ.mjs → chunk-2VR5ZMXV.mjs} +740 -193
  13. package/dist/{chunk-QEYVWVT5.mjs → chunk-5HXNKSCR.mjs} +1 -1
  14. package/dist/{chunk-ZM6TYIDH.mjs → chunk-BMHJTWSU.mjs} +4 -2
  15. package/dist/{chunk-UKDXCXW7.mjs → chunk-EDLTMSNY.mjs} +1 -1
  16. package/dist/{chunk-I4E63NIC.mjs → chunk-FWCSY2DS.mjs} +14 -1
  17. package/dist/{chunk-VPNRDXIA.mjs → chunk-HOMXEE3M.mjs} +17 -11
  18. package/dist/{chunk-V75V7BT2.mjs → chunk-RUKZC3ON.mjs} +3 -3
  19. package/dist/{chunk-7NXI6ZWX.mjs → chunk-VEJNRS4B.mjs} +9 -6
  20. package/dist/{chunk-HUGLYKD6.mjs → chunk-VKE5ZW7Y.mjs} +28 -10
  21. package/dist/chunk-VV2ML6TM.mjs +156 -0
  22. package/dist/{chunk-CWQQHAF6.mjs → chunk-W2PQR3UK.mjs} +4 -6
  23. package/dist/handlers/index.d.mts +2 -2
  24. package/dist/handlers/index.d.ts +2 -2
  25. package/dist/handlers/index.js +877 -625
  26. package/dist/handlers/index.mjs +3 -4
  27. package/dist/index-BJ8CUArE.d.mts +114 -0
  28. package/dist/index-DtNprGGj.d.ts +114 -0
  29. package/dist/index.d.mts +2 -2
  30. package/dist/index.d.ts +2 -2
  31. package/dist/index.js +67 -58
  32. package/dist/index.mjs +74 -47
  33. package/dist/server.d.mts +601 -17
  34. package/dist/server.d.ts +601 -17
  35. package/dist/server.js +1426 -708
  36. package/dist/server.mjs +429 -18
  37. package/package.json +11 -2
  38. package/src/app/constants.tsx +220 -0
  39. package/src/app/page.tsx +193 -363
  40. package/src/app/types.ts +30 -0
  41. package/src/components/ChatWindow.tsx +3 -11
  42. package/src/config/ConfigBuilder.ts +373 -0
  43. package/src/config/EmbeddingStrategy.ts +147 -0
  44. package/src/config/serverConfig.ts +51 -18
  45. package/src/core/ConfigValidator.ts +67 -50
  46. package/src/core/Pipeline.ts +28 -26
  47. package/src/core/PluginManager.ts +277 -0
  48. package/src/core/ProviderHealthCheck.ts +75 -139
  49. package/src/core/ProviderRegistry.ts +38 -15
  50. package/src/providers/vectordb/ChromaDBProvider.ts +37 -12
  51. package/src/providers/vectordb/MilvusProvider.ts +25 -10
  52. package/src/providers/vectordb/MultiTablePostgresProvider.ts +164 -0
  53. package/src/providers/vectordb/PineconeProvider.ts +17 -2
  54. package/src/providers/vectordb/QdrantProvider.ts +3 -6
  55. package/src/providers/vectordb/RedisProvider.ts +34 -11
  56. package/src/providers/vectordb/UniversalVectorProvider.ts +220 -0
  57. package/src/providers/vectordb/WeaviateProvider.ts +17 -10
  58. package/src/server.ts +29 -10
  59. package/dist/LLMFactory-JFOY2V4X.mjs +0 -8
  60. package/dist/chunk-JI6VD5TJ.mjs +0 -387
  61. package/dist/index-Bx182KKn.d.ts +0 -64
  62. package/dist/index-Ck2pt7-8.d.mts +0 -64
  63. package/src/test-refactor.ts +0 -59
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  ChromaDBProvider
3
- } from "./chunk-HUGLYKD6.mjs";
3
+ } from "./chunk-VKE5ZW7Y.mjs";
4
4
  import "./chunk-VOIWNO5O.mjs";
5
- import "./chunk-I4E63NIC.mjs";
5
+ import "./chunk-FWCSY2DS.mjs";
6
6
  export {
7
7
  ChromaDBProvider
8
8
  };
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  MilvusProvider
3
- } from "./chunk-7NXI6ZWX.mjs";
3
+ } from "./chunk-VEJNRS4B.mjs";
4
4
  import "./chunk-VOIWNO5O.mjs";
5
- import "./chunk-I4E63NIC.mjs";
5
+ import "./chunk-FWCSY2DS.mjs";
6
6
  export {
7
7
  MilvusProvider
8
8
  };
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  MongoDBProvider
3
- } from "./chunk-QEYVWVT5.mjs";
3
+ } from "./chunk-5HXNKSCR.mjs";
4
4
  import "./chunk-VOIWNO5O.mjs";
5
- import "./chunk-I4E63NIC.mjs";
5
+ import "./chunk-FWCSY2DS.mjs";
6
6
  export {
7
7
  MongoDBProvider
8
8
  };
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  PineconeProvider
3
- } from "./chunk-ZM6TYIDH.mjs";
3
+ } from "./chunk-BMHJTWSU.mjs";
4
4
  import "./chunk-VOIWNO5O.mjs";
5
- import "./chunk-I4E63NIC.mjs";
5
+ import "./chunk-FWCSY2DS.mjs";
6
6
  export {
7
7
  PineconeProvider
8
8
  };
@@ -2,7 +2,7 @@ import {
2
2
  PostgreSQLProvider
3
3
  } from "./chunk-IUTAZ7QR.mjs";
4
4
  import "./chunk-VOIWNO5O.mjs";
5
- import "./chunk-I4E63NIC.mjs";
5
+ import "./chunk-FWCSY2DS.mjs";
6
6
  export {
7
7
  PostgreSQLProvider
8
8
  };
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  QdrantProvider
3
- } from "./chunk-CWQQHAF6.mjs";
3
+ } from "./chunk-W2PQR3UK.mjs";
4
4
  import "./chunk-VOIWNO5O.mjs";
5
- import "./chunk-I4E63NIC.mjs";
5
+ import "./chunk-FWCSY2DS.mjs";
6
6
  export {
7
7
  QdrantProvider
8
8
  };
@@ -142,4 +142,4 @@ interface RagConfig {
142
142
  rag?: RAGConfig;
143
143
  }
144
144
 
145
- export type { ChatResponse as C, EmbeddingConfig as E, IngestDocument as I, LLMConfig as L, RAGConfig as R, UIConfig as U, VectorMatch as V, RagConfig as a, UpsertDocument as b, VectorDBConfig as c };
145
+ export type { ChatResponse as C, EmbeddingConfig as E, IngestDocument as I, LLMConfig as L, RAGConfig as R, UIConfig as U, VectorMatch as V, RagConfig as a, UpsertDocument as b, VectorDBConfig as c, VectorDBProvider as d, LLMProvider as e, EmbeddingProvider as f };
@@ -142,4 +142,4 @@ interface RagConfig {
142
142
  rag?: RAGConfig;
143
143
  }
144
144
 
145
- export type { ChatResponse as C, EmbeddingConfig as E, IngestDocument as I, LLMConfig as L, RAGConfig as R, UIConfig as U, VectorMatch as V, RagConfig as a, UpsertDocument as b, VectorDBConfig as c };
145
+ export type { ChatResponse as C, EmbeddingConfig as E, IngestDocument as I, LLMConfig as L, RAGConfig as R, UIConfig as U, VectorMatch as V, RagConfig as a, UpsertDocument as b, VectorDBConfig as c, VectorDBProvider as d, LLMProvider as e, EmbeddingProvider as f };
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  RedisProvider
3
- } from "./chunk-VPNRDXIA.mjs";
3
+ } from "./chunk-HOMXEE3M.mjs";
4
4
  import "./chunk-VOIWNO5O.mjs";
5
- import "./chunk-I4E63NIC.mjs";
5
+ import "./chunk-FWCSY2DS.mjs";
6
6
  export {
7
7
  RedisProvider
8
8
  };
@@ -0,0 +1,9 @@
1
+ import {
2
+ UniversalVectorProvider
3
+ } from "./chunk-VV2ML6TM.mjs";
4
+ import "./chunk-EDLTMSNY.mjs";
5
+ import "./chunk-VOIWNO5O.mjs";
6
+ import "./chunk-FWCSY2DS.mjs";
7
+ export {
8
+ UniversalVectorProvider
9
+ };
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  WeaviateProvider
3
- } from "./chunk-V75V7BT2.mjs";
3
+ } from "./chunk-RUKZC3ON.mjs";
4
4
  import "./chunk-VOIWNO5O.mjs";
5
- import "./chunk-I4E63NIC.mjs";
5
+ import "./chunk-FWCSY2DS.mjs";
6
6
  export {
7
7
  WeaviateProvider
8
8
  };