View Source GoogleApi.DocumentAI.V1.Model.GoogleCloudDocumentaiV1beta2DocumentLabel (google_api_document_ai v0.32.2)

Label attaches schema information and/or other metadata to segments within a Document. Multiple Labels on a single field can denote either different labels, different instances of the same label created at different times, or some combination of both.


  • automlModel (type: String.t, default: nil) - Label is generated AutoML model. This field stores the full resource name of the AutoML model. Format: projects/{project-id}/locations/{location-id}/models/{model-id}
  • confidence (type: number(), default: nil) - Confidence score between 0 and 1 for label assignment.
  • name (type: String.t, default: nil) - Name of the label. When the label is generated from AutoML Text Classification model, this field represents the name of the category.

Link to this section Summary


Unwrap a decoded JSON object into its complex fields.

Link to this section Types


t() :: %GoogleApi.DocumentAI.V1.Model.GoogleCloudDocumentaiV1beta2DocumentLabel{
  automlModel: String.t() | nil,
  confidence: number() | nil,
  name: String.t() | nil

Link to this section Functions


decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.