FormExtractionParams

Parameters to control form extraction behavior.

JSON representation
{
  "enabled": boolean,
  "keyValuePairHints": [
    {
      object (KeyValuePairHint)
    }
  ],
  "modelVersion": string
}
Fields
enabled

boolean

Whether to enable form extraction.

keyValuePairHints[]

object (KeyValuePairHint)

Reserved for future use.

modelVersion

string

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

string

The key text for the hint.

valueTypes[]

string

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.