class Aws::BedrockAgent::Types::ChunkingConfiguration
@see docs.aws.amazon.com/goto/WebAPI/bedrock-agent-2023-06-05/ChunkingConfiguration AWS API Documentation
@return [Types::SemanticChunkingConfiguration]
language processing.
groups of similar content derived from the text with natural
chunking splits a document into into smaller documents based on
Settings for semantic document chunking for a data source. Semantic
@!attribute [rw] semantic_chunking_configuration
@return [Types::HierarchicalChunkingConfiguration]
smaller chunks derived from the first layer.
the first layer contains large chunks, and the second layer contains
Hierarchical chunking splits documents into layers of chunks where
Settings for hierarchical document chunking for a data source.
@!attribute [rw] hierarchical_chunking_configuration
@return [Types::FixedSizeChunkingConfiguration]
the ‘chunkingStrategy` as `NONE`, exclude this field.
Configurations for when you choose fixed-size chunking. If you set
@!attribute [rw] fixed_size_chunking_configuration
@return [String]
splitting them into separate files.
choose this option, you may want to pre-process your documents by
* `NONE` – Amazon Bedrock treats each file as one chunk. If you
similar content derived with natural language processing.
* `SEMANTIC` – Split documents into chunks based on groups of
smaller chunks derived from the first layer.
first layer contains large chunks, and the second layer contains
* `HIERARCHICAL` – Split documents into layers of chunks where the
`fixedSizeChunkingConfiguration`.
of the approximate size that you set in the
* `FIXED_SIZE` – Amazon Bedrock splits your source data into chunks
file corresponds to a chunk.
want to pre-process your files by splitting them up such that each
options for chunking your data. If you opt for `NONE`, then you may
knowledge base that it belongs to is queried. You have the following
refers to an excerpt from a data source that is returned when the
Knowledge base can split your source data into chunks. A chunk
@!attribute [rw] chunking_strategy
knowledge base that it belongs to is queried.
refers to an excerpt from a data source that is returned when the
Details about how to chunk the documents in the data source. A chunk