View Source GoogleApi.AIPlatform.V1.Model.GoogleCloudAiplatformV1CorroborateContentResponse (google_api_ai_platform v0.24.0)

Response message for CorroborateContent.

Attributes

  • claims (type: list(GoogleApi.AIPlatform.V1.Model.GoogleCloudAiplatformV1Claim.t), default: nil) - Claims that are extracted from the input content and facts that support the claims.
  • corroborationScore (type: number(), default: nil) - Confidence score of corroborating content. Value is [0,1] with 1 is the most confidence.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() ::
  %GoogleApi.AIPlatform.V1.Model.GoogleCloudAiplatformV1CorroborateContentResponse{
    claims:
      [GoogleApi.AIPlatform.V1.Model.GoogleCloudAiplatformV1Claim.t()] | nil,
    corroborationScore: number() | nil
  }

Functions

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.