setStreamCandidateLabels

public final void setStreamCandidateLabels(String value)

JSON array of candidate document-type labels, each {"key": string, "description": string|null} (at least 2 entries). Setting this classifies every page against these labels (one 'choice' question per page, fused into the same pass that decides boundaries) and splits wherever the page document type changes, in addition to the detected boundaries, so every segment has one document type. Labels can therefore only add splits. Zero-shot, not a trained task. Requires . Left unset (the default), no classification runs and the split is boundaries only.

Parameters

value

The value to set for the StreamCandidateLabels property.