RagFileChunkingConfig
Stay organized with collections
Save and categorize content based on your preferences.
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.
chunking_config can be only one of the following:Specifies the fixed length chunking config.
| 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 } |