Dialogflow V2 API - Class Google::Cloud::Dialogflow::V2::KnowledgeAssistAnswer::KnowledgeAnswer::GenerativeSource::Snippet (v1.2.0)

Reference documentation and code samples for the Dialogflow V2 API class Google::Cloud::Dialogflow::V2::KnowledgeAssistAnswer::KnowledgeAnswer::GenerativeSource::Snippet.

Snippet Source for a Generative Prediction.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#text

def text() -> ::String
Returns
  • (::String) — Text taken from that URI.

#text=

def text=(value) -> ::String
Parameter
  • value (::String) — Text taken from that URI.
Returns
  • (::String) — Text taken from that URI.

#title

def title() -> ::String
Returns
  • (::String) — Title of the document.

#title=

def title=(value) -> ::String
Parameter
  • value (::String) — Title of the document.
Returns
  • (::String) — Title of the document.

#uri

def uri() -> ::String
Returns
  • (::String) — URI the data is sourced from.

#uri=

def uri=(value) -> ::String
Parameter
  • value (::String) — URI the data is sourced from.
Returns
  • (::String) — URI the data is sourced from.