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
}