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 = {