Google Cloud Ai Platform V1 Client - Class RagFileChunkingConfig (1.13.1)

Reference documentation and code samples for the Google Cloud Ai Platform V1 Client class RagFileChunkingConfig.

Specifies the size and overlap of chunks for RagFiles.

Generated from protobuf message google.cloud.aiplatform.v1.RagFileChunkingConfig

Namespace

Google \ Cloud \ AIPlatform \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ fixed_length_chunking RagFileChunkingConfig\FixedLengthChunking

Specifies the fixed length chunking config.

getFixedLengthChunking

Specifies the fixed length chunking config.

Returns
Type Description
RagFileChunkingConfig\FixedLengthChunking|null

hasFixedLengthChunking

setFixedLengthChunking

Specifies the fixed length chunking config.

Parameter
Name Description
var RagFileChunkingConfig\FixedLengthChunking
Returns
Type Description
$this

getChunkingConfig

Returns
Type Description
string