Dynamic Chunking
The ID of the knowledge base
The ID of the file
Page number (0-based)
0Number of chunks per page
20Successful Response
Get file chunks response model.
Not Found
Validation Error
Internal Server Error
The ID of the knowledge base
The ID of the file
The body of the request
The ID of the chunk that should follow the created chunk in the sequence.
The ID of the chunk that should precede the created chunk in the sequence.
Successful Response
Create chunk response model.
The updated next chunk.
The updated previous chunk.
Bad Request
Validation Error
Internal Server Error
The ID of the knowledge base
The ID of the file
Successful Response
Delete file chunks response model.
The ID of the deleted file.
Not Found
Validation Error
Internal Server Error
The ID of the knowledge base
The ID of the file
The ID of the chunk
Successful Response
Chunk response model.
The text content of the chunk.
The structure of the chunk.
uncategorizedNot Found
Validation Error
Internal Server Error
The ID of the knowledge base
The ID of the file
The ID of the chunk
The body of the request
The text content of the chunk.
The structure of the chunk.
uncategorizedSuccessful Response
Update chunk response model.
Not Found
Validation Error
Internal Server Error
The ID of the knowledge base
The ID of the file
The ID of the chunk
Successful Response
Delete chunk response model.
Not Found
Validation Error
Internal Server Error
The ID of the knowledge base
The ID of the file
The ID of the chunk
The chunk metadata to update
Successful Response
Update chunk response model.
Not Found
Validation Error
Internal Server Error
The ID of the knowledge base
The ID of the file
The list of chunk IDs to merge
The IDs of the chunks to merge.
Successful Response
Merge chunks response model.
The updated next chunk if it exists.
Bad Request
Not Found
Validation Error
Internal Server Error
The ID of the knowledge base
The type of the file. File type could be FILE or URL.
The ID of the file. If not provided, the file id will be generated.
The file to be processed.
The url of the file to be processed.
Successful Response
Validation Error
No content
The ID of the knowledge base
The input to be processed. Can be a file upload or a URL.
The type of the input. Can be FILE or URL.
The name of the input file. Required for non-UploadFile inputs when type is FILE.
The DPO processing configuration.
Successful Response
This class contains the model for the process file to chunks response.
Bad Request
Validation Error
Internal Server Error
The ID of the knowledge base
The ID of the file
The ID of the chunk
The split indices
The index of the split point. Valid range: 1 to length-1
Successful Response
Split chunk response model.
The updated next chunk.
Bad Request
Not Found
Validation Error
Internal Server Error
Last updated