Class: Google::Cloud::Dialogflow::V2::SummarizationSection

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/dialogflow/v2/generator.rb

Overview

Represents the section of summarization.

Defined Under Namespace

Modules: Type

Instance Attribute Summary collapse

Instance Attribute Details

#definition::String

Returns Optional. Definition of the section, for example, "what the customer needs help with or has question about.".

Returns:

  • (::String)

    Optional. Definition of the section, for example, "what the customer needs help with or has question about."



242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
# File 'proto_docs/google/cloud/dialogflow/v2/generator.rb', line 242

class SummarizationSection
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Type enum of the summarization sections.
  module Type
    # Undefined section type, does not return anything.
    TYPE_UNSPECIFIED = 0

    # What the customer needs help with or has question about.
    # Section name: "situation".
    SITUATION = 1

    # What the agent does to help the customer.
    # Section name: "action".
    ACTION = 2

    # Result of the customer service. A single word describing the result
    # of the conversation.
    # Section name: "resolution".
    RESOLUTION = 3

    # Reason for cancellation if the customer requests for a cancellation.
    # "N/A" otherwise.
    # Section name: "reason_for_cancellation".
    REASON_FOR_CANCELLATION = 4

    # "Unsatisfied" or "Satisfied" depending on the customer's feelings at
    # the end of the conversation.
    # Section name: "customer_satisfaction".
    CUSTOMER_SATISFACTION = 5

    # Key entities extracted from the conversation, such as ticket number,
    # order number, dollar amount, etc.
    # Section names are prefixed by "entities/".
    ENTITIES = 6

    # Customer defined sections.
    CUSTOMER_DEFINED = 7
  end
end

#key::String

Returns Optional. Name of the section, for example, "situation".

Returns:

  • (::String)

    Optional. Name of the section, for example, "situation".



242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
# File 'proto_docs/google/cloud/dialogflow/v2/generator.rb', line 242

class SummarizationSection
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Type enum of the summarization sections.
  module Type
    # Undefined section type, does not return anything.
    TYPE_UNSPECIFIED = 0

    # What the customer needs help with or has question about.
    # Section name: "situation".
    SITUATION = 1

    # What the agent does to help the customer.
    # Section name: "action".
    ACTION = 2

    # Result of the customer service. A single word describing the result
    # of the conversation.
    # Section name: "resolution".
    RESOLUTION = 3

    # Reason for cancellation if the customer requests for a cancellation.
    # "N/A" otherwise.
    # Section name: "reason_for_cancellation".
    REASON_FOR_CANCELLATION = 4

    # "Unsatisfied" or "Satisfied" depending on the customer's feelings at
    # the end of the conversation.
    # Section name: "customer_satisfaction".
    CUSTOMER_SATISFACTION = 5

    # Key entities extracted from the conversation, such as ticket number,
    # order number, dollar amount, etc.
    # Section names are prefixed by "entities/".
    ENTITIES = 6

    # Customer defined sections.
    CUSTOMER_DEFINED = 7
  end
end

#type::Google::Cloud::Dialogflow::V2::SummarizationSection::Type

Returns Optional. Type of the summarization section.

Returns:



242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
# File 'proto_docs/google/cloud/dialogflow/v2/generator.rb', line 242

class SummarizationSection
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Type enum of the summarization sections.
  module Type
    # Undefined section type, does not return anything.
    TYPE_UNSPECIFIED = 0

    # What the customer needs help with or has question about.
    # Section name: "situation".
    SITUATION = 1

    # What the agent does to help the customer.
    # Section name: "action".
    ACTION = 2

    # Result of the customer service. A single word describing the result
    # of the conversation.
    # Section name: "resolution".
    RESOLUTION = 3

    # Reason for cancellation if the customer requests for a cancellation.
    # "N/A" otherwise.
    # Section name: "reason_for_cancellation".
    REASON_FOR_CANCELLATION = 4

    # "Unsatisfied" or "Satisfied" depending on the customer's feelings at
    # the end of the conversation.
    # Section name: "customer_satisfaction".
    CUSTOMER_SATISFACTION = 5

    # Key entities extracted from the conversation, such as ticket number,
    # order number, dollar amount, etc.
    # Section names are prefixed by "entities/".
    ENTITIES = 6

    # Customer defined sections.
    CUSTOMER_DEFINED = 7
  end
end