Dialogflow V2 API - Class Google::Cloud::Dialogflow::V2::ArticleAnswer (v0.17.0)

Reference documentation and code samples for the Dialogflow V2 API class Google::Cloud::Dialogflow::V2::ArticleAnswer.

Represents article answer.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#answer_record

def answer_record() -> ::String
Returns
  • (::String) — The name of answer record, in the format of "projects/

#answer_record=

def answer_record=(value) -> ::String
Parameter
  • value (::String) — The name of answer record, in the format of "projects/
Returns
  • (::String) — The name of answer record, in the format of "projects/

#confidence

def confidence() -> ::Float
Returns
  • (::Float) — Article match confidence. The system's confidence score that this article is a good match for this conversation, as a value from 0.0 (completely uncertain) to 1.0 (completely certain).

#confidence=

def confidence=(value) -> ::Float
Parameter
  • value (::Float) — Article match confidence. The system's confidence score that this article is a good match for this conversation, as a value from 0.0 (completely uncertain) to 1.0 (completely certain).
Returns
  • (::Float) — Article match confidence. The system's confidence score that this article is a good match for this conversation, as a value from 0.0 (completely uncertain) to 1.0 (completely certain).

#metadata

def metadata() -> ::Google::Protobuf::Map{::String => ::String}
Returns
  • (::Google::Protobuf::Map{::String => ::String}) — A map that contains metadata about the answer and the document from which it originates.

#metadata=

def metadata=(value) -> ::Google::Protobuf::Map{::String => ::String}
Parameter
  • value (::Google::Protobuf::Map{::String => ::String}) — A map that contains metadata about the answer and the document from which it originates.
Returns
  • (::Google::Protobuf::Map{::String => ::String}) — A map that contains metadata about the answer and the document from which it originates.

#snippets

def snippets() -> ::Array<::String>
Returns
  • (::Array<::String>) — Article snippets.

#snippets=

def snippets=(value) -> ::Array<::String>
Parameter
  • value (::Array<::String>) — Article snippets.
Returns
  • (::Array<::String>) — Article snippets.

#title

def title() -> ::String
Returns
  • (::String) — The article title.

#title=

def title=(value) -> ::String
Parameter
  • value (::String) — The article title.
Returns
  • (::String) — The article title.

#uri

def uri() -> ::String
Returns
  • (::String) — The article URI.

#uri=

def uri=(value) -> ::String
Parameter
  • value (::String) — The article URI.
Returns
  • (::String) — The article URI.