Class HierarchicalChunkerOptions.Builder
java.lang.Object
ai.docling.serve.api.chunk.request.options.HierarchicalChunkerOptions.Builder
- Enclosing class:
- HierarchicalChunkerOptions
Builder for creating
HierarchicalChunkerOptions instances.
Generated by Lombok's @Builder annotation.
Builder methods:
useMarkdownTables(boolean)- Set whether to use markdown table formatincludeRawText(boolean)- Set whether to include raw text in response
-
Method Summary
Modifier and TypeMethodDescription@NonNull HierarchicalChunkerOptionsbuild()@NonNull HierarchicalChunkerOptions.BuilderincludeRawText(boolean includeRawText) Include both raw_text and text (contextualized) in response.@NonNull StringtoString()@NonNull HierarchicalChunkerOptions.BuilderuseMarkdownTables(boolean useMarkdownTables) Use markdown table format instead of triplets for table serialization.
-
Method Details
-
useMarkdownTables
Use markdown table format instead of triplets for table serialization.- Parameters:
useMarkdownTables- true if markdown tables should be used, false otherwise- Returns:
this.
-
includeRawText
Include both raw_text and text (contextualized) in response. If False, only text is included.- Parameters:
includeRawText- true if raw text should be included, false otherwise- Returns:
this.
-
build
-
toString
-