Document AI V1beta3 API - Module Google::Cloud::DocumentAI::V1beta3::GroundingSettings::GroundingType (v0.51.0)

Reference documentation and code samples for the Document AI V1beta3 API module Google::Cloud::DocumentAI::V1beta3::GroundingSettings::GroundingType.

Grounding type options.

Constants

GROUNDING_TYPE_UNSPECIFIED

value: 0
The default value. Behaves like HARD.

HARD

value: 1
Requires exact match with OCR text for extractions.

OCR_RELAXED

value: 2
Allows for minor discrepancies between LLM output and OCR text.

NO_GROUNDING

value: 3
LLM extractions are used without strict OCR matching. Bounding boxes may be approximated or absent.