View Source GoogleApi.DocumentAI.V1beta2.Model.GoogleCloudDocumentaiV1beta2FormExtractionParams (google_api_document_ai v0.39.0)

Parameters to control form extraction behavior.

Attributes

  • enabled (type: boolean(), default: nil) - Whether to enable form extraction.
  • keyValuePairHints (type: list(GoogleApi.DocumentAI.V1beta2.Model.GoogleCloudDocumentaiV1beta2KeyValuePairHint.t), default: nil) - Reserved for future use.
  • modelVersion (type: String.t, default: nil) - 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.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() ::
  %GoogleApi.DocumentAI.V1beta2.Model.GoogleCloudDocumentaiV1beta2FormExtractionParams{
    enabled: boolean() | nil,
    keyValuePairHints:
      [
        GoogleApi.DocumentAI.V1beta2.Model.GoogleCloudDocumentaiV1beta2KeyValuePairHint.t()
      ]
      | nil,
    modelVersion: String.t() | nil
  }

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.