public enum GroundingSettings.GroundingType extends Enum<GroundingSettings.GroundingType> implements ProtocolMessageEnumGrounding type options.
Protobuf enum google.cloud.documentai.v1beta3.GroundingSettings.GroundingType
Implements
ProtocolMessageEnumStatic Fields |
|
|---|---|
| Name | Description |
GROUNDING_TYPE_UNSPECIFIED |
The default value. Behaves like HARD. |
GROUNDING_TYPE_UNSPECIFIED_VALUE |
The default value. Behaves like HARD. |
HARD |
Requires exact match with OCR text for extractions. |
HARD_VALUE |
Requires exact match with OCR text for extractions. |
NO_GROUNDING |
LLM extractions are used without strict OCR matching. Bounding boxes may be approximated or absent. |
NO_GROUNDING_VALUE |
LLM extractions are used without strict OCR matching. Bounding boxes may be approximated or absent. |
OCR_RELAXED |
Allows for minor discrepancies between LLM output and OCR text. |
OCR_RELAXED_VALUE |
Allows for minor discrepancies between LLM output and OCR text. |
UNRECOGNIZED |
|
Static Methods |
|
|---|---|
| Name | Description |
forNumber(int value) |
|
getDescriptor() |
|
internalGetValueMap() |
|
valueOf(Descriptors.EnumValueDescriptor desc) |
|
valueOf(int value) |
Deprecated. Use #forNumber(int) instead. |
valueOf(String name) |
|
values() |
|
Methods |
|
|---|---|
| Name | Description |
getDescriptorForType() |
|
getNumber() |
|
getValueDescriptor() |
|