RagFileChunkingConfig

Specifies the size and overlap of chunks for RagFiles.

Fields
chunkSize
(deprecated)
integer

The size of the chunks.

chunkOverlap
(deprecated)
integer

The overlap between chunks.

chunking_config Union type
Specifies the chunking config for RagFiles. chunking_config can be only one of the following:
fixedLengthChunking object ( FixedLengthChunking )

Specifies the fixed length chunking config.

JSON representation
 { 
 "chunkSize" 
 : 
 integer 
 , 
 "chunkOverlap" 
 : 
 integer 
 , 
 // chunking_config 
 "fixedLengthChunking" 
 : 
 { 
 object (  FixedLengthChunking 
 
) 
 } 
 // Union type 
 } 

FixedLengthChunking

Specifies the fixed length chunking config.

Fields
chunkSize integer

The size of the chunks.

chunkOverlap integer

The overlap between chunks.

JSON representation
 { 
 "chunkSize" 
 : 
 integer 
 , 
 "chunkOverlap" 
 : 
 integer 
 } 
Design a Mobile Site
View Site in Mobile | Classic
Share by: