Dialogflow V2 API - Class Google::Cloud::Dialogflow::V2::SmartReplyAnswer (v0.15.2)

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

Represents a smart reply 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) — Smart reply confidence. The system's confidence score that this reply 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) — Smart reply confidence. The system's confidence score that this reply is a good match for this conversation, as a value from 0.0 (completely uncertain) to 1.0 (completely certain).
Returns
  • (::Float) — Smart reply confidence. The system's confidence score that this reply is a good match for this conversation, as a value from 0.0 (completely uncertain) to 1.0 (completely certain).

#reply

def reply() -> ::String
Returns
  • (::String) — The content of the reply.

#reply=

def reply=(value) -> ::String
Parameter
  • value (::String) — The content of the reply.
Returns
  • (::String) — The content of the reply.