View Source GoogleApi.Dialogflow.V3.Model.GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswerGenerativeSourceSnippet (google_api_dialogflow v0.88.3)

Snippet Source for a Generative Prediction.

Attributes

  • metadata (type: map(), default: nil) - Metadata of the document.
  • text (type: String.t, default: nil) - Text taken from that URI.
  • title (type: String.t, default: nil) - Title of the document.
  • uri (type: String.t, default: nil) - URI the data is sourced from.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() ::
  %GoogleApi.Dialogflow.V3.Model.GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswerGenerativeSourceSnippet{
    metadata: map() | nil,
    text: String.t() | nil,
    title: String.t() | nil,
    uri: String.t() | nil
  }

Functions

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.