Specifies the size and overlap of chunks for RagFiles.
chunkSize
(deprecated)integer
The size of the chunks.
chunkOverlap
(deprecated)integer
The overlap between chunks.
chunking_configUnion type
Specifies the chunking config for RagFiles. The following is a list of mutually exclusive fields. At most one of the fields will be set in a response:
Specifies the fixed length chunking config.
End of mutually exclusive fields.
| JSON representation |
|---|
{
"chunkSize": integer,
"chunkOverlap": integer,
// chunking_config
"fixedLengthChunking": {
object ( |
FixedLengthChunking
Specifies the fixed length chunking config.
chunkSizeinteger
The size of the chunks.
chunkOverlapinteger
The overlap between chunks.
| JSON representation |
|---|
{ "chunkSize": integer, "chunkOverlap": integer } |