Skip to content

Commit

Permalink
Build package
Browse files Browse the repository at this point in the history
  • Loading branch information
zAlweNy26 authored and github-actions[bot] committed Oct 15, 2024
1 parent d4e7ee8 commit 3644575
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 0 deletions.
12 changes: 12 additions & 0 deletions dist/index.d.mts
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {
Expand Down
12 changes: 12 additions & 0 deletions dist/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {
Expand Down

0 comments on commit 3644575

Please sign in to comment.