View Source GoogleApi.AIPlatform.V1.Model.CloudAiNlLlmProtoServiceFact (google_api_ai_platform v0.2.0)

A condense version of WorldFact (assistant/boq/lamda/factuality/proto/factuality.proto) to propagate the essential information about the fact used in factuality to the upstream caller.

Attributes

  • query (type: String.t, default: nil) - Query that is used to retrieve this fact.
  • summary (type: String.t, default: nil) - If present, the summary/snippet of the fact.
  • title (type: String.t, default: nil) - If present, it refers to the title of this fact.
  • url (type: String.t, default: nil) - If present, this URL links to the webpage of the fact.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.AIPlatform.V1.Model.CloudAiNlLlmProtoServiceFact{
  query: String.t() | nil,
  summary: String.t() | nil,
  title: String.t() | nil,
  url: String.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.