GetDataStoreDocumentProcessingConfigChunkingConfigLayoutBasedChunkingConfig class

Constructors

GetDataStoreDocumentProcessingConfigChunkingConfigLayoutBasedChunkingConfig({required Input<int> chunkSize, required Input<bool> includeAncestorHeadings})
Creates a new GetDataStoreDocumentProcessingConfigChunkingConfigLayoutBasedChunkingConfig. chunkSize The token size limit for each chunk. includeAncestorHeadings Whether to include appending different levels of headings to chunks from the middle of the document to prevent context loss.
const
GetDataStoreDocumentProcessingConfigChunkingConfigLayoutBasedChunkingConfig.fromMap(Map<String, dynamic> map)
factory

Properties

chunkSize → Input<int>
The token size limit for each chunk. Supported values: 100-500 (inclusive). Default value: 500.
final
hashCode → int
The hash code for this object.
no setterinherited
includeAncestorHeadings → Input<bool>
Whether to include appending different levels of headings to chunks from the middle of the document to prevent context loss. Default value: False.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited