@exulu/backend 5.7.2 → 5.8.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/{catalog-3QLU2G7R.js → catalog-4P3TKOV7.js} +2 -1
- package/dist/chunk-4W3V7IHR.js +1166 -0
- package/dist/chunk-6URU62NI.js +54 -0
- package/dist/{chunk-4PDWNVNT.js → chunk-F534XOQR.js} +3 -50
- package/dist/{chunk-RELZZYVA.js → chunk-NUEM3HMI.js} +460 -1471
- package/dist/chunk-RNZ4IDCT.js +946 -0
- package/dist/{convert-exulu-tools-to-ai-sdk-tools-L6SESYPH.js → convert-exulu-tools-to-ai-sdk-tools-3UCQOIY6.js} +4 -2
- package/dist/doc_processor-E5GCE2ZT.js +10 -0
- package/dist/index.cjs +29584 -29401
- package/dist/index.d.cts +118 -105
- package/dist/index.d.ts +118 -105
- package/dist/index.js +144 -1049
- package/ee/invoke-skills/binary-file-guard.test.ts +0 -0
- package/ee/invoke-skills/binary-file-guard.ts +0 -0
- package/ee/python/documents/processing/doc_processor.ts +3 -3
- package/package.json +1 -1
|
Binary file
|
|
Binary file
|
|
@@ -17,7 +17,7 @@ import { resolveOcr } from '@SRC/exulu/resolve-ocr';
|
|
|
17
17
|
import type { ResolveOcrInput } from '@SRC/exulu/resolve-ocr';
|
|
18
18
|
import { resolveModel } from '@SRC/exulu/resolve-model';
|
|
19
19
|
|
|
20
|
-
type DocumentProcessorConfig = {
|
|
20
|
+
export type DocumentProcessorConfig = {
|
|
21
21
|
vlm?: {
|
|
22
22
|
/**
|
|
23
23
|
* LiteLLM model_name for the VLM page-validation pass (declared in
|
|
@@ -60,7 +60,7 @@ type DocumentProcessorConfig = {
|
|
|
60
60
|
}
|
|
61
61
|
}
|
|
62
62
|
|
|
63
|
-
type ProcessedPage = {
|
|
63
|
+
export type ProcessedPage = {
|
|
64
64
|
page: number;
|
|
65
65
|
content: string;
|
|
66
66
|
headings?: any;
|
|
@@ -68,7 +68,7 @@ type ProcessedPage = {
|
|
|
68
68
|
vlm_corrected_text?: string;
|
|
69
69
|
vlm_validated?: boolean;
|
|
70
70
|
}
|
|
71
|
-
type ProcessedDocument = ProcessedPage[];
|
|
71
|
+
export type ProcessedDocument = ProcessedPage[];
|
|
72
72
|
|
|
73
73
|
type ProcessorOutput = {
|
|
74
74
|
markdown: string,
|