Parameters to control form extraction behavior.
JSON representation |
---|
{
"enabled": boolean,
"keyValuePairHints": [
{
object ( |
Fields | |
---|---|
enabled |
Whether to enable form extraction. |
keyValuePairHints[] |
Reserved for future use. |
modelVersion |
Model version of the form extraction system. Default is "builtin/stable". Specify "builtin/latest" for the latest model. For custom form models, specify: "custom/{model_name}". Model name format is "bucket_name/path/to/modeldir" corresponding to "gs://bucket_name/path/to/modeldir" where annotated examples are stored. |
KeyValuePairHint
Reserved for future use.
JSON representation |
---|
{ "key": string, "valueTypes": [ string ] } |
Fields | |
---|---|
key |
The key text for the hint. |
valueTypes[] |
Type of the value. This is case-insensitive, and could be one of: ADDRESS, LOCATION, ORGANIZATION, PERSON, PHONE_NUMBER, ID, NUMBER, EMAIL, PRICE, TERMS, DATE, NAME. Types not in this list will be ignored. |