From 3644575dc5d7c97c5d9252adf6e792a8113784b3 Mon Sep 17 00:00:00 2001 From: zAlweNy26 Date: Tue, 15 Oct 2024 20:57:57 +0000 Subject: [PATCH] Build package --- dist/index.d.mts | 12 ++++++++++++ dist/index.d.ts | 12 ++++++++++++ 2 files changed, 24 insertions(+) diff --git a/dist/index.d.mts b/dist/index.d.mts index 8744eb1..9c8dbaf 100644 --- a/dist/index.d.mts +++ b/dist/index.d.mts @@ -403,6 +403,18 @@ declare class PluginsService { type BodyUploadFile = { file: Blob; + /** + * Maximum length of each chunk after the document is split (in tokens) + */ + chunk_size?: (number | null); + /** + * Chunk overlap (in tokens) + */ + chunk_overlap?: (number | null); + /** + * Metadata to be stored with each chunk (e.g. author, category, etc.). Since we are passing this along side form data, must be a JSON string. + */ + metadata?: string; }; type BodyUploadMemory = { diff --git a/dist/index.d.ts b/dist/index.d.ts index 8744eb1..9c8dbaf 100644 --- a/dist/index.d.ts +++ b/dist/index.d.ts @@ -403,6 +403,18 @@ declare class PluginsService { type BodyUploadFile = { file: Blob; + /** + * Maximum length of each chunk after the document is split (in tokens) + */ + chunk_size?: (number | null); + /** + * Chunk overlap (in tokens) + */ + chunk_overlap?: (number | null); + /** + * Metadata to be stored with each chunk (e.g. author, category, etc.). Since we are passing this along side form data, must be a JSON string. + */ + metadata?: string; }; type BodyUploadMemory = {