Class HierarchicalChunkerOptions
java.lang.Object
ai.docling.serve.api.chunk.request.options.ChunkerOptions
ai.docling.serve.api.chunk.request.options.HierarchicalChunkerOptions
Options for configuring the hierarchical chunker.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classBuilder for creatingHierarchicalChunkerOptionsinstances. -
Method Summary
Modifier and TypeMethodDescriptionstatic @NonNull HierarchicalChunkerOptions.Builderbuilder()booleanInclude both raw_text and text (contextualized) in response.booleanUse markdown table format instead of triplets for table serialization.@NonNull HierarchicalChunkerOptions.Builder@NonNull StringtoString()
-
Method Details
-
builder
-
toBuilder
-
isUseMarkdownTables
public boolean isUseMarkdownTables()Use markdown table format instead of triplets for table serialization.- Returns:
- true if markdown tables should be used, false otherwise
-
isIncludeRawText
public boolean isIncludeRawText()Include both raw_text and text (contextualized) in response. If False, only text is included.- Returns:
- true if raw text should be included, false otherwise
-
toString
- Overrides:
toStringin classChunkerOptions
-