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

Snippet Source for a Generative Prediction.

Attributes

  • 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.V3.Model.GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswerGenerativeSourceSnippet{
    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.