GoogleApi.AIPlatform.V1.Model.GoogleCloudAiplatformV1Claim (google_api_ai_platform v0.27.0)

View Source

Claim that is extracted from the input text and facts that support it.

Attributes

  • endIndex (type: integer(), default: nil) - Index in the input text where the claim ends (exclusive).
  • factIndexes (type: list(integer()), default: nil) - Indexes of the facts supporting this claim.
  • score (type: number(), default: nil) - Confidence score of this corroboration.
  • startIndex (type: integer(), default: nil) - Index in the input text where the claim starts (inclusive).

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() :: %GoogleApi.AIPlatform.V1.Model.GoogleCloudAiplatformV1Claim{
  endIndex: integer() | nil,
  factIndexes: [integer()] | nil,
  score: number() | nil,
  startIndex: integer() | nil
}

Functions

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.