Class: Google::Cloud::Dialogflow::V2::MessageAnnotation
- Inherits:
-
Object
- Object
- Google::Cloud::Dialogflow::V2::MessageAnnotation
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/dialogflow/v2/participant.rb
Overview
Represents the result of annotation for the message.
Instance Attribute Summary collapse
-
#contain_entities ⇒ ::Boolean
Indicates whether the text message contains entities.
-
#parts ⇒ ::Array<::Google::Cloud::Dialogflow::V2::AnnotatedMessagePart>
The collection of annotated message parts ordered by their position in the message.
Instance Attribute Details
#contain_entities ⇒ ::Boolean
Returns Indicates whether the text message contains entities.
977 978 979 980 |
# File 'proto_docs/google/cloud/dialogflow/v2/participant.rb', line 977 class MessageAnnotation include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#parts ⇒ ::Array<::Google::Cloud::Dialogflow::V2::AnnotatedMessagePart>
Returns The collection of annotated message parts ordered by their position in the message. You can recover the annotated message by concatenating [AnnotatedMessagePart.text].
977 978 979 980 |
# File 'proto_docs/google/cloud/dialogflow/v2/participant.rb', line 977 class MessageAnnotation include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |