@cdklabs/generative-ai-cdk-constructs • Docs
@cdklabs/generative-ai-cdk-constructs / bedrock / HierarchicalChunkingProps
readonly
maxChildTokenSize:number
Maximum number of tokens that a child chunk can contain. Keep in mind the maximum chunk size depends on the embedding model chosen.
readonly
maxParentTokenSize:number
Maximum number of tokens that a parent chunk can contain. Keep in mind the maximum chunk size depends on the embedding model chosen.
readonly
overlapTokens:number
The overlap tokens between adjacent chunks.