OptionalBlockMaximum characters of each block shown to the model. Boundary detection only needs the opening of a block, so truncating keeps the prompt cheap on long documents. Default: 240.
OptionalMaxMaximum blocks sent in one pass. Default: 300.
OptionalMaxHard ceiling on tokens per text segment. The base class splits any
oversized segment via TextChunker so no segmenter can exceed it.
Default: 512.
OptionalMinSegments whose text estimates below this many tokens are merged forward into the next segment, preventing a spray of near-empty vectors. Default: 0 (off).
OptionalMinSkip the LLM call entirely when the document estimates below this many tokens — short documents rarely contain multiple topics and the call would not repay its cost. Default: 750.
OptionalModelOptional model override (an MJ: AI Models ID) for the boundary pass.
OptionalOverlapOverlap tokens applied when an oversized segment must be split. Default: 10% of max.
OptionalPromptName of the MJ: AI Prompts record to run. Default: SEMANTIC_SEGMENTATION_PROMPT_NAME.
Options specific to SemanticTextSegmenter.