Interface ArrayStrategy.TypeStage
-
- All Known Implementing Classes:
ArrayStrategy.Builder
- Enclosing class:
- ArrayStrategy
public static interface ArrayStrategy.TypeStage
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ArrayStrategy.Builderfrom(ArrayStrategy other)ArrayStrategy._FinalStagetype(ArrayStrategyType type)The strategy type for handling large array use cases.
-
-
-
Method Detail
-
type
ArrayStrategy._FinalStage type(@NotNull ArrayStrategyType type)
The strategy type for handling large array use cases. For most use cases this should be left null, or should be set to
large_array_heuristics. If you're unsure of what your use case needs, reach out to the Extend team for help.-
large_array_heuristics: Optimized for documents with very large arrays, but where latency matters.This strategy uses specialized heuristics around chunking, tables, and merging to handle large arrays efficiently over large documents.
-
large_array_max_context: Optimizes for accuracy over latency in documents with very large arrays.This strategy will do multiple passes through the entire document to ensure there is no context loss across any chunks/pages, maximizing accuracy for complex array extraction, but adding material latency.
-
large_array_overlap_context: Balances accuracy and latency in documents with very large arrays.This strategy will always maintain surrounding/overlapping page context for every chunk/page that is extracted, eliminating array failure modes from context loss across page boundaries.
-
-
from
ArrayStrategy.Builder from(ArrayStrategy other)
-
-