View Source GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerKnowledgeAnswerGenerativeSourceSnippet (google_api_dialogflow v0.88.0)

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

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

Functions

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

Unwrap a decoded JSON object into its complex fields.