RagFileTransformationConfig

Specifies the transformation config for RagFiles.

Fields
ragFileChunkingConfigobject (RagFileChunkingConfig)

Specifies the chunking config for RagFiles.

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

RagFileChunkingConfig

Specifies the size and overlap of chunks for RagFiles.

Fields
chunking_configUnion type
Specifies the chunking config for RagFiles.chunking_config can be only one of the following:
fixedLengthChunkingobject (FixedLengthChunking)

Specifies the fixed length chunking config.

JSON representation
{// chunking_config"fixedLengthChunking":{object (FixedLengthChunking)}// Union type}

FixedLengthChunking

Specifies the fixed length chunking config.

Fields
chunkSizeinteger

The size of the chunks.

chunkOverlapinteger

The overlap between chunks.

JSON representation
{"chunkSize":integer,"chunkOverlap":integer}

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

Last updated 2025-06-27 UTC.