@exulu/backend 1.55.0 → 1.56.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.cjs +297 -146
- package/dist/index.d.cts +4 -3
- package/dist/index.d.ts +4 -3
- package/dist/index.js +297 -146
- package/ee/agentic-retrieval/v3/classifier.ts +19 -5
- package/ee/agentic-retrieval/v3/context-sampler.ts +10 -1
- package/ee/agentic-retrieval/v3/index.ts +110 -28
- package/ee/agentic-retrieval/v3/tools.ts +13 -5
- package/ee/agentic-retrieval/v4/agent-loop.ts +208 -0
- package/ee/agentic-retrieval/v4/context-sampler.ts +79 -0
- package/ee/agentic-retrieval/v4/index.ts +690 -0
- package/ee/agentic-retrieval/v4/types.ts +58 -0
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -629,7 +629,7 @@ declare class ExuluContext {
|
|
|
629
629
|
item: Item;
|
|
630
630
|
job?: string;
|
|
631
631
|
}>;
|
|
632
|
-
updateItem: (item: Item, config: ExuluConfig, user?: number, role?: string, generateEmbeddingsOverwrite?: boolean) => Promise<{
|
|
632
|
+
updateItem: (item: Item, config: ExuluConfig, user?: number, role?: string, generateEmbeddingsOverwrite?: boolean, runProcessorOverwrite?: boolean) => Promise<{
|
|
633
633
|
item: Item;
|
|
634
634
|
job?: string;
|
|
635
635
|
}>;
|
|
@@ -2044,14 +2044,15 @@ declare function documentProcessor({ file, name, config }: {
|
|
|
2044
2044
|
* - Context example records sampled at init and cached
|
|
2045
2045
|
* - Strategy-specific instructions and tool sets
|
|
2046
2046
|
*/
|
|
2047
|
-
declare function createAgenticRetrievalToolV3({ contexts, instructions: adminInstructions, rerankers, user, role, model,
|
|
2047
|
+
declare function createAgenticRetrievalToolV3({ contexts, instructions: adminInstructions, rerankers, user, role, model, preselected, memoryItems }: {
|
|
2048
2048
|
contexts: ExuluContext[];
|
|
2049
2049
|
rerankers: ExuluReranker[];
|
|
2050
2050
|
user?: User;
|
|
2051
2051
|
role?: string;
|
|
2052
2052
|
model?: LanguageModel;
|
|
2053
2053
|
instructions?: string;
|
|
2054
|
-
|
|
2054
|
+
preselected?: string[];
|
|
2055
|
+
memoryItems?: Item[];
|
|
2055
2056
|
}): ExuluTool | undefined;
|
|
2056
2057
|
|
|
2057
2058
|
type JOB_STATUS = "completed" | "failed" | "delayed" | "active" | "waiting" | "paused" | "stuck";
|
package/dist/index.d.ts
CHANGED
|
@@ -629,7 +629,7 @@ declare class ExuluContext {
|
|
|
629
629
|
item: Item;
|
|
630
630
|
job?: string;
|
|
631
631
|
}>;
|
|
632
|
-
updateItem: (item: Item, config: ExuluConfig, user?: number, role?: string, generateEmbeddingsOverwrite?: boolean) => Promise<{
|
|
632
|
+
updateItem: (item: Item, config: ExuluConfig, user?: number, role?: string, generateEmbeddingsOverwrite?: boolean, runProcessorOverwrite?: boolean) => Promise<{
|
|
633
633
|
item: Item;
|
|
634
634
|
job?: string;
|
|
635
635
|
}>;
|
|
@@ -2044,14 +2044,15 @@ declare function documentProcessor({ file, name, config }: {
|
|
|
2044
2044
|
* - Context example records sampled at init and cached
|
|
2045
2045
|
* - Strategy-specific instructions and tool sets
|
|
2046
2046
|
*/
|
|
2047
|
-
declare function createAgenticRetrievalToolV3({ contexts, instructions: adminInstructions, rerankers, user, role, model,
|
|
2047
|
+
declare function createAgenticRetrievalToolV3({ contexts, instructions: adminInstructions, rerankers, user, role, model, preselected, memoryItems }: {
|
|
2048
2048
|
contexts: ExuluContext[];
|
|
2049
2049
|
rerankers: ExuluReranker[];
|
|
2050
2050
|
user?: User;
|
|
2051
2051
|
role?: string;
|
|
2052
2052
|
model?: LanguageModel;
|
|
2053
2053
|
instructions?: string;
|
|
2054
|
-
|
|
2054
|
+
preselected?: string[];
|
|
2055
|
+
memoryItems?: Item[];
|
|
2055
2056
|
}): ExuluTool | undefined;
|
|
2056
2057
|
|
|
2057
2058
|
type JOB_STATUS = "completed" | "failed" | "delayed" | "active" | "waiting" | "paused" | "stuck";
|