Controls the segmentation strategy
segmentation_strategy
for each document. This strategy controls how the document is segmented.
We have two strategies:
LayoutAnalysis
: Run our state-of-the-art layout analysis model to identify the layout elements. This is the default strategy.Page
: Each segment is a page.LayoutAnalysis
strategy. This will give you the best results.
Use Page
for:
Page
+ VLM can generate surprisingly good HTML and markdown (see Segment Processing).