DataStoreDocumentProcessingConfigChunkingConfigLayoutBasedChunkingConfig class
Constructors
-
DataStoreDocumentProcessingConfigChunkingConfigLayoutBasedChunkingConfig({Input<
int?> ? chunkSize, Input<bool?> ? includeAncestorHeadings}) -
Creates a new DataStoreDocumentProcessingConfigChunkingConfigLayoutBasedChunkingConfig.
chunkSizeThe token size limit for each chunk.includeAncestorHeadingsWhether to include appending different levels of headings to chunks from the middle of the document to prevent context loss.const -
DataStoreDocumentProcessingConfigChunkingConfigLayoutBasedChunkingConfig.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