@absolutejs/rag 0.7.0 → 0.8.0-beta.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -11674,6 +11674,7 @@ var resolveRAGHTMXRenderers = (custom = {}) => {
11674
11674
  };
11675
11675
  // src/chat/chat.ts
11676
11676
  import { Elysia, sse } from "elysia";
11677
+ import { websocket } from "elysia/websocket";
11677
11678
 
11678
11679
  // src/internal/constants.ts
11679
11680
  var HTTP_STATUS_OK = 200;
@@ -30181,7 +30182,7 @@ var ragChat = (config) => {
30181
30182
  }
30182
30183
  });
30183
30184
  };
30184
- const app = new Elysia().ws(path, {
30185
+ const app = new Elysia().use(websocket()).ws(path, {
30185
30186
  message: async (ws, raw) => {
30186
30187
  const message = parseAIMessage(raw);
30187
30188
  if (!message) {
@@ -36649,5 +36650,5 @@ export {
36649
36650
  addRAGEvaluationSuiteCase
36650
36651
  };
36651
36652
 
36652
- //# debugId=45A0B325404F956164756E2164756E21
36653
+ //# debugId=65744706CA60FC2164756E2164756E21
36653
36654
  //# sourceMappingURL=index.js.map