Class: Google::Cloud::Dialogflow::V2::GenerateStatelessSummaryResponse

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

Overview

The response message for Conversations.GenerateStatelessSummary.

Defined Under Namespace

Classes: Summary

Instance Attribute Summary collapse

Instance Attribute Details

#context_size::Integer

Returns Number of messages prior to and including latest_message used to compile the suggestion. It may be smaller than the GenerateStatelessSummaryRequest.max_context_size field in the request if there weren't that many messages in the conversation.

Returns:



400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
# File 'proto_docs/google/cloud/dialogflow/v2/conversation.rb', line 400

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

  # Generated summary for a conversation.
  # @!attribute [rw] text
  #   @return [::String]
  #     The summary content that is concatenated into one string.
  # @!attribute [rw] text_sections
  #   @return [::Google::Protobuf::Map{::String => ::String}]
  #     The summary content that is divided into sections. The key is the
  #     section's name and the value is the section's content. There is no
  #     specific format for the key or value.
  # @!attribute [rw] baseline_model_version
  #   @return [::String]
  #     The baseline model version used to generate this summary. It is empty if
  #     a baseline model was not used to generate this summary.
  class Summary
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # @!attribute [rw] key
    #   @return [::String]
    # @!attribute [rw] value
    #   @return [::String]
    class TextSectionsEntry
      include ::Google::Protobuf::MessageExts
      extend ::Google::Protobuf::MessageExts::ClassMethods
    end
  end
end

#latest_message::String

Returns The name of the latest conversation message used as context for compiling suggestion. The format is specific to the user and the names of the messages provided.

Returns:

  • (::String)

    The name of the latest conversation message used as context for compiling suggestion. The format is specific to the user and the names of the messages provided.



400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
# File 'proto_docs/google/cloud/dialogflow/v2/conversation.rb', line 400

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

  # Generated summary for a conversation.
  # @!attribute [rw] text
  #   @return [::String]
  #     The summary content that is concatenated into one string.
  # @!attribute [rw] text_sections
  #   @return [::Google::Protobuf::Map{::String => ::String}]
  #     The summary content that is divided into sections. The key is the
  #     section's name and the value is the section's content. There is no
  #     specific format for the key or value.
  # @!attribute [rw] baseline_model_version
  #   @return [::String]
  #     The baseline model version used to generate this summary. It is empty if
  #     a baseline model was not used to generate this summary.
  class Summary
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # @!attribute [rw] key
    #   @return [::String]
    # @!attribute [rw] value
    #   @return [::String]
    class TextSectionsEntry
      include ::Google::Protobuf::MessageExts
      extend ::Google::Protobuf::MessageExts::ClassMethods
    end
  end
end

#summary::Google::Cloud::Dialogflow::V2::GenerateStatelessSummaryResponse::Summary

Returns Generated summary.



400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
# File 'proto_docs/google/cloud/dialogflow/v2/conversation.rb', line 400

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

  # Generated summary for a conversation.
  # @!attribute [rw] text
  #   @return [::String]
  #     The summary content that is concatenated into one string.
  # @!attribute [rw] text_sections
  #   @return [::Google::Protobuf::Map{::String => ::String}]
  #     The summary content that is divided into sections. The key is the
  #     section's name and the value is the section's content. There is no
  #     specific format for the key or value.
  # @!attribute [rw] baseline_model_version
  #   @return [::String]
  #     The baseline model version used to generate this summary. It is empty if
  #     a baseline model was not used to generate this summary.
  class Summary
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # @!attribute [rw] key
    #   @return [::String]
    # @!attribute [rw] value
    #   @return [::String]
    class TextSectionsEntry
      include ::Google::Protobuf::MessageExts
      extend ::Google::Protobuf::MessageExts::ClassMethods
    end
  end
end