View Source GoogleApi.AIPlatform.V1.Model.GoogleCloudAiplatformV1CorroborateContentRequest (google_api_ai_platform v0.25.0)

Request message for CorroborateContent.

Attributes

  • content (type: GoogleApi.AIPlatform.V1.Model.GoogleCloudAiplatformV1Content.t, default: nil) - Optional. Input content to corroborate, only text format is supported for now.
  • facts (type: list(GoogleApi.AIPlatform.V1.Model.GoogleCloudAiplatformV1Fact.t), default: nil) - Optional. Facts used to generate the text can also be used to corroborate the text.
  • parameters (type: GoogleApi.AIPlatform.V1.Model.GoogleCloudAiplatformV1CorroborateContentRequestParameters.t, default: nil) - Optional. Parameters that can be set to override default settings per request.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() ::
  %GoogleApi.AIPlatform.V1.Model.GoogleCloudAiplatformV1CorroborateContentRequest{
    content:
      GoogleApi.AIPlatform.V1.Model.GoogleCloudAiplatformV1Content.t() | nil,
    facts:
      [GoogleApi.AIPlatform.V1.Model.GoogleCloudAiplatformV1Fact.t()] | nil,
    parameters:
      GoogleApi.AIPlatform.V1.Model.GoogleCloudAiplatformV1CorroborateContentRequestParameters.t()
      | nil
  }

Functions

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.