Class GroundingType (3.17.0)

GroundingType(value)

Grounding type options.

Enums

Name Description
GROUNDING_TYPE_UNSPECIFIED The default value. Behaves like HARD.
HARD Requires exact match with OCR text for extractions.
OCR_RELAXED Allows for minor discrepancies between LLM output and OCR text.
NO_GROUNDING LLM extractions are used without strict OCR matching. Bounding boxes may be approximated or absent.