RagFileTransformationConfig

Specifies the transformation config for RagFiles.

Fields
ragFileChunkingConfig object (RagFileChunkingConfig )

Specifies the chunking config for RagFiles.

JSON representation
{
 "ragFileChunkingConfig": {
 object (RagFileChunkingConfig )
 }
}

RagFileChunkingConfig

Specifies the size and overlap of chunks for RagFiles.

Fields
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
{
 // 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
}

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年06月27日 UTC.