Class: Google::Cloud::Dialogflow::V2::FaqAnswer
- Inherits:
-
Object
- Object
- Google::Cloud::Dialogflow::V2::FaqAnswer
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/dialogflow/v2/participant.rb
Overview
Represents answer from "frequently asked questions".
Defined Under Namespace
Classes: MetadataEntry
Instance Attribute Summary collapse
-
#answer ⇒ ::String
The piece of text from the
source
knowledge base document. -
#answer_record ⇒ ::String
The name of answer record, in the format of "projects/
/locations/ /answerRecords/ ". -
#confidence ⇒ ::Float
The system's confidence score that this Knowledge answer is a good match for this conversational query, range from 0.0 (completely uncertain) to 1.0 (completely certain).
-
#metadata ⇒ ::Google::Protobuf::Map{::String => ::String}
A map that contains metadata about the answer and the document from which it originates.
-
#question ⇒ ::String
The corresponding FAQ question.
-
#source ⇒ ::String
Indicates which Knowledge Document this answer was extracted from.
Instance Attribute Details
#answer ⇒ ::String
Returns The piece of text from the source
knowledge base document.
832 833 834 835 836 837 838 839 840 841 842 843 844 |
# File 'proto_docs/google/cloud/dialogflow/v2/participant.rb', line 832 class FaqAnswer include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class MetadataEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#answer_record ⇒ ::String
Returns The name of answer record, in the format of
"projects/
832 833 834 835 836 837 838 839 840 841 842 843 844 |
# File 'proto_docs/google/cloud/dialogflow/v2/participant.rb', line 832 class FaqAnswer include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class MetadataEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#confidence ⇒ ::Float
Returns The system's confidence score that this Knowledge answer is a good match for this conversational query, range from 0.0 (completely uncertain) to 1.0 (completely certain).
832 833 834 835 836 837 838 839 840 841 842 843 844 |
# File 'proto_docs/google/cloud/dialogflow/v2/participant.rb', line 832 class FaqAnswer include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class MetadataEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#metadata ⇒ ::Google::Protobuf::Map{::String => ::String}
Returns A map that contains metadata about the answer and the document from which it originates.
832 833 834 835 836 837 838 839 840 841 842 843 844 |
# File 'proto_docs/google/cloud/dialogflow/v2/participant.rb', line 832 class FaqAnswer include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class MetadataEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#question ⇒ ::String
Returns The corresponding FAQ question.
832 833 834 835 836 837 838 839 840 841 842 843 844 |
# File 'proto_docs/google/cloud/dialogflow/v2/participant.rb', line 832 class FaqAnswer include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class MetadataEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#source ⇒ ::String
Returns Indicates which Knowledge Document this answer was extracted
from.
Format: projects/<Project ID>/locations/<Location
ID>/agent/knowledgeBases/<Knowledge Base ID>/documents/<Document ID>
.
832 833 834 835 836 837 838 839 840 841 842 843 844 |
# File 'proto_docs/google/cloud/dialogflow/v2/participant.rb', line 832 class FaqAnswer include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class MetadataEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |