setUnparseableOutputHandling

public final void setUnparseableOutputHandling(UnparseableOutputHandling value)

How extraction responds when the model's output never parses against the requested schema. keeps each API surface's own behavior (the SDK's structured-extraction API fails with a descriptive error; server pipelines return an empty result with warnings). Set or to force one behavior everywhere. A per-request onFailureReturnEmptyJson action parameter overrides it.

Parameters

value

The value to set for the UnparseableOutputHandling property.