Skip to content

Latest commit

 

History

History
33 lines (18 loc) · 775 Bytes

HierarchicalChunkingProps.md

File metadata and controls

33 lines (18 loc) · 775 Bytes

@cdklabs/generative-ai-cdk-constructsDocs


@cdklabs/generative-ai-cdk-constructs / bedrock / HierarchicalChunkingProps

Interface: HierarchicalChunkingProps

Properties

maxChildTokenSize

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.


maxParentTokenSize

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.


overlapTokens

readonly overlapTokens: number

The overlap tokens between adjacent chunks.