setIncludeSourceLocations

public final void setIncludeSourceLocations(boolean value)

Whether extraction grounds each extracted field back to its source location in the document — the metadata node of result.json with per-field match labels and source bounding boxes. Defaults to . Turn off to cut model token usage when only the extracted values matter: grounding mirrors the schema in the structured-output request so the model also returns per-field source ids. A per-request includeSourceLocations action parameter overrides it.

Parameters

value

The value to set for the IncludeSourceLocations property.