Class ChunkingConfig (2.29.0)

ChunkingConfig(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Serving config for chunking.

Attributes

Name Description
chunk_size int
Optional. The chunk sizes to use when splitting documents, in order of level.
include_ancestor_headings bool
Optional. Whether or not to include ancestor headings when splitting.