@exulu/backend 0.2.4 → 0.2.6
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 +5 -1
- package/dist/index.d.cts +5 -1
- package/dist/index.d.ts +5 -1
- package/dist/index.js +6 -2
- package/package.json +2 -2
package/dist/index.cjs
CHANGED
|
@@ -4046,7 +4046,11 @@ var ExuluJobs = {
|
|
|
4046
4046
|
};
|
|
4047
4047
|
var ExuluChunkers = {
|
|
4048
4048
|
chonkie: {
|
|
4049
|
-
sentence: import_chonkie.SentenceChunker
|
|
4049
|
+
sentence: import_chonkie.SentenceChunker,
|
|
4050
|
+
recursive: {
|
|
4051
|
+
create: import_chonkie.RecursiveChunker,
|
|
4052
|
+
rules: import_chonkie.RecursiveRules
|
|
4053
|
+
}
|
|
4050
4054
|
}
|
|
4051
4055
|
};
|
|
4052
4056
|
var ExuluDatabase = {
|
package/dist/index.d.cts
CHANGED
|
@@ -6,7 +6,7 @@ import { ToolAction, Agent } from '@mastra/core';
|
|
|
6
6
|
import { LanguageModelV1 } from 'ai';
|
|
7
7
|
import { Express } from 'express';
|
|
8
8
|
import { Knex } from 'knex';
|
|
9
|
-
import { SentenceChunker } from 'chonkie';
|
|
9
|
+
import { SentenceChunker, RecursiveChunker, RecursiveRules } from 'chonkie';
|
|
10
10
|
|
|
11
11
|
declare function redisClient(): Promise<{
|
|
12
12
|
client: RedisClientType | null;
|
|
@@ -497,6 +497,10 @@ declare const ExuluJobs: {
|
|
|
497
497
|
declare const ExuluChunkers: {
|
|
498
498
|
chonkie: {
|
|
499
499
|
sentence: typeof SentenceChunker;
|
|
500
|
+
recursive: {
|
|
501
|
+
create: typeof RecursiveChunker;
|
|
502
|
+
rules: typeof RecursiveRules;
|
|
503
|
+
};
|
|
500
504
|
};
|
|
501
505
|
};
|
|
502
506
|
declare const ExuluDatabase: {
|
package/dist/index.d.ts
CHANGED
|
@@ -6,7 +6,7 @@ import { ToolAction, Agent } from '@mastra/core';
|
|
|
6
6
|
import { LanguageModelV1 } from 'ai';
|
|
7
7
|
import { Express } from 'express';
|
|
8
8
|
import { Knex } from 'knex';
|
|
9
|
-
import { SentenceChunker } from 'chonkie';
|
|
9
|
+
import { SentenceChunker, RecursiveChunker, RecursiveRules } from 'chonkie';
|
|
10
10
|
|
|
11
11
|
declare function redisClient(): Promise<{
|
|
12
12
|
client: RedisClientType | null;
|
|
@@ -497,6 +497,10 @@ declare const ExuluJobs: {
|
|
|
497
497
|
declare const ExuluChunkers: {
|
|
498
498
|
chonkie: {
|
|
499
499
|
sentence: typeof SentenceChunker;
|
|
500
|
+
recursive: {
|
|
501
|
+
create: typeof RecursiveChunker;
|
|
502
|
+
rules: typeof RecursiveRules;
|
|
503
|
+
};
|
|
500
504
|
};
|
|
501
505
|
};
|
|
502
506
|
declare const ExuluDatabase: {
|
package/dist/index.js
CHANGED
|
@@ -3995,7 +3995,7 @@ var ExuluApp = class {
|
|
|
3995
3995
|
};
|
|
3996
3996
|
|
|
3997
3997
|
// src/index.ts
|
|
3998
|
-
import { SentenceChunker } from "chonkie";
|
|
3998
|
+
import { RecursiveChunker, SentenceChunker, RecursiveRules } from "chonkie";
|
|
3999
3999
|
var ExuluJobs = {
|
|
4000
4000
|
redis: redisClient,
|
|
4001
4001
|
jobs: {
|
|
@@ -4004,7 +4004,11 @@ var ExuluJobs = {
|
|
|
4004
4004
|
};
|
|
4005
4005
|
var ExuluChunkers = {
|
|
4006
4006
|
chonkie: {
|
|
4007
|
-
sentence: SentenceChunker
|
|
4007
|
+
sentence: SentenceChunker,
|
|
4008
|
+
recursive: {
|
|
4009
|
+
create: RecursiveChunker,
|
|
4010
|
+
rules: RecursiveRules
|
|
4011
|
+
}
|
|
4008
4012
|
}
|
|
4009
4013
|
};
|
|
4010
4014
|
var ExuluDatabase = {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@exulu/backend",
|
|
3
3
|
"author": "Qventu Bv.",
|
|
4
|
-
"version": "0.2.
|
|
4
|
+
"version": "0.2.6",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"private": false,
|
|
7
7
|
"publishConfig": {
|
|
@@ -55,7 +55,7 @@
|
|
|
55
55
|
"bcryptjs": "^3.0.2",
|
|
56
56
|
"body-parser": "^2.2.0",
|
|
57
57
|
"bullmq": "^5.48.1",
|
|
58
|
-
"chonkie": "^0.2.
|
|
58
|
+
"chonkie": "^0.2.6",
|
|
59
59
|
"class-validator": "^0.14.2",
|
|
60
60
|
"cors": "^2.8.5",
|
|
61
61
|
"csv-parse": "^5.6.0",
|