Reference documentation and code samples for the Google Cloud Ai Platform V1 Client class FixedLengthChunking.
Specifies the fixed length chunking config.
Generated from protobuf message google.cloud.aiplatform.v1.RagFileChunkingConfig.FixedLengthChunking
Namespace
Google \ Cloud \ AIPlatform \ V1 \ RagFileChunkingConfigMethods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ chunk_size |
int
The size of the chunks. |
↳ chunk_overlap |
int
The overlap between chunks. |
getChunkSize
The size of the chunks.
Returns | |
---|---|
Type | Description |
int |
setChunkSize
The size of the chunks.
Parameter | |
---|---|
Name | Description |
var |
int
|
Returns | |
---|---|
Type | Description |
$this |
getChunkOverlap
The overlap between chunks.
Returns | |
---|---|
Type | Description |
int |
setChunkOverlap
The overlap between chunks.
Parameter | |
---|---|
Name | Description |
var |
int
|
Returns | |
---|---|
Type | Description |
$this |