View Source GoogleApi.AIPlatform.V1.Model.GoogleCloudAiplatformV1SchemaPredictPredictionTextExtractionPredictionResult (google_api_ai_platform v0.13.0)

Prediction output format for Text Extraction.

Attributes

  • confidences (type: list(number()), default: nil) - The Model's confidences in correctness of the predicted IDs, higher value means higher confidence. Order matches the Ids.
  • displayNames (type: list(String.t), default: nil) - The display names of the AnnotationSpecs that had been identified, order matches the IDs.
  • ids (type: list(String.t), default: nil) - The resource IDs of the AnnotationSpecs that had been identified, ordered by the confidence score descendingly.
  • textSegmentEndOffsets (type: list(String.t), default: nil) - The end offsets, inclusive, of the text segment in which the AnnotationSpec has been identified. Expressed as a zero-based number of characters as measured from the start of the text snippet.
  • textSegmentStartOffsets (type: list(String.t), default: nil) - The start offsets, inclusive, of the text segment in which the AnnotationSpec has been identified. Expressed as a zero-based number of characters as measured from the start of the text snippet.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() ::
  %GoogleApi.AIPlatform.V1.Model.GoogleCloudAiplatformV1SchemaPredictPredictionTextExtractionPredictionResult{
    confidences: [number()] | nil,
    displayNames: [String.t()] | nil,
    ids: [String.t()] | nil,
    textSegmentEndOffsets: [String.t()] | nil,
    textSegmentStartOffsets: [String.t()] | nil
  }

Functions

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

Unwrap a decoded JSON object into its complex fields.